No, I do not ... I do not mean that. Those are API for working with ontologies, I refer to those known as OBDA Framework (data access based on ontology). I need to use one of them to manipulate an ontology with a lot of instances. The API you mention become ineffective to the extent that grow the number of instances in the ontology, what is recommended is to store the instances in a database and let the taxonomy and the rest of the components in the ontology.
OK. I am facing the same problem. I am trying to use graph database for this purpose. You might want to explore tools like Sesame, Neo4j, and InfiniteGraph and query ontologies using SPARQL.