Owlready
Login
Register
Search
everywhere
only in this topic
Advanced Search
Searching multiiple ontologies
Classic
List
Threaded
♦
♦
Locked
2 messages
Options
Loading...
Subscribe via email
Move topic
Pin topic
Unpin topic
Lock topic
Unlock topic
Delete this topic
Delete this topic
Change title and meta tags
Embed post
Permalink
msf
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Feb 12, 2021; 12:26am
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
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Feb 15, 2021; 11:10am
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