Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Protege-OWL api: method for getting inferred property values

sujaram at barc.gov.in sujaram at barc.gov.in
Tue Oct 14 22:00:10 PDT 2008


Hi Timothy,
Thanks for the help. I tried the method and its working fine..

regards,
Suja


Quoting Timothy Redmond <tredmond at stanford.edu>:

> 
> The owl individual class does not seem to have a method that you can  
> use.  But if you get a ProtegeReasoner as described in [1] then you  
> can ask the question directly to the reasoner using the  
> getRelatedIndividuals method:
> 
>          OWLIndividual i = owlModel.getOWLIndividual("a");
>          OWLObjectProperty p = owlModel.getOWLObjectProperty("p");
>          Collection related = reasoner.getRelatedIndividuals(i, p);
> 
> -Timothy
> 
> [1] http://protegewiki.stanford.edu/index.php/ProtegeReasonerAPI
> 
> On Oct 10, 2008, at 5:17 AM, sujaram at barc.gov.in wrote:
> 
> >
> >
> > Hi all,
> > Does anybody knows a method in Protege-OWL api to get inferred  
> > property values
> > of an individual?
> >
> > thanks n regards,
> > Suja
> >
> > -------------------------------------------------
> >
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
> >
> > Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
> 
> 
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> 
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03 
> 




-------------------------------------------------




More information about the protege-owl mailing list