Skip to content

Query with base namespace in JSON-LD Context #1131

Answered by rubensworks
anch-anch asked this question in Q&A
Discussion options

You must be logged in to vote

Prefixes in queries and prefixes in datasets are distinct, so they can not be used interchangeably.
While what you suggest could be implemented, I would recommend against this, as this will cause issues with federated queries, since different RDF files may define clashing prefixes, which would cause issues during querying.
Furthermore, this would hard-couple your queries to prefix definitions in files, which means that if the file changes its prefixes (or its RDF serialization), without making any actual semantic changes, the query would fail.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anch-anch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants