Hi,

I would like to understand and use the dash:SubClassEditor better 
(https://datashapes.org/forms.html#SubClassEditor).
I assume that most of the items listed below are rather feature requests. 
Nevertheless, I'm asking in case I'm overlooking how to implement/configure 
them using the already available TopBraid EDG features (version 7.0.3).

This is my first post in this Open Forum and I hope it’s the right channel.
Thanks in advance for any feedback and help.

Best,
Marius

*Context: *I have set up knowledge, shape, and data graphs so that data 
graph editors can link instances to classes, which are defined in separate 
classifications (included ontology assets), using the SubClassTree editor 
within the Form panel. The items below are mainly motivated by improving 
the user experience for the data graph editors through GUI customizations.

*Are the following items currently feasible and, if so, how?*

*1. Custom display labels for classes:*

   - As I understand it, the classes in the hierarchy tree of the 
   SubClassEditor are labeled using the rdfs:label or skos:prefLabel 
   properties in the applicable interface language such as @en.
   - Is there a way, to set a different property as display label?
   - The users of my data graph, for example, would like to see both 
   notation and label of the classes (instead of just the label). For 
   instance, *<skos:notation> <separator> <skos:prefLabel>* such as "*I21 | 
   Acute myocardial infarction*".
   - In my case, overwriting the original rdfs:label or skos:prefLabel with 
   my custom display label is not an option.
   - Ideally, the custom display label is generated ad-hoc when generating 
   the GUI without having to store it persistently. In my case, it would also 
   be ok if I created a new property for the custom display label, created the 
   custom display labels using SHACL/SPARQL, and stored them in a graph.
   - This requirement does not only refer to the hierarchy tree of the 
   SubClassEditor, but to the display labels of classes in EDG in general. The 
   editors of my data graph would like to see the custom display label in the 
   Form panel as well.
      - I tried to implement this by creating a new custom display property 
      and defining it as dash:LabelRole 
      (https://datashapes.org/propertyroles.html#LabelRole), but failed. The 
GUI 
      still displayed rdfs:label or skos:prefLabel instead of my custom label.
      
*2. Show classes in hierarchy tree in specified order:*

   - As I understand it, the subclasses of the specified dash:rootClass are 
   displayed in alphabetically ascending order of labels (rdfs:label or 
   skos:prefLabel).
   - I would like to display the classes in alphabetically ascending order 
   of notations (skos:notation) instead.
   - Motivation is that users of my data graphs expect classifications 
   (such as the *Anatomical Therapeutic Chemical Classification System* or 
   the *International Classification of Diseases*) to be displayed in their 
   notation-based structure, not in alphabetical order of concept labels.
   - This problem might be solved if I could implement item 1, but only if 
   I put the notation first in the custom label.  Since I might put the 
   notation at the end of the custom label, this workaround would not be a 
   proper solution for item 2.

*3. Show hierarchy by specific hierarchy property:*

   - As I understand it, the hierarchy tree of the SubClassEditor is 
   displayed based on rdfs:subClassOf.
   - While this is adequate in most cases, there are vocabularies which use 
   other properties such as ex:isA or ex:isPartOf to represent hierarchies. Is 
   there a way to set a specific property by which the hierarchy tree of the 
   SubClassEditor is displayed? (perhaps along the lines of 
   "ex:myPropertyShape dash:hierarchyProperty ex:isA" similar to 
   "ex:myPropertyShape dash:rootClass ex:myRootClass").

*4. Jump to already selected class when clicking on class tree icon:*

   - When editing in the Form panel, if one clicks on the class tree icon 
   to revise an already established link, the pop-up window of the 
   SubClassEditor displays the hierarchy tree collapsed (the root class and 
   its subclasses).
   - Users of my data graphs would prefer to see the concept already 
   selected in the hierarchy tree instead, i.e. the hierarchy tree expanded 
   from the root class to the selected class. (For comparison, this is how the 
   Class Hierarchy panel behaves when clicking on a class in the Form panel in 
   the Ontology Editor).
   - For polyhierarchical classifications, it would be nice to have all 
   paths expanded from root class to selected class.

*5. Enable multi-selection:*

   - Users of my data graphs would like to select multiple classes via the 
   class tree editor (without having to add a row each time via the plus icon).
   - As far as I know, multi-select is currently not possible, but already 
   as a requirement in TopQuadrant’s backlog.
   - I would like to emphasize that I would appreciate multi-selection not 
   only for the "Find a Resource" dialog (magnifying glass icon) but also for 
   the "Select a Class" dialog (class tree icon) of the SubClassEditor.

*6. Enable quick search in hierarchy tree*:

   - As I understand it, the class tree in the SubClassEditor can only be 
   navigated by clicking to expand branches.
   - Users of my data graphs would appreciate an additional quick search 
   (for comparison: as enabled by the Quick Search in the Class Hierarchy 
   panel of the Ontology Editor).

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/b4683bd7-0d51-4166-bb1c-ef38ba3761ccn%40googlegroups.com.

Reply via email to