Skip to content

SHACL shape subclassing does not visualise correctly #59

@jerdebsp

Description

@jerdebsp

Currently, if you do shapeX subClassOf shapeY, this will not show correctly as nested. Another possibility is the use of sh:node as part of shape subclassing:

**sam-shapes:bd2c8510-e973-4bf6-b8e7-e00c4afb4cb0**
  a sh:NodeShape ;
  rdfs:label "Asset Shape"@en ;
  sh:targetClass sam:bd2c8510-e973-4bf6-b8e7-e00c4afb4cb0 ;
  sh:property sam-shapes:478016f9-b8e3-4152-8eca-ad23cd5531cd , 
    sam-shapes:9d362106-ba3a-4172-87ab-2b3667946015 ,
    sam-shapes:be556532-3644-400d-b525-b9b36c4c8076 ,
    sam-shapes:f0cb067a-c3b4-4691-a6c8-233723e07242 ;
.

sam-shapes:3a277721-0089-4c46-bc8a-683735c2c516
  a sh:NodeShape ;
  rdfs:label "IT Asset Shape"@en ;
  **sh:node sam-shapes:bd2c8510-e973-4bf6-b8e7-e00c4afb4cb0 ;**
  sh:targetClass sam:3a277721-0089-4c46-bc8a-683735c2c516 ;
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions