On 26/04/15 19:35, Claude Warren wrote:
Given the following triples
<a> <P> 'simple'
<a> <P> 'simple'^^xsd:string

A couple of questions:
1) are they the same in Jena3 -- I seem to recall that they should be.

Yes. They are the same term, same triple.

RDF 1.1

2) assuming they are inserted in that order should the object value be
'simple' or 'simple'^^xsd:string?

Order does not matter.

It's ("it should be") a literal with lexical form "simple" and datatype xsd:string however you do it.

NodeFactory.createLiteral("simple") will

and ^^rdf:langString if @langTag present.

Output should use nice forms (even in N-triples).

        Andy


Claude


Reply via email to