How can I best link my TBC ontology to EDG?
After changes via TBC I like to do some refresh in EDG (=clear+re-import).
I thought I’ll do:
# baseURI: http://knowledge.tno.nl/alim-import
# imports: http://knowledge.tno.nl/alim
@prefix : <http://knowledge.tno.nl/alim#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://knowledge.tno.nl/alim-import>
a owl:Ontology ;
owl:imports <http://knowledge.tno.nl/alim> ;
owl:versionInfo "Created with TopBraid Composer" ;
.
Import alim-import one time.
So I can just do reimport...but that does not update the contents it seems.
Thx for the right approach,
Michel
|
|
|||||||||||||||||
|
|
|||||||||||||||||
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.
--
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/4ae7a312b3e145a492534d0bce0d34e9%40tno.nl.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5F6620DA-2CC0-4AED-A1F4-45B886DB4ED6%40topquadrant.com.
On Jan 29, 2020, at 11:55 AM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
I run edg from tbc locally.My ontology has also data.
Changes via tbc seem not automatic in edg view...but i will retest/check….
Maybe my procedure is wrong...i go to application and start edg...than create new ontology an import rdf from work space…
Maybe i should select ont in tbc and then somthing like open in edg?
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/708b775f-1a25-4ce9-946a-9b500d679e23%40email.android.com.
On 29 Jan 2020, at 16:55, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
I run edg from tbc locally.My ontology has also data.Changes via tbc seem not automatic in edg view...but i will retest/check....
Maybe my procedure is wrong...i go to application and start edg...than create new ontology an import rdf from work space…
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/708b775f-1a25-4ce9-946a-9b500d679e23%40email.android.com.
On Jan 29, 2020, at 11:55 AM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
I run edg from tbc locally.
My ontology has also data.
Changes via tbc seem not automatic in edg view...but i will retest/check….
If your ontology in EDG has owl:imports to a local file, any changes to the file will show up in that ontology automatically.
> ok, but if I create an ontology in edg. Then import an rdffile from workspace. And this rdf changes because of editing via tbc.
> will the ontology in edg than also change?
> (I could remember a trick I think from holger that was making an empty evn ontology that imported the real stuff...so I thought that could be related...but it did not work this time...)
The use case for this is files are expected to be pretty static and remain as files because it is important that they are static. For example, pre-built EDG ontologies are shipped as files in the workspace.
What are you doing in EDG if you are editing in TBC
> edg is way more user-friendly to show thinks to non-LD people.....
> so I use it as a pub.medium
Maybe i should select ont in tbc and then somthing like open in edg?
No, you can’t open a file in EDG. EDG works with data that is in the triple store.
>sorry I meant: can I open a file IN TBC with function “open in EDG” ...
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/958790A3-E1BC-4EB8-A91B-46703CA821D8%40topquadrant.com.
That was it (includes...as a import by reference....)
Great thx
|
|
|
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/D4D70E19-BD2F-46E9-9817-B90B2BC502B0%40topquadrant.com.
What surprised me actually: edg is already updated without a tbc workspace refresh en even without a save in TBC!!
(add instance in tbc, refresh in browser and its there!)
😊
|
|
|
| |||||||||
Verzonden: Wednesday, January 29, 2020 6:57 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] tight link tbc > edg ?
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/D4D70E19-BD2F-46E9-9817-B90B2BC502B0%40topquadrant.com.
Still some unexpected behaviour.
I include an ontology called alim.ttl that import another ontology.
The classes of alim that are subclasses of classes in the imported do not appear.
So in tbc I see alim as:

So bs stuff is imported and alim adds subclasses and instances.
Now edg shows having alim included):

No Person on the left (but instances of Person are shown on the right...).
Tips welcome again, Michel
Ps small other thing: when this ontology is cleared,”alim:Person” stays as column name on the right...
|
|
|
| |||||||||
Verzonden: Wednesday, January 29, 2020 6:57 PM
Aan: topbrai...@googlegroups.com
Onderwerp: Re: [topbraid-users] tight link tbc > edg ?
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/D4D70E19-BD2F-46E9-9817-B90B2BC502B0%40topquadrant.com.

On Jan 29, 2020, at 2:28 PM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
Still some unexpected behaviour.I include an ontology called alim.ttl that import another ontology.The classes of alim that are subclasses of classes in the imported do not appear.So in tbc I see alim as:
<image001.png>
So bs stuff is imported and alim adds subclasses and instances.Now edg shows having alim included):
<image003.jpg>
No Person on the left (but instances of Person are shown on the right...).Tips welcome again, MichelPs small other thing: when this ontology is cleared,”alim:Person” stays as column name on the right...
Dr. ir. H.M. (Michel) Böhms
Senior Data Scientist
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/07ad6a08e5d8482887c356e83b5ba074%40tno.nl.
> yes, screenshot tbc:

