Hello Holger,

I have a  Location class with Site, Facility, Level, and Room sub-classes. 

The Location class defines the Location relation properties 'has_part' and 
the inverse 'part_of';  however the constraints on these relations are 
different for each sub-class.  For example:

A Facility can have a Facility or a Level as a part, but not a Room 
A Level can have a Room as a part, but not a Site or Facility

Can I define and bind a property shape to each sub-class that permits me to 
specify the constraints for each one discretely or do I need to define the 
properties redundantly for each sub-class ?

Thanks, Andrew

   
dpr:Location
  a owl:Class ;
  a sh:NodeShape ;
  rdfs:label "Location" ;
  rdfs:subClassOf dpr:AECO ;
  sh:property dpr:Location-hasPart ;
  sh:property dpr:Location-hasPart-inverse ;
.


-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to [email protected]
--- 
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/50d24bad-03b4-4a21-991c-9033b8a9190dn%40googlegroups.com.

Reply via email to