fix pyest #36
Annotations
2 errors
test_pyshacl.test_workflow_execution:
.mypy_cache/3.11/tests/test_pyshacl.data.json#L58
pyshacl.errors.ReportableRuntimeError: SHACL File does not validate against the SHACL Shapes SHACL (MetaSHACL) file.
Validation Report
Conforms: False
Results (12):
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
Severity: sh:Violation
Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Value Node: ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
Result Path: sh:path
Message: Node ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
Severity: sh:Violation
Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ]
Result Path: sh:path
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
Severity: sh:Violation
Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ]
Result Path: sh:path
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
Severity: sh:Violation
Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Value Node: ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
Result Path: sh:path
Message: Node ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
Severity: sh:Violation
Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Value Node: ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
Result Path: sh:path
Message: Node ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
Severity: sh:Violation
Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ]
Result Path: sh:path
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
Severity: sh:Violation
Source Shape: shsh:ShapeShape
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
Severity: sh:Violation
Source Shape: shsh:ShapeShape
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
Severity: sh:Violation
Source Shape: shsh:ShapeShape
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
Severity: sh:Violation
Source Shape: shsh:ShapeShape
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
Severity: sh:Violation
Source Shape: shsh:ShapeShape
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
Severity: sh:Violation
Source Shape: shsh:ShapeShape
Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
|
check
Process completed with exit code 201.
|