How does one view in the class browser by rdfs:label in TopBraid Maestro?

27 views
Skip to first unread message

Don Rolph

unread,
Sep 23, 2019, 10:16:30 AM9/23/19
to TopBraid Suite Users
How does one view in the class browser by rdfs:label in TopBraid Maestro?

I have added both rdfs:label and skos:prefLabel but nothing changes in the class entities window>

Picture 1 is with the qnames enabled.

Picture 2 is with human readable names.

Picture 3 is an example of the entity.


picture2.png
picture 1.png
picture3.png

Richard Cyganiak

unread,
Sep 23, 2019, 10:46:26 AM9/23/19
to topbrai...@googlegroups.com
Hi Don,

If human-readable names are enabled (as in your Picture 1), then rdfs:label and any of its sub-properties will be used.

In your picture 3, the entity has an rdfs:label, but human-readable names are turned off.

In your picture 1, human-readable names are turned on, but the entity only has a skos:prefLabel. That property will only be used as a human-readable label if it is declared as a sub-property of rdfs:label. The file TopBraid/SKOS/skos-core.ttl contains that sub-property declaration. Drag and drop it into the Imports view to add it as an import to your file. Alternatively, navigate to rdfs:label in the properties tree on the right, and skos:prefLabel as a new sub-property. Then toggle human-readable labels off and on again. 

Hope that helps,
Richard



--
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/6065f177-4644-43fb-a2dc-4baf683324d2%40googlegroups.com.
<picture2.png><picture 1.png><picture3.png>

Irene Polikoff

unread,
Sep 23, 2019, 10:48:09 AM9/23/19
to topbrai...@googlegroups.com
Click on the person  icon in the header. You have it selected in the screenshot 1, but that resource has no defined label. Where a label is not defined, TBC will display QNames or URIs.

Please use rdfs:label for classes, shapes, properties and, in general, any resources that are not instances of skos:Concept.

Note that performance of TBC will become more sluggish when you switch to the label display mode. This is because to work with labels in a performant ways, specialized label indexes for auto-complete, search, etc. are required. This is available in EDG (which is optimized for working with human oriented names), but not in TBC.

Don Rolph

unread,
Sep 24, 2019, 8:14:15 PM9/24/19
to topbrai...@googlegroups.com
Thank you.  Yup I was working with skos:prefLabels.  My bad.

And  how are you doing Irene?  Long time no hear!

You received this message because you are subscribed to a topic in the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/topbraid-users/wiBb5o2PWEk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/03719349-B34C-4A3C-90E9-4BDADC5D1D38%40topquadrant.com.


--

73,
AB1PH
Don Rolph
Reply all
Reply to author
Forward
0 new messages