I have triples that have mixed typed and untyped literals for the same
predicate. I am trying to write a SPARQL query to select both within
the context of ARQ.
I was looking around and found a discussion on the subject:
http://answers.semanticweb.com/questions/16864/matching-typeduntyped-literals-in-sparql-joins
where Andy says, "In RDF 1.1, |:s :p "foo"| and |:s :p
"foo"^^xsd:String| are the same triple."
but I am trying to reconcile this with:
http://www.w3.org/TR/rdf11-concepts/#dfn-lexical-form
"Literal equality: Two literals are equal if and only if the two lexical
forms <http://www.w3.org/TR/rdf11-concepts/#dfn-lexical-form>, the two
datatype IRIs <http://www.w3.org/TR/rdf11-concepts/#dfn-datatype-iri>,
and the two language tags
<http://www.w3.org/TR/rdf11-concepts/#dfn-language-tag> (if any) compare
equal, character by character."
The two statements seem to be in conflict or am I not understanding
something here? - Erich
Erich Bremer
http://www.ebremer.com