I'm making an automatic instanctiation of an ontology. let says
During the instanciation, I used can create instances of the class
How could I add the fact that
I know that a reasoner (Pellet for example) could help here but. but in my case there is a huge number of individuals to instanciate, so the reasoning step become too long for me (about more than 10 hours)
thanks for any help !
I don't exactly understand the problem, and in my opinion such framework related questions should be asked on the corresponding mailing list(if such exist) but anyway:
Every time you create an individual you would also have to assert it to all superclasses, which I guess you could get by inference. Maybe you can use the method
Depending on your model size, using a reasonner may be very time consuming. For some of my developments, I had to avoid using a reasonner. Instead of that, I have run a SPARQL CONSTRUCT query to manage adding the new "infered" triples.
like @AKSWMember said, if your need is only to assert that an individual from FEMALE is also an individual of PERSON, you could assert 2 rdf:type to the same ressource.
answered 09 Nov '12, 05:11