W3C home > Mailing lists > Public > semantic-web@w3.org > July 2006

queries in owl

From: Wojciech Gorka <wgorka@iss.pl>
Date: Tue, 25 Jul 2006 09:46:40 +0200
Message-Id: <s4c5e885.063@jowisz.iss.pl>
To: <semantic-web@w3.org>

I am new to semantic web and owl. I am trying to get some information
owl ontology.
It is clear how to get information about subclasses of other classes.
But in
owl is also possibility to use ObjectProperties and put some
restrictions on
The question is how to use them in queries (not in building new classes
ontology)? For example (using pizza ontology) I would like to get all
pizza's that have TomatoTopping. To do this (I think) I should use
ObjectProperties somehow (hasTopping property). Expected result would
be all
pizza's that have TomatoTopping but also TomatoCheesyTopping. I know
that I
can create some class with that kind of restriction (in pizza ontology
are some pizza's with that topping). But how to express proper query
reasoner with that kind of restriction? Is it possible to do this
SPARQL and Pellet? Or maybe I make a mistake thinking in that manner?

Sorry for maybe stupid question, but I just can't find strict answer

Received on Tuesday, 25 July 2006 20:31:11 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:44:57 UTC