/
xone-duplicate.ttl
34 lines (31 loc) · 1.31 KB
/
xone-duplicate.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix sht: <http://www.w3.org/ns/shacl-test#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ex: <http://example.org/shacl-test/> .
<> a mf:Manifest ;
mf:entries (
<xone-duplicate>
) .
<xone-duplicate> a sht:Validate;
rdfs:label "Test of validation report for shape xone-duplicate by property constraints" ;
mf:action [ sht:dataGraph <xone-duplicate-data.ttl> ;
sht:shapesGraph <xone-duplicate-shapes.ttl> ] ;
mf:result [ rdf:type sh:ValidationReport ;
sh:conforms "false"^^xsd:boolean ;
sh:result [ rdf:type sh:ValidationResult ;
sh:resultSeverity sh:Violation ;
sh:focusNode ex:i ;
sh:value ex:i ;
sh:sourceShape ex:s1 ;
sh:sourceConstraintComponent sh:XoneConstraintComponent ] ;
sh:result [ rdf:type sh:ValidationResult ;
sh:resultSeverity sh:Violation ;
sh:focusNode ex:j ;
sh:value ex:j ;
sh:sourceShape ex:s1 ;
sh:sourceConstraintComponent sh:XoneConstraintComponent ] ] ;
mf:status sht:approved .