The only reason it would not appear in the class tree is if it has no parent that connects you to the root of the tree. By default, the root is owl:Thing. You can change the root on the Manage tab.
> so Person is subClassOf bs:PhysicalObject is subClassOf owl:Thing, so it is no orphan
TBC will generate rdfs:subClassOf owl:Thing triples for such orphan classes. It will not assert a triple, but rather hold it in the inference graph for the session. TBC is a single user tool. EDG is a multi-user tool, so it does not have per user session inference graphs. This would be too expensive in the multi-user scenario.
Instead, EDG will, on import of RDF, detect such orphan classes and insert rdfs:subClassOf owl:Thing for owl:Class and rdfs:subClassOf rdfs:Resource for rdfs:Class. This will happen only on Import RDF. If you simply include (using owl:imports) a file that contains a class that has no parent class, you will not see it in the tree. You can still navigate to it using one of the navigate options:

And you will be able to see this class in the Class List panel which does not use the hierarchy.
> Person can also not be found that we (navigate via label)
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/211EBF36-4B95-40B3-B243-37BD77691E89%40topquadrant.com.
On Jan 29, 2020, at 3:28 PM, 'Bohms, H.M. (Michel)' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:
> yes, screenshot tbc:
<image005.jpg>
The only reason it would not appear in the class tree is if it has no parent that connects you to the root of the tree. By default, the root is owl:Thing. You can change the root on the Manage tab.> so Person is subClassOf bs:PhysicalObject is subClassOf owl:Thing, so it is no orphanTBC will generate rdfs:subClassOf owl:Thing triples for such orphan classes. It will not assert a triple, but rather hold it in the inference graph for the session. TBC is a single user tool. EDG is a multi-user tool, so it does not have per user session inference graphs. This would be too expensive in the multi-user scenario.Instead, EDG will, on import of RDF, detect such orphan classes and insert rdfs:subClassOf owl:Thing for owl:Class and rdfs:subClassOf rdfs:Resource for rdfs:Class. This will happen only on Import RDF. If you simply include (using owl:imports) a file that contains a class that has no parent class, you will not see it in the tree. You can still navigate to it using one of the navigate options:
<image006.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/90653ee63acc4aef8f5abb5c72091de9%40tno.nl.
Still cannot get it to work...
I asserted all missing “rdfs:subClassOf owl:Thing” in bc
In TBC is all looks fine:

Where the bs stuff all has explcitly modelled like:
bs:PhysicalObject
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing ;
When I create an ontology in EDG (after opening from TBC) called alim.
I include alim.ttl from the workspace.

Still see in EDG:

That is a tree:
- without the bs substructure....
- without the alim classes (having no label...)
(related: can I change label-view for qname-view?)
So the second point migth be caused by the edg-req to have at least one label (?), but the first one is still a mystery for me.
Thx again, Michel
Ps
Exactly same issue in “open with default application” btw but I guess that is logical.
|
|
|
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/C4AE0247-3572-4C4D-9037-8CC2CEEF540E%40topquadrant.com.
Correction, alim classes/instances now all in.
Just left issue: how can I get my names their (with prefix) iso the label?
(it works for alim so why not for the imported bs stuff?)
So in:

Iso fysiek object
I would like to se
bs:PhysicalObject
finally, guess its not possible to specify multi other roots then owl:Thing? (to avoid inventing a root just for this purpose...)
|
|
|
Correction, alim classes/instances now all in.
Just left issue: how can I get my names their (with prefix) iso the label?
(it works for alim so why not for the imported bs stuff?)
So in:
Iso fysiek object
I would like to se
bs:PhysicalObject
finally, guess its not possible to specify multi other roots then owl:Thing? (to avoid inventing a root just for this purpose...)
No, the class tree can only have a single root
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/c5bf302c04a34768bce9b0c6f65390e0%40tno.nl.
On multi-lingual labels, try changing the browser's preferred
language. For example in Chrome, this would be under the Advanced
settings:

Your request to support qnames has been noted. In some places we already have a switch for that, e.g. in Asset Lists:

We may need to make this option more consistently available, but
this is not a quick short-term fix. Meanwhile, you'd need to make
sure that all resources have rdfs:labels.
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/45147091-cdcb-43e7-b004-dc8d6a63ba6d%40email.android.com.