@netwerk-digitaal-erfgoed/network-of-terms-catalog
TypeScript icon, indicating that this package has built-in type declarations

9.2.0 • Public • Published

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:url is 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:inLanguage is a required property;
  • schema:mainEntityOfPage is a required property;
  • each distribution has two or more schema:potentialActions:

The queries directory contains SPARQL queries for retrieving terms from the datasets. There are two types of queries:

Contributing

Adding a dataset

  • Create a your-dataset.jsonld file in the catalog/datasets directory and add a description.
  • Create a your-dataset.rq file in the queries/search directory and add your SPARQL search query. A SPARQL lookup query goes into the queries/lookup directory.
    • If your SPARQL server supports fulltext search relevance scores, you can return them as vrank:simpleRank values to have search results ordered by rank instead of the default, alphabetical order.
  • 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.

Readme

Keywords

Package Sidebar

Install

npm i @netwerk-digitaal-erfgoed/network-of-terms-catalog

Weekly Downloads

33

Version

9.2.0

License

EUPL-1.2

Unpacked Size

180 kB

Total Files

106

Last publish

Collaborators

  • mightymax
  • ddeboer