Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Use-case : associating a tooltip to shapes #28

Open
tfrancart opened this issue Oct 4, 2023 · 2 comments
Open

Use-case : associating a tooltip to shapes #28

tfrancart opened this issue Oct 4, 2023 · 2 comments

Comments

@tfrancart
Copy link
Contributor

See #16 for the complete story.

I would like to be able to associate a user-oriented tooltip to node shapes and property shapes.
I could rely on sh:description also.

Currently I am trying to read a custom property (http://data.sparna.fr/ontologies/volipi/index-en.html#message), then defaults to sh:description if not found.

@bergos
Copy link
Member

bergos commented Oct 16, 2023

@tfrancart can you please provide an example given as Turtle? Maybe you can also give more context based on that example. I think that would be useful for further discussions.

@tfrancart
Copy link
Contributor Author

ex:PersonShape a sh:NodeShape ;
sh:property [
  sh:path dct:subject ;
  sh:description "The category of the person"@en ;
  xxxx:tooltip "The category of the person, as a tree widget. Entries that are greyed out in the tree cannot be selected because they are never used as values. You can select up to 3 values."@en
] ;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants