File tree Expand file tree Collapse file tree 3 files changed +88
-0
lines changed
shacl12-test-suite/tests/core/misc Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Original file line number Diff line number Diff line change 13
13
mf:include <severity-001.ttl> ;
14
14
mf:include <severity-002.ttl> ;
15
15
mf:include <severity-003.ttl> ;
16
+ mf:include <severity-004.ttl> ;
17
+ mf:include <severity-005.ttl> ;
16
18
.
Original file line number Diff line number Diff line change
1
+ @prefix dash: <http://datashapes.org/dash#> .
2
+ @prefix ex: <http://example.com/ns#> .
3
+ @prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
4
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
5
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
8
+ @prefix sht: <http://www.w3.org/ns/shacl-test#> .
9
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
10
+
11
+ ex:TestShape
12
+ rdf:type sh:NodeShape ;
13
+ sh:datatype xsd:integer ;
14
+ sh:severity sh:Debug ;
15
+ sh:targetNode " Hello" ;
16
+ .
17
+ <>
18
+ rdf:type mf:Manifest ;
19
+ mf:entries (
20
+ <severity-004>
21
+ ) ;
22
+ .
23
+ <severity-004>
24
+ rdf:type sht:Validate ;
25
+ rdfs:label " Test of sh:severity sh:Debug 004" ;
26
+ mf:action [
27
+ sht:dataGraph <> ;
28
+ sht:shapesGraph <> ;
29
+ ] ;
30
+ mf:result [
31
+ rdf:type sh:ValidationReport ;
32
+ sh:conforms " true" ^^xsd:boolean ;
33
+ sh:result [
34
+ rdf:type sh:ValidationResult ;
35
+ sh:focusNode " Hello" ;
36
+ sh:resultSeverity sh:Debug ;
37
+ sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
38
+ sh:sourceShape ex:TestShape ;
39
+ sh:value " Hello" ;
40
+ ] ;
41
+ ] ;
42
+ mf:status sht:approved ;
43
+ .
Original file line number Diff line number Diff line change
1
+ @prefix dash: <http://datashapes.org/dash#> .
2
+ @prefix ex: <http://example.com/ns#> .
3
+ @prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
4
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
5
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
6
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
7
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
8
+ @prefix sht: <http://www.w3.org/ns/shacl-test#> .
9
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
10
+
11
+ ex:TestShape
12
+ rdf:type sh:NodeShape ;
13
+ sh:datatype xsd:integer ;
14
+ sh:severity sh:Trace ;
15
+ sh:targetNode " Hello" ;
16
+ .
17
+ <>
18
+ rdf:type mf:Manifest ;
19
+ mf:entries (
20
+ <severity-005>
21
+ ) ;
22
+ .
23
+ <severity-005>
24
+ rdf:type sht:Validate ;
25
+ rdfs:label " Test of sh:severity sh:Trace 005" ;
26
+ mf:action [
27
+ sht:dataGraph <> ;
28
+ sht:shapesGraph <> ;
29
+ ] ;
30
+ mf:result [
31
+ rdf:type sh:ValidationReport ;
32
+ sh:conforms " true" ^^xsd:boolean ;
33
+ sh:result [
34
+ rdf:type sh:ValidationResult ;
35
+ sh:focusNode " Hello" ;
36
+ sh:resultSeverity sh:Trace ;
37
+ sh:sourceConstraintComponent sh:DatatypeConstraintComponent ;
38
+ sh:sourceShape ex:TestShape ;
39
+ sh:value " Hello" ;
40
+ ] ;
41
+ ] ;
42
+ mf:status sht:approved ;
43
+ .
You can’t perform that action at this time.
0 commit comments