linking glossaries to ontologies ( or taxonomies)

110 views
Skip to first unread message

Luis Enrique Ramos García

unread,
Feb 23, 2024, 2:28:02 AM2/23/24
to TopBraid Suite Users
Hi guys,

I wonder if there is a way to link glossaries to ontologies.

I mean, let's say I have a group of geographical terms in a list, that I create as glossary, and then I would like to use this glossary definition to fill the skos:definition of the corresponding class (concept) in my ontology.
Could you share any documentation or example of how I could do that?.

Best regards


Luis Ramos.

Holger Knublauch

unread,
Feb 23, 2024, 4:08:23 AM2/23/24
to 'Richard Nagelmaeker' via TopBraid Suite Users
Hi Luis,

any asset collection can use assets/resources from other asset collections. Just owl:import the Glossary (from Settings > Includes). Then, to link a class with a glossary term, navigate to the definition of rdfs:Class or owl:Class and add a property/relationship there, with Glossary Terms as values. To navigate to rdfs:Class and owl:Class, find the "Up" button in the upper right corner of the Class Hierarchy panel, to switch to rdfs:Resource as root class.

If you further want to copy values such as the definition into the classes, you could define a property that uses a sh:path expression such as

ex:glossaryTerm/rdfs:comment

or declare a sh:values rule that does the same. See https://www.linkedin.com/pulse/inferencing-shacl-using-shvalues-holger-knublauch-0metf/ for some background on sh:values rules.

HTH
Holger


--
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbrai...@googlegroups.com
---
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/91b23e2e-9d7b-4c6a-8d08-423bff8fc06fn%40googlegroups.com.

Bohms, H.M. (Michel)

unread,
Feb 23, 2024, 4:28:31 AM2/23/24
to topbrai...@googlegroups.com

Note, we also addressed this issue in EN 17632-1 Semantic modelling and linking standard in CEN TC442 WG4.

(iso “Glossary” we use the term “Dictionary”* and we indicate how dictionary (in SKOS) and ontology (in RDFS/OWL/SHACL) can be modeled separately and linked) connecting the string and thing worlds.

Greetings Michel Bohms

 

Ps *

To make things more fuzzy: often people use the term “Dictionary” when they mean an ontology 😊 (like in CEN TC442 data templates or openBIM buildingSMART)

 

 

 

Dr. ir. H.M. Böhms (Michel)
Scientist Specialist
Mobility & Built Environment

T: 
M: +31630381220
E: 
michel...@tno.nl

Location

 

 

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.

David Price

unread,
Feb 23, 2024, 5:10:40 AM2/23/24
to 'Felix Sasaki' via TopBraid Suite Users
Hi Luis,

One note of caution …

A Glossary Term is seldom “the same thing” as an ontology class/property or a database table/column. Instead, what we typically do is say that a class/property or table/column “maps to” the term.

Glossary Terms are usually for a less technical audience, are technology-independent and are self contained in most cases. 

However, a class definition, for example, often takes its place in the class hierarchy into account and so is a more technical thing (e.g. a <class> is a <superclass> with <additional contraints or characteristics> ). 

Additionally, need to remember that all instances of any subclass are also members of all superclasses and so every definition all the way up the class hierarchy is also applicable. That sometimes puts a lot of burden on glossary terms being reused as class definitions.

So, RDF-wise it is certainly possible to do as Holger explained, but business need/requirements-wise it may not be the best practive. As I said, in our Data Asset+Glossary architecture solution Data Elements/Database Columns include a  “maps to term’ to Glossary Term relation allowing separate, clean definitions for the different audiences.

Cheers,
David

Bohms, H.M. (Michel)

unread,
Feb 23, 2024, 6:47:29 AM2/23/24
to topbrai...@googlegroups.com

Fully agree.

 

In SML the proposed “maps-to-term” relation is reusing rdfs:seeAlso.

 

 

Dr. ir. H.M. Böhms (Michel)
Scientist Specialist
Mobility & Built Environment

T: 
M: +31630381220
E: 
michel...@tno.nl

Location

 

 

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.

 

From: topbrai...@googlegroups.com <topbrai...@googlegroups.com> On Behalf Of David Price
Sent: vrijdag 23 februari 2024 11:10
To: 'Felix Sasaki' via TopBraid Suite Users <topbrai...@googlegroups.com>
Subject: Re: [topbraid-users] linking glossaries to ontologies ( or taxonomies)

 

Hi Luis,

Luis Enrique Ramos García

unread,
Feb 23, 2024, 9:12:59 AM2/23/24
to topbrai...@googlegroups.com
Hi guys,

thanks for your kindly reply, I will work on it, and let you know.


Luis

Luis Enrique Ramos García

unread,
Nov 29, 2024, 2:22:46 AM11/29/24
to topbrai...@googlegroups.com


