-
Notifications
You must be signed in to change notification settings - Fork 1
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
Proposal: prefix declarations in Jelly-RDF #12
Labels
new protocol feature
Discussion about a new feature in the Jelly protocol
Comments
This was referenced Nov 22, 2024
Ostrzyciel
added
the
new protocol feature
Discussion about a new feature in the Jelly protocol
label
Nov 22, 2024
Maybe call this "namespace declarations" instead, to avoid confusion with the prefix lookup table. The "namespace" terminology is already used by RDF4J and rdflib (but not Jena), so it would make sense. |
Ostrzyciel
added a commit
that referenced
this issue
Dec 19, 2024
Ostrzyciel
added a commit
that referenced
this issue
Dec 19, 2024
* Implement RdfNamespaceDeclaration Issue: #12
Ostrzyciel
added a commit
to Jelly-RDF/jelly-rdf.github.io
that referenced
this issue
Dec 20, 2024
Ostrzyciel
added a commit
to Jelly-RDF/jelly-jvm
that referenced
this issue
Dec 21, 2024
Implementation of the new Jelly 1.1.0 feature, namespace declarations: Jelly-RDF/jelly-protobuf#12 Implemented: core API, Jena & RDF4J implementation, Jena RIOT & RDF4J Rio integrations, integration tests. Not implemented: Pekko Streams API. This can be tackled in a separate PR.
All done, shipped in Jelly-JVM 2.4.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many RDF serialization formats (e.g., Turtle, RDF/XML, some binary formats) have a way to preserve named prefix declarations. For example, in Turtle:
This is currently not possible in Jelly-RDF. Although we do have the prefix lookup table, this is not the same thing as a prefix declaration. Prefixes in the lookup table are arbitrary and only are there to improve the compression ratio, they also don't have names.
This proposal is to introduce such a functionality to Jelly-RDF.
Scope:
RdfStreamRow
type:RdfPrefixDeclaration
name
– string, short name of the prefix. This probably SHOULD correspond to the PN_PREFIX production in Turtle (colon not included!).value
–RdfIri
messageImplementation:
rdf.proto
with the new message. Implement RdfNamespaceDeclaration #132
.Motivation and related issues:
The text was updated successfully, but these errors were encountered: