diff --git a/tests/examples/event_XFAIL_validation.ttl b/tests/examples/event_XFAIL_validation.ttl new file mode 100644 index 00000000..56724b16 --- /dev/null +++ b/tests/examples/event_XFAIL_validation.ttl @@ -0,0 +1,38 @@ +@prefix action: . +@prefix core: . +@prefix owl: . +@prefix rdf: . +@prefix rdfs: . +@prefix sh: . +@prefix xsd: . + +[] + a sh:ValidationReport ; + sh:conforms "false"^^xsd:boolean ; + sh:result [ + a sh:ValidationResult ; + sh:detail [ + a sh:ValidationResult ; + sh:focusNode ; + sh:resultMessage "Node kb:Action-0-03ee1fe6-12cf-4a35-b7dd-06d4e69369b5 conforms to shape [ rdf:type sh:NodeShape ; sh:class core:Event ]" ; + sh:resultSeverity sh:Violation ; + sh:sourceConstraintComponent sh:NotConstraintComponent ; + sh:sourceShape [ + a sh:NodeShape ; + rdfs:comment "This blank node is provided to avoid a SHACL multiple-inheritance issue."@en ; + sh:not [ + a sh:NodeShape ; + sh:class core:Event ; + ] ; + ] ; + sh:value ; + ] ; + sh:focusNode ; + sh:resultMessage "action:Action and core:event are disjoint classes."@en ; + sh:resultSeverity sh:Violation ; + sh:sourceConstraintComponent sh:NodeConstraintComponent ; + sh:sourceShape action:Action-disjointWith-Event-shape ; + sh:value ; + ] ; + . +