I'm trying to run SPARQL query against pizza ontology(http://www.co-
ode.org/ontologies/pizza/pizza.owl#) in TBC ME
, but it returns empty result. What am I missing?

PREFIX rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:  <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd:   <http://www.w3.org/2001/XMLSchema#>
PREFIX owl:   <http://www.w3.org/2000/07/owl#>
PREFIX  p:    <http://www.co-ode.org/ontologies/pizza/pizza.owl#>
SELECT DISTINCT  *
WHERE
 { ?targetPizza    rdfs:subClassOf   _:pizza .
   _:pizza  rdf:type              owl:Restriction ;
         owl:onProperty        p:hasTopping ;
         owl:someValuesFrom    _:targetTopping .
   _:targetTopping  owl:intersectionOf (p:PizzaTopping _:hotTopping) .
   _:hotTopping  rdf:type              owl:Restriction ;
         owl:onProperty        p:hasSpiciness ;
         owl:someValueFrom p:Hot .
}

Thank you,

Alex Pavlov

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to