Hi,

We are experiencing an issue where N-Triples produced by Jena cannot be parsed by Jena. The issue seems to be how the Model outputs a literal like

example:123 @cc:useGuidelines "This is some text."@en;

It stores this triple properly (or seems to in the graph) but when serialized as N-Triples it has both a datatypeUri and a langString and so prints out.

<example:123> <http://web.resource.org/cc/useGuidelines> "This is some text."@en^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString> .

My understanding is that you can _either_ have a language or a datatype but not both. We'd like to retain the language as that seems more important that "langString".

I am unable to see how to alter the LiteralImpl to get a plain literal output instead of a typed one?

Any help is appreciated.

cheers,
jared

--
Jared Whiklo
[email protected]

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to