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 and Property Chains

Timothy Redmond tredmond at stanford.edu
Mon Aug 9 20:51:53 PDT 2010


Your example uses the Protege 3 OWL API.   Protege 3 only supports OWL 
1.0 and property chains can't be defined in OWL 1.0.  If you want to 
work with Property chains you need to use Protege 4.1 and the OWL API 
(owlapi.sourceforge.net).

-Timothy


On 08/09/2010 06:00 PM, Rachael Richardson wrote:
> I am familiar with the use of property chains through the protege gui,
> but I cannot figure out how to create one using the API.
>
> given this toy example:
>
> OWLNamedClass Man = owlModel.createOWLNamedClass("Man");
> OWLObjectProperty hasBrother = owlModel.createOWLObjectProperty("hasBrother");
> hasBrother.setRange(Man);
> OWLObjectProperty hasFather = owlModel.createOWLObjectProperty("hasFather");
> hasFather.setRange(Man);
>
> how can I create an OWLObjectProperty hasUncle which is a composition
> of hasFather and hasBrother?
>
> Thanks,
> Rachael
> _______________________________________________
> 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