R
R
RockyMotion2021-04-14 13:59:26
SPARQL
RockyMotion, 2021-04-14 13:59:26

Why is this SPARQL query returning an empty result?

I am learning to make queries, I form a query in Protege on SPARQL

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT * WHERE {
?a rdfs:SubClassOf <http://www.semanticweb.org/ugrobug/ontologies/2021/2/untitled-ontology-16/Rock>;
}


Gives an empty result. I open the ontology and there is a record.

<SubClassOf>
        <Class IRI="#Symphonic_rock"/>
        <Class IRI="#Rock"/>
    </SubClassOf>


Why doesn't it work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question