Search Mailing List Archives
[p4-feedback] How to define the intersection of two classes in Java?
kaljurand at gmail.com
Mon Apr 27 13:15:44 PDT 2009
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.
More information about the p4-feedback