Search Mailing List Archives
[protege-discussion] SPARQL and Object Property
jayadianti herlina
herlinajayadianti at gmail.com
Fri Jun 1 05:55:38 PDT 2012
Hi expert
I need your help.
I have a problem in connection between classes and object properties.
I create 2 classes "People" and "Food"
and an object property "hasdailymenu".
its work perfectly in DL but I still have a difficulties in SPARQL.
PREFIX rdf: <http://www.semanticweb.org/CO.owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?People ?Food
WHERE { ?People owl:onProperty :hasdailymenu.
....}
help me.
Sincerely
Lina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20120601/4ab2a6bb/attachment.html>
More information about the protege-discussion
mailing list