Search Mailing List Archives
[protege-owl] Protege-OWL API and queries
tredmond at stanford.edu
Fri Feb 24 15:07:26 PST 2012
> I just found a solution for my problem by using "getPropertyValues". But I
> still need your help to be able to retrieve individuals using transitive
> For instance,
> A -olderThan->B
> When I use "getPropertyValues" I can only get direct relationships ... It's
> impossible for me to get for instance that A-olderThan->C.
So how you do this depends on a couple of things. First if you are
interested only in asserted knowledge and you are going to do the
transitive closure, then you will probably have to roll your own
routine. Fortunately this is not too difficult (a couple of very short
If you are using the Manchester OWL api (used by Protege 4) then there
is documentation on how to use a reasoner here . However if you are
using the Manchester OWL api in the context of a Protege 4 plugin, then
there is some documentation on how to get the Protege reasoner here .
Finally if you are using the Protege 3 OWL api then there is some
documentation on how to use a reasoner here .
On 2/24/12 1:48 PM, ChristianRoser wrote:
> Well it doesn't matter ... the objective is to be able to do it.
> So if I understand, I advise me to use a reasonner such as Pellet. Could you
> give me a link for a tutorial for my first steps.
> Thanks for your answer.
> View this message in context: http://protege-ontology-editor-knowledge-acquisition-system.136.n4.nabble.com/Protege-OWL-API-and-queries-tp4410463p4418718.html
> Sent from the Protege OWL mailing list archive at Nabble.com.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
More information about the protege-owl