Im running a sparql query in a file that contains
<User rdf:about="#RJ"> <hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string">RJ</hasName> </User>
I want to return only the name ie 'RJ', but when I enter my query
SELECT ?name FROM <example.com> WHERE { assign:RJ assign:hasName ?name . }
where assign is the correct namespace, I return this:
"RJ" ^^<http://www.w3.org/2001/XMLSchema
Does anyone have any tips on how to remove the xml schema type for sparql noob?
early
xsd semantic-web rdf owl sparql
allyLogan
source share