Owlready
Search
everywhere
only in this topic
Advanced Search
Searching multiiple ontologies
Classic
List
Threaded
♦
♦
Locked
2 messages
msf
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Searching multiiple ontologies
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.
Jiba
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Searching multiiple ontologies
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
Free forum by Nabble
Edit this page