|
| 1 | +@prefix observable: <https://ontology.unifiedcyberontology.org/uco/observable/> . |
| 2 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 3 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 4 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 5 | +@prefix sh: <http://www.w3.org/ns/shacl#> . |
| 6 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 7 | + |
| 8 | +[] |
| 9 | + a sh:ValidationReport ; |
| 10 | + sh:conforms "false"^^xsd:boolean ; |
| 11 | + sh:result |
| 12 | + [ |
| 13 | + a sh:ValidationResult ; |
| 14 | + sh:focusNode <http://example.org/kb/table-field-facet-37182dba-4dbd-4b97-b49e-8038b7fbfd29> ; |
| 15 | + sh:resultMessage 'Node kb:table-field-facet-37182dba-4dbd-4b97-b49e-8038b7fbfd29 does not conform to exactly one shape in [ rdf:type sh:NodeShape ; sh:property [ sh:hasValue Literal("false" = False, datatype=xsd:boolean) ; sh:path observable:recordFieldIsNull ] ] , [ rdf:type sh:NodeShape ; sh:property [ sh:hasValue Literal("true" = True, datatype=xsd:boolean) ; sh:path observable:recordFieldIsNull ], [ sh:maxCount Literal("0", datatype=xsd:integer) ; sh:path observable:recordFieldValue ] ] , [ rdf:type sh:NodeShape ; sh:property [ sh:maxCount Literal("0", datatype=xsd:integer) ; sh:path observable:recordFieldIsNull ] ]' ; |
| 16 | + sh:resultSeverity sh:Violation ; |
| 17 | + sh:sourceConstraintComponent sh:XoneConstraintComponent ; |
| 18 | + sh:sourceShape observable:TableFieldFacet ; |
| 19 | + sh:value <http://example.org/kb/table-field-facet-37182dba-4dbd-4b97-b49e-8038b7fbfd29> ; |
| 20 | + ] , |
| 21 | + [ |
| 22 | + a sh:ValidationResult ; |
| 23 | + sh:focusNode <http://example.org/kb/table-field-facet-46aafb6e-0be4-4412-a938-16c4b5ae5314> ; |
| 24 | + sh:resultMessage "More than 1 values on kb:table-field-facet-46aafb6e-0be4-4412-a938-16c4b5ae5314->observable:recordFieldIsNull" ; |
| 25 | + sh:resultPath observable:recordFieldIsNull ; |
| 26 | + sh:resultSeverity sh:Violation ; |
| 27 | + sh:sourceConstraintComponent sh:MaxCountConstraintComponent ; |
| 28 | + sh:sourceShape [ |
| 29 | + sh:datatype xsd:boolean ; |
| 30 | + sh:maxCount "1"^^xsd:integer ; |
| 31 | + sh:nodeKind sh:Literal ; |
| 32 | + sh:path observable:recordFieldIsNull ; |
| 33 | + ] ; |
| 34 | + ] , |
| 35 | + [ |
| 36 | + a sh:ValidationResult ; |
| 37 | + sh:focusNode <http://example.org/kb/table-field-facet-46aafb6e-0be4-4412-a938-16c4b5ae5314> ; |
| 38 | + sh:resultMessage 'Node kb:table-field-facet-46aafb6e-0be4-4412-a938-16c4b5ae5314 does not conform to exactly one shape in [ rdf:type sh:NodeShape ; sh:property [ sh:hasValue Literal("false" = False, datatype=xsd:boolean) ; sh:path observable:recordFieldIsNull ] ] , [ rdf:type sh:NodeShape ; sh:property [ sh:hasValue Literal("true" = True, datatype=xsd:boolean) ; sh:path observable:recordFieldIsNull ], [ sh:maxCount Literal("0", datatype=xsd:integer) ; sh:path observable:recordFieldValue ] ] , [ rdf:type sh:NodeShape ; sh:property [ sh:maxCount Literal("0", datatype=xsd:integer) ; sh:path observable:recordFieldIsNull ] ]' ; |
| 39 | + sh:resultSeverity sh:Violation ; |
| 40 | + sh:sourceConstraintComponent sh:XoneConstraintComponent ; |
| 41 | + sh:sourceShape observable:TableFieldFacet ; |
| 42 | + sh:value <http://example.org/kb/table-field-facet-46aafb6e-0be4-4412-a938-16c4b5ae5314> ; |
| 43 | + ] |
| 44 | + ; |
| 45 | + . |
| 46 | + |
0 commit comments