data-shapes-test-suite.tests.core.path.path-strange-001.ttl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf4j-shacl-testsuite Show documentation
Show all versions of rdf4j-shacl-testsuite Show documentation
Test suite for the SHACL Shapes Constraint Language
The newest version!
@prefix ex: .
@prefix mf: .
@prefix rdf: .
@prefix rdfs: .
@prefix sh: .
@prefix sht: .
@prefix xsd: .
ex:i a ex:C ;
ex:p ex:ip .
ex:ip ex:q ex:ipq .
ex:ipq a ex:C .
ex:pi ex:p ex:i .
ex:j a ex:C ;
ex:p ex:jp .
ex:jp ex:q ex:jpq .
ex:s1 a sh:PropertyShape ;
sh:targetClass ex:C ;
sh:path [ rdf:first ex:p ; rdf:rest [ rdf:first ex:q ; rdf:rest rdf:nil ] ;
sh:inversePath ex:p ] ;
sh:class ex:C .
<>
rdf:type mf:Manifest ;
mf:entries (
) ;
.
rdf:type sht:Validate ;
rdfs:label "Test of strange path 001 two valid paths together" ;
mf:action [
sht:dataGraph <> ;
sht:shapesGraph <> ;
] ;
mf:result [
rdf:type sh:ValidationReport ;
sh:conforms "false"^^xsd:boolean ;
sh:result [ a sh:ValidationResult ;
sh:focusNode ex:j ;
sh:value ex:jpq ;
sh:resultPath ( ex:p ex:q ) ;
sh:resultSeverity sh:Violation ;
sh:sourceConstraintComponent sh:ClassConstraintComponent ;
sh:sourceShape ex:s1 ;
] ;
] ;
mf:status sht:approved ;
.