Hello!

I am looking at making a constructor that has several parameters for the 
user to input. One of which is a drop down list to select the type of a 
class. I am trying to get it to only show a specified root class and its 
subclasses, similar to what normally appears by default  as a class tree. 
However, if I put the sh:class as the root class then it populates 
instances. If I use rdfs:Class I get classes to select but not narrowed 
down to the root I want. I tried adding a connection using dash:rootClass 
ex:Concept but that did not work either. Is there a specific data property 
to mimic the default type selector that shows up when constructing a new 
concept?

Example of what I have been trying but not achieving the desired results:

exsh:ConceptConstructor-type
  a sh:Parameter ;
  a sh:PropertyShape ;
  sh:path rdf:type ;
  sh:class rdfs:Class ;
  sh:description "The type of the new concept" ;
  sh:name "type" ;
  sh:nodeKind sh:IRI .


exsh:ConceptConstructor-type
  a sh:Parameter ;
  a sh:PropertyShape ;
  sh:path rdf:type ;
  sh:class rdfs:Class ;
  dash:rootClass ex:Concept ; #even tried with dash:editor 
dash:SubClassEditor but that throws an error
  sh:description "The type of the new concept" ;
  sh:name "type" ;
  sh:nodeKind sh:IRI .

exsh:ConceptConstructor-type
  a sh:Parameter ;
  a sh:PropertyShape ;
  sh:path rdf:type ;
  sh:class ex:Concept ;
  sh:description "The type of the new concept" ;
  sh:name "type" ;
  sh:nodeKind sh:IRI .

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to topbraid-users@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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/36a1e93f-fbaf-4e7c-917b-cdf21b4cc009n%40googlegroups.com.

Reply via email to