extraction-framework
extraction-framework copied to clipboard
wrong use of rdf:langString as datatype
Consider this query
select * {
?x dbp:shortName ?y
} limit 10
It returns eg
dbr:Aluminium_Al-Mahdi_Hormozgan_VC "Aluminium"^^rdf:langString
That is nok: a string becomes langString by virtue of having a language tag, so this datatype should not be used directly. The correct literal would be "Aluminium"@en.
It's ok to declare the property to have range rdf:langString, which however is not done, as you can check with
select * {
dbp:shortName ?p ?x
}
Or with
curl -L -Haccept:application/rdf+xml http://dbpedia.org/property/shortName
Not sure how this is related to #187.