PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
select * where {
?x ?p ?o
filter(isLiteral(?o))
bind(datatype(?o) as ?dt)
filter(?dt not in (xsd:string, rdf:langString, xsd:date, xsd:dateTime))
}
It turns out that 25 definitions are marked as rdf:XMLLiteral.
But they don't include any XML markup, so we should use the simpler datatype xsd:string.
We checked literals for unusual datatypes:
It turns out that 25 definitions are marked as
rdf:XMLLiteral
. But they don't include any XML markup, so we should use the simpler datatypexsd:string
.