|
i have an class X with rdfs:label Y i want to select every object with the type X with X having the label Y
for example with Y = "albuns" and ns:Album rdfs:label "albuns" . i want to select all objects with rdf:type ns:Album i dont see the reason why this wont work. |


There are many reasons it might not work. Y might contain quotation marks. You might be conflating plain literals with xsd:string typed literals in an RDF 1.0 system. You might not be querying the right graphs / RDF dataset.
If you'd like a more helpful answer, please edit your question to include sample data (preferably in turtle) along with a complete query that is failing against that data.
Lee
Duplicated : http://stackoverflow.com/questions/14229428/sparql-select-with-custom-reftype-class