I am trying to follow your indications, but I get lost very quickly.

I try to do the following steps:

1. import the glossary: done!
2. navigate to the definition of rdfs:Class or owl:Class
( To navigate to rdfs:Class and owl:Class, find the "Up" button in the upper right corner of the Class Hierarchy panel, to switch to rdfs:Resource as root class.)
I found the "up" button.
image.png
I switched to Resource, but there I am not sure what you mean with: navigate to rdfs:Class and owl:Class,

I do not see/find reference or mention to rdfs:Class and owl:Class on there

I only found a node shape (node shape tab): is this what you mean?
image.png

Then, do I have to create a property here to link to the glossary?.

If that is the case, please let me know how do I include the glossary on there, to use it in the ontology?.


Best regards


Luis Ramos




Holger Knublauch

unread,
Nov 29, 2024, 3:39:16 AM11/29/24
to 'Luis Enrique Ramos García' via TopBraid Suite Users
On 29 Nov 2024, at 8:22 AM, 'Luis Enrique Ramos García' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:



I am trying to follow your indications, but I get lost very quickly.

I try to do the following steps:

1. import the glossary: done!
2. navigate to the definition of rdfs:Class or owl:Class
( To navigate to rdfs:Class and owl:Class, find the "Up" button in the upper right corner of the Class Hierarchy panel, to switch to rdfs:Resource as root class.)
I found the "up" button.
<image.png>
I switched to Resource, but there I am not sure what you mean with: navigate to rdfs:Class and owl:Class,

I do not see/find reference or mention to rdfs:Class and owl:Class on there

Here is where you can find owl:Class

PastedGraphic-1.png

For better or worse, both rdfs:Class and owl:Class have the same display label, so switching to qnames can help:

PastedGraphic-2.png

A completely different way of navigating to resources, is to enter their qname after the # in the URL, e.g.


HTH
Holger


I only found a node shape (node shape tab): is this what you mean?

David Price

unread,
Nov 29, 2024, 6:55:14 AM11/29/24
to 'Felix Sasaki' via TopBraid Suite Users
You should see the Class Hierarchy panel too. If not visible then you’ve likely accidentally deleted it. Use “Layouts" button selection and choose “Default” to reset the visisble UI panels.

Navigate to Class means find OWL Class which a subclass of RDFS Class. Add your new property to Class itself. Settings tab/Includes is how you make other collections visible (it adds owl:imports).

Screenshot 2024-11-29 at 11.50.30.png

Cheers,
David



On 29 Nov 2024, at 07:22, 'Luis Enrique Ramos García' via TopBraid Suite Users <topbrai...@googlegroups.com> wrote:



I am trying to follow your indications, but I get lost very quickly.

I try to do the following steps:

1. import the glossary: done!
2. navigate to the definition of rdfs:Class or owl:Class
( To navigate to rdfs:Class and owl:Class, find the "Up" button in the upper right corner of the Class Hierarchy panel, to switch to rdfs:Resource as root class.)
I found the "up" button.
<image.png>
I switched to Resource, but there I am not sure what you mean with: navigate to rdfs:Class and owl:Class,

I do not see/find reference or mention to rdfs:Class and owl:Class on there

I only found a node shape (node shape tab): is this what you mean?

Luis Enrique Ramos García

unread,
Nov 29, 2024, 7:43:10 AM11/29/24
to topbrai...@googlegroups.com
Thanks guys for your answer.

I had not found the rdfs:Class, owl:Class because I had not uncheck this:
image.png
Now, I can view it, I also know how to create the property to link with the glossary:
image.png

however I do not see the glossary in the form.
image.png
David, you say: Settings tab/Includes is how you make other collections visible (it adds owl:imports).

I did so, and included the glossary, but I can not see it in the field Type/Class of values

Best regards

Luis






David Price

unread,
Nov 29, 2024, 7:54:39 AM11/29/24
to 'Felix Sasaki' via TopBraid Suite Users
You can use autocomplete in the Type/Class of Values and just enter Glossary to find the Glossary Term class.

Cheers,
David

Luis Enrique Ramos García

unread,
Nov 29, 2024, 8:18:05 AM11/29/24
to topbrai...@googlegroups.com
Okay, got it, done and solved.

I was searching for the name of the glossary, and not the word (class) glossary.

if I also want to use a taxonomy in the ontology, I should do the same procedure?, and search for the taxonomy class in Type/Class of Values


Luis


David Price

unread,
Nov 29, 2024, 8:20:56 AM11/29/24
to 'Felix Sasaki' via TopBraid Suite Users
In a Taxonomy the relationships will be to the Concept class or your subclasses of Concept.

Cheers,
David

Reply all
Reply to author
Forward
0 new messages