@netwerk-digitaal-erfgoed/network-of-terms-catalog
v10.19.14
Published
Catalog of Network of Terms datasets
Downloads
742
Readme
Network of Terms Catalog
This is the catalog of terminology sources that can be queried through the Network of Terms.
Data model
Each terminology source is modelled as a Schema.org Dataset. The catalog directory contains all datasets.
Most of the dataset’s properties match the NDE Requirements for Datasets, with the following additions specific to the Network of Terms:
schema:urlis used for the HTTP URI prefix of terms in the dataset, e.g.http://vocab.getty.edu/aat/for Getty resources. This prefix is needed when clients look up terms by their URI in the Network of Terms: the Network then has to know which source to consult to retrieve the term;schema:inLanguageis a required property;schema:genreis a required property, with values restricted to the list of Termennetwerk onderwerpen;schema:mainEntityOfPageis a required property;- each distribution has two or more
schema:potentialActions:- a
schema:SearchActionand aschema:FindAction, both with aschema:queryproperty that points to the queries directory; - optionally, a number of
schema:Actions that configure the features that the Network of Terms provides for the distribution, such as Reconciliation.
- a
The queries directory contains SPARQL queries for retrieving terms from the datasets. There are two types of queries:
- search queries find terms matching a textual string query input;
- lookup queries retrieve a single term based on its URI.
Contributing
Adding a dataset
- Create a
your-dataset.jsonldfile in thecatalog/datasetsdirectory and add a description. - Create a
your-dataset.rqfile in thequeries/searchdirectory and add your SPARQL search query. A SPARQL lookup query goes into thequeries/lookupdirectory.- If your SPARQL server supports fulltext search relevance scores, you can return them as
vrank:simpleRankvalues to have search results ordered by rank instead of the default, alphabetical order.
- If your SPARQL server supports fulltext search relevance scores, you can return them as
- Run the tests to make sure your dataset description conforms to the dataset SHACL.
- To try your queries locally, you can run the GraphQL API with your catalog.
