Including an ontology (file) in an ontology (project)

18 views
Skip to first unread message

Adam Kimball

unread,
Feb 26, 2023, 1:34:10 PM2/26/23
to TopBraid Suite Users
I'm using Studio and trying to import a file into an ontology project.  I expect to see the classes defined in the file, when I view the ontology but I don't..  My use case is that I want to annotate the ontology with new triples but do so in a manner the underlying source stays unchanged.  

Steps
  1. Given a hypothetical file onto.ttl that exists in Files.  It is a very basic OWL ontology with one class.
  2. Go create an ontology project, "onto2"
  3. Go to Settings->Include and link in onto.ttl from #1
  4. Go to ontology, no new classes.
Now, if I Import that onto.ttl class, I get all the classes showing as I would expect.  What's the difference between Include and Import for this behavior?

I hope all are well,
Adam

David Price

unread,
Feb 27, 2023, 2:29:04 AM2/27/23
to topbrai...@googlegroups.com
I’d guess the file is not in your workspace or you need to refresh your workspace so EDG sees it. May need to stop and start Studio for example. 

Cheers,
David

On 26 Feb 2023, at 18:34, Adam Kimball <adamfk...@gmail.com> wrote:

I'm using Studio and trying to import a file into an ontology project.  I expect to see the classes defined in the file, when I view the ontology but I don't..  My use case is that I want to annotate the ontology with new triples but do so in a manner the underlying source stays unchanged.  
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5a1ece80-c7af-4081-b7f2-6ff4c1a1f732n%40googlegroups.com.

Holger Knublauch

unread,
Feb 27, 2023, 2:58:35 AM2/27/23
to topbrai...@googlegroups.com
Also, some OWL files don’t declare ?c rdfs:subClassOf owl:Thing explicitly, and those classes would not be reachable from the root class.

Holger


Reply all
Reply to author
Forward
0 new messages