When I'm doing this, its not working

 OWLClassExpression query = factory.getOWLObjectIntersectionOf(factory.getOWLClass("#belgique", pm))

this one is working:

 reasoner.getInstances(factory.getOWLClass("#belgique", pm),true);

But the thing is that i need to objectintersectionof because i need instances which are of several type of classes

I even tried this:

OWLClass newName = factory.getOWLClass(IRI.create("temp001"));
OWLAxiom definition = factory.getOWLEquivalentClassesAxiom(newName, query);
manager.addAxiom(ontology, definition);

its still not working

asked 15 Feb '13, 08:11

Noor's gravatar image

accept rate: 0%

edited 15 Feb '13, 08:46


This question was asked on the OWL API mailing list, and also answered there.

(15 Feb '13, 17:17) AKSWMember AKSWMember's gravatar image

Yes, I'm sorry for this, I think i posted here first, then i though its better that i post it there

(15 Feb '13, 17:34) Noor Noor's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Feb '13, 08:11

question was seen: 1,123 times

last updated: 15 Feb '13, 17:34