Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify extending/chaining JSON-LD contexts #45

Open
apirogov opened this issue Sep 15, 2022 · 0 comments
Open

Simplify extending/chaining JSON-LD contexts #45

apirogov opened this issue Sep 15, 2022 · 0 comments
Labels
enhancement New feature or request internals Technical and subtle issues users are (usually) not aware of semantics Related to semantic-based features, e.g. JSON-LD, OWL, RDF UX Features and tools improving overall experience and practicality of Metador framework

Comments

@apirogov
Copy link
Collaborator

Currently, when extending a semantic schema, the @context must be completely overwritten to modify it.
Might be useful to have a "smart" helper that can extend an existing context.

Apparently one can simply use a list of context objects. What is the semantics of that in JSON-LD? Is there an order? What happens if definitions conflict?

If the default semantics is compatible with "overriding", we could use that. Otherwise it would be quite some work to support so we rather not do it (we don't resolve external context URLs so these are opaque).

Maybe its not such a bad idea to force people downloading the JSON-LD context and maybe even introducing a schema for "contexts" (basically a dict wrapper).

This needs much more thought.

@apirogov apirogov added enhancement New feature or request discussion and removed discussion labels Sep 15, 2022
@apirogov apirogov added UX Features and tools improving overall experience and practicality of Metador framework internals Technical and subtle issues users are (usually) not aware of semantics Related to semantic-based features, e.g. JSON-LD, OWL, RDF labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internals Technical and subtle issues users are (usually) not aware of semantics Related to semantic-based features, e.g. JSON-LD, OWL, RDF UX Features and tools improving overall experience and practicality of Metador framework
Projects
None yet
Development

No branches or pull requests

1 participant