Extend the context file to get better RDF coverage#234
Conversation
- remove nulls from metadata document first as it would break the test.
…context' into feature-232-extend-context
|
Following ontology classes appear in the oekg:
|
|
subject (General Keys) context: |
|
This is a bit experimental as the container feature was added to the json-ld specification not too long ago. The decision about using “nest” or “container” for properties that are used to group other properties is not 100% settled yet. For this reason, I have introduced the container for groups for which I have found a term, and as nest for groups for which I could not find a term. As far as I understand it, the “container” can help to improve the graph structure derived from the json-ld mapping in context using a parser. I would like to keep this for future discussions. It's valid and doesn't seem to interfere with any other functionality so far. EDIT: Another constrain for how to decide between
|
Summary of the discussion
We want to provide the oemetadata in an RDF using json-ld. We already provide a simple / basic context.json file but we want to attempt to cover 100% of the oemetadata properties. As it is not always easy to find matching ontology terms to map the properties. 100% coverage might not be feasible.
Type of change (CHANGELOG.md)
Added
@contextwith the example.json as valid JSON-LD (#234)Changed
Workflow checklist
Automation
Closes #232
PR-Assignee
Reviewer