Subjects and Occurrences
This API can be used to query subjects and occurrences from controlled vocabularies used to describe records in K10plus catalogue. An occurrence gives the number of times a selected concept is used for subject indexing in K10plus database records. Co-occurrences give the number for combination of concepts so they can be used as mapping recommendations. This service allows to query (co-)occurrences of selected vocabularies (RVK, BK, DDC...) from K10plus database. The results are partly based on a database snapshot.
API
Endpoints
- /subjects to get subjects of a given record (query parameters
record
and optionalscheme
) - /occurrences to get occurrences for given concept (query parameter
member
), co-occurrences for given concept and vocabularies (parametersmember
andscheme
), or of given document (query parameterrecord
). - /voc lists supported vocabularies
- /databases lists supported databases
Sample Queryies
- occurrences of RVK DG 9000
- co-occurrences of RVK DG 9000 in DDC
- co-occurrences of RVK DG 9000 in all vocabularies
- subjects of a record (all vocabularies)
- subjects of a record (selected vocabulary)
- records of a subject
See also API documentation and implementation for details. Extension and a web interface to use the API are planned (see #19).