gbv / bartoc.org

Source code of BARTOC.org user interface
https://bartoc.org/
23 stars 10 forks source link

Allow to add search links to vocabularies #76

Open nichtich opened 3 years ago

nichtich commented 3 years ago

These are best managed in BARTOC instead of Cocoda. See https://github.com/gbv/cocoda/issues/565

nichtich commented 3 years ago

The data structure is:

Open question which JSKOS field to put them in.

nichtich commented 3 years ago

A search link is basically JSKOS Occurrence with prefLabel in database and the url filled out as template with {notation} or {uri}.

In addition to links based on URL templates, we can also support Occurrences API. The current API is not formally specified query parameters are:

BARTOC could also aggregate search links into an occurrences API.

For cataloging search links we need

and/or

search links for K10plus can be determined automatically via CQL key.

nichtich commented 2 years ago

Maybe better start by managing search links in a repository of its own to facilitate inclusion in BARTOC, Cocoda, Occurrence API and other applications.

nichtich commented 2 years ago

See https://github.com/gbv/occurrences-api/blob/main/links.json for a start.