You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
Entities are specified by using <entity> or prefix:entity. When a prefix is used, no URI is associated with it, and the prefix itself is used for sorting etc. This should be updated to match Sparql, to allow URIs to be associated with prefixes, and to handle sorting correctly. How this ends up encoded in the eventual KV store key needs some thought as well.
The text was updated successfully, but these errors were encountered:
It seems to be standard for prefix:entity to be expanded to a full URI for storage in SPARQL engines. Users can define prefixes however they like in an input .ttl file, in general an engine would have to expand to URIs at insert time.
Upsides to expanding:
a. Common implementation approach / the standard assumes (but does not require) QNames are stored as expanded URIs.
b. Versioning can be handled by just changing a prefix definition in a query or .ttl file. Not something you see people do very often AFAICT.
c. Easier to support N-Quads files and the like where prefixes are already expanded - or .ttl files that don't consistently use prefixes.
Some downsides:
Not being able to get short URIs out easily without post-processing.
Having no enforcement of standard prefixes for a given graph.
Every query and input file needs to specify all prefixes.
More space/time cost for the engine and all downstream tasks.
More complexity for downstream clients - they may need to know prefixes to do any URI matching unless they use an RDF helper library.
In balance I wonder whether it's worth deviating from standard practice here.
Entities are specified by using
<entity>
orprefix:entity
. When a prefix is used, no URI is associated with it, and the prefix itself is used for sorting etc. This should be updated to match Sparql, to allow URIs to be associated with prefixes, and to handle sorting correctly. How this ends up encoded in the eventual KV store key needs some thought as well.The text was updated successfully, but these errors were encountered: