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    

[p4-feedback] How to define the intersection of two classes in Java?

Kaarel Kaljurand kaljurand at gmail.com
Mon Apr 27 13:15:44 PDT 2009


Hi,

On Mon, Apr 27, 2009 at 21:47, Patrick McCrae
<patrick.mccrae at informatik.uni-hamburg.de> wrote:
>
> Sorry, this is a rather basic question ... but I still could not find out
> how to do it: I simply want to create an OWLClass concept which is the
> intersection of two OWLClasses a and b.

This is actually an OWL-API question.

An intersection is not an OWLClass, but an OWLDescription.

Something like this:

OWLDescription int = mngr.getOWLDataFactory().getOWLObjectIntersectionOf(a, b);

where mngr is an OWLModelManager.

--
kaarel



More information about the p4-feedback mailing list