@prefix : <http://a.example/> . @prefix sh: <http://www.w3.org/ns/shacl/core#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . <S> sh:property [ a sh:PropertyConstraint ; sh:maxCount 1 ; sh:minCount 1 ; sh:predicate :a ] ; sh:property [ a sh:PropertyConstraint ; sh:minCount 0 ; sh:predicate :a ] ; sh:schema [ a sh:Schema ] ; sh:someOf [ sh:property [ a sh:PropertyConstraint ; sh:maxCount 1 ; sh:minCount 1 ; sh:predicate :a ] ; sh:property [ a sh:PropertyConstraint ; sh:minCount 1 ; sh:predicate :a ] ] .