Open william-vw opened 6 days ago
Apache Jena as released supports RDF-Star CG, not RDF 1.2. There is no "pretty" output for Turtle-star/CG for annotations.
RDF/XML input or output is not supported (or for that matter defined).
RDF-Star CG is "experimental" and may be withdrawn at any time. It will be withdrawn in favour of RDF 1.2. RDF 1.2 is not compatible with RDF-star CG.
FWIW It also does not work in RDF 1.2 (nor is it defined).
@william-vw - you know the current state but for the audience:
A critical decision that will affect RDF/XML-Star is whether triple terms are allowed in the subject position or not.
If the WG decides that triple terms are only allowed in the object position, then parseType="triple"
is a possible design otherwise a significant change in RDF/XML will be needed for compound elements as subjects and hence may not happen.
Version
5.1.0
What happened?
Reading rdf-star code into a
Model
and subsequently writing it to an output stream using the default format (RDF/XML
) causes an error. It does not cause an error when writing toTURTLE
orN-TRIPLES
.If
RDF/XML
it is not supported as an output format for rdf-star, then a more suitable exception could be thrown. I imagine some people (even those who know better) will do this by accident now and again as it is the default option.Relevant output and stacktrace
Code:
Stack trace:
Are you interested in making a pull request?
None