|
My use case is that I have a large number of individuals who each have a list of binary features (stored in a classical data table), each feature indicating whether they belong in a particular class from the ontology or its complement. I need to classify the intersection classes determined by these features for each individual, one at a time.
I don't have any relationships between individuals, so I see no need to instantiate them all in the ontology at the same time, improving computational efficiency.
Is there a "best" way to do this in Owlready, avoiding ideally both the ontology blow-up and any reasoner overhead?
Can I instantiate a class, sync the reasoner, and then remove the class from the ontology again?
Or am I worried about the ontology blowing up for no reason?
|