-
Notifications
You must be signed in to change notification settings - Fork 7
How context.jsonld is generated
Pascal Christoph edited this page Sep 25, 2023
·
2 revisions
lobid-resources uses http://lobid.org/resources/context.jsonld as context for the json to enable it to be RDF.
This JSON-LD context is build using the Etikett Maker which loads the files from src/main/resources/labels/ directory and generates from their content the ./web/conf/context.jsonld (i.e. the JSON-LD context following some conventions, namely using name
instead of label
makes the labels exported to context.json.
The file ./web/conf/context.jsonld is commited to the repo to have nice diffs but should never be manipulated directly.
See https://github.com/hbz/lobid-resources/issues/1119 and https://github.com/hbz/lobid-resources/pull/899 for more background.