| @base <http://example.org/nestedShape> . |
| @prefix ex: <http://example.org/test#> . |
| @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| @prefix sh: <http://www.w3.org/ns/shacl#> . |
| @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| |
| <> |
| a owl:Ontology ; |
| . |
| |
| ex:TestShape |
| a sh:NodeShape ; |
| sh:property [ |
| sh:path ex:property ; |
| sh:nodeKind sh:IRI ; |
| sh:node [ |
| sh:property [ |
| sh:path ex:nestedProperty ; |
| sh:minCount 1 ; |
| sh:maxCount 1 ; |
| ] ; |
| ] ; |
| ] ; |
| . |