jena icon indicating copy to clipboard operation
jena copied to clipboard

Support RDF 1.2

Open afs opened this issue 1 year ago • 2 comments

RDF 1.2 includes:

  • Triple terms
  • Reification by rdf:refies (and other properties)

This is not the RDF-star CG report but the way the Working Group has structured the changes means that the impact on Turtle is significantly reduced.

As well as RDF-star:

  • Errata for RDF 1.2 and SPARQL 1.1
  • Initial text direction, a new facet of an RDF term: only for language strings: example"قطة"@ar--rlt
  • Defined canonical output of N-triples and N-quads (for RDF Canonicalization)
  • rdf:JSON datatype as part of core RDF

RDF 1.2 / SPARQL 1.2 is compatible with RDF 1.1 / SPARQL 1.1.

afs avatar Oct 28 '24 11:10 afs

Could we get a TL;DR on what is going on regarding RDF 1.2 vs RDF-star?

namedgraph avatar Oct 28 '24 11:10 namedgraph

Change the ModelAPI to reflect the WG decision on triple terms (they are only allowed in the object position). This means they can not be treated as a flavour of Resource by the Model API.

  • Create a new kind of RDFNode -- StatementTerm -- as the Model API representation of "triple terms".
  • Add statement reifier support (RDF 1.2 style)

afs avatar May 21 '25 14:05 afs