Searching multiiple ontologies

classic Classic list List threaded Threaded
2 messages Options
msf
Reply | Threaded
Open this post in threaded view
|

Searching multiiple ontologies

msf
If I have loaded multiple ontologies, is there a simple way to search across all of them without having to perform a search of each ontology separately? For example, I am looking for all instances of the same class across all ontologies.
Reply | Threaded
Open this post in threaded view
|

Re: Searching multiiple ontologies

Jiba
Administrator
Hi,

You can use default_world.search() for searching all loaded/definied ontologies, and your_ontology.search() to search only inside a given ontology.

You may also use Class.instances() to get the instance of a class.

Jiba