Skip to content

Commit f18eb54

Browse files
committed
Update TriG tests with to match Turtle.
1 parent ff484f2 commit f18eb54

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+228
-51
lines changed

rdf/rdf12/rdf-trig/eval/manifest.ttl

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,47 @@ trs:manifest rdf:type mf:Manifest ;
2828
(
2929
trs:trig-star-1
3030
trs:trig-star-2
31+
trs:trig-star-3
32+
trs:trig-star-4
3133
trs:trig-star-bnode-1
3234
trs:trig-star-bnode-2
3335
trs:trig-star-annotation-1
3436
trs:trig-star-annotation-2
3537
trs:trig-star-annotation-3
3638
trs:trig-star-annotation-4
3739
trs:trig-star-annotation-5
40+
trs:trig-star-annotation-6
41+
trs:trig-star-annotation-7
42+
trs:trig-star-annotation-8
3843
trs:trig-star-quoted-annotation-1
3944
trs:trig-star-quoted-annotation-2
4045
trs:trig-star-quoted-annotation-3
4146
) .
4247

4348
trs:trig-star-1 rdf:type rdft:TestTrigEval ;
44-
mf:name "TriG-star - subject quoted triple" ;
49+
mf:name "TriG-star - subject reification" ;
4550
mf:action <trig-star-eval-01.trig> ;
4651
mf:result <trig-star-eval-01.nq> ;
4752
.
4853

4954
trs:trig-star-2 rdf:type rdft:TestTrigEval ;
50-
mf:name "TriG-star - object quoted triple" ;
55+
mf:name "TriG-star - object reification" ;
5156
mf:action <trig-star-eval-02.trig> ;
5257
mf:result <trig-star-eval-02.nq> ;
5358
.
5459

60+
trs:trig-star-3 rdf:type rdft:TestTrigEval ;
61+
mf:name "TriG-star - subject reification with identifier" ;
62+
mf:action <trig-star-eval-03.trig> ;
63+
mf:result <trig-star-eval-03.nq> ;
64+
.
65+
66+
trs:trig-star-4 rdf:type rdft:TestTrigEval ;
67+
mf:name "TriG-star - object reification with identifier" ;
68+
mf:action <trig-star-eval-04.trig> ;
69+
mf:result <trig-star-eval-04.nq> ;
70+
.
71+
5572
trs:trig-star-bnode-1 rdf:type rdft:TestTrigEval ;
5673
mf:name "TriG-star - blank node label" ;
5774
mf:action <trig-star-eval-bnode-1.trig> ;
@@ -94,6 +111,24 @@ trs:trig-star-annotation-5 rdf:type rdft:TestTrigEval ;
94111
mf:result <trig-star-eval-annotation-5.nq> ;
95112
.
96113

114+
trs:trig-star-annotation-6 rdf:type rdft:TestTrigEval ;
115+
mf:name "TriG-star - Annotation with identifier" ;
116+
mf:action <trig-star-eval-annotation-6.trig> ;
117+
mf:result <trig-star-eval-annotation-6.nq> ;
118+
.
119+
120+
trs:trig-star-annotation-7 rdf:type rdft:TestTrigEval ;
121+
mf:name "TriG-star - Different annotations have different default identifiers" ;
122+
mf:action <trig-star-eval-annotation-7.trig> ;
123+
mf:result <trig-star-eval-annotation-7.nq> ;
124+
.
125+
126+
trs:trig-star-annotation-8 rdf:type rdft:TestTrigEval ;
127+
mf:name "TriG-star - Annotation form with explicit identifier" ;
128+
mf:action <trig-star-eval-annotation-8.trig> ;
129+
mf:result <trig-star-eval-annotation-8.nq> ;
130+
.
131+
97132
trs:trig-star-quoted-annotation-1 rdf:type rdft:TestTrigEval ;
98133
mf:name "TriG-star - Annotation with quoting" ;
99134
mf:action <trig-star-eval-quoted-annotation-1.trig> ;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/q> <http://example/z> <http://example/G> .
1+
_:anon <http://example/q> <http://example/z> <http://example/G> .
2+
_:anon <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<( <http://example/s> <http://example/p> <http://example/o> )>> <http://example/G> .
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<http://example/a> <http://example/q> << <http://example/s> <http://example/p> <http://example/o> >> <http://example/G> .
1+
<http://example/a> <http://example/q> _:anon <http://example/G> .
2+
_:anon <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<( <http://example/s> <http://example/p> <http://example/o> )>> <http://example/G> .
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<http://example/i> <http://example/q> <http://example/z> <http://example/G> .
2+
<http://example/i> <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<( <http://example/s> <http://example/p> <http://example/o> )>> <http://example/G> .
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
PREFIX : <http://example/>
2+
3+
:G {<< :s :p :o ~ :i >> :q :z .}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<http://example/a> <http://example/q> <http://example/i> <http://example/G> .
2+
<http://example/i> <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<( <http://example/s> <http://example/p> <http://example/o> )>> <http://example/G> .
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
PREFIX : <http://example/>
2+
3+
:G {:a :q << :s :p :o ~ :i >> .}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
<http://example/s> <http://example/p> <http://example/o> <http://example/G> .
2-
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/r> <http://example/z> <http://example/G> .
2+
_:anon <http://example/r> <http://example/z> <http://example/G> .
3+
_:anon <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<( <http://example/s> <http://example/p> <http://example/o> )>> <http://example/G> .
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<http://example/s> <http://example/p> <http://example/o> <http://example/G> .
2-
_:b1 <http://example/graph> <http://host1/> <http://example/G> .
3-
_:b1 <http://example/date> "2020-01-20"^^<http://www.w3.org/2001/XMLSchema#date> <http://example/G> .
4-
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/source> _:b1 <http://example/G> .
5-
_:b2 <http://example/graph> <http://host2/> <http://example/G> .
6-
_:b2 <http://example/date> "2020-12-31"^^<http://www.w3.org/2001/XMLSchema#date> <http://example/G> .
7-
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/source> _:b2 <http://example/G> .
2+
_:anon <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<(<http://example/s> <http://example/p> <http://example/o>)>> <http://example/G> .
3+
_:anon <http://example/source> _:bpl0 <http://example/G> .
4+
_:anon <http://example/source> _:bpl1 <http://example/G> .
5+
_:bpl0 <http://example/graph> <http://host1/> <http://example/G> .
6+
_:bpl0 <http://example/date> "2020-01-20"^^<http://www.w3.org/2001/XMLSchema#date> <http://example/G> .
7+
_:bpl1 <http://example/graph> <http://host2/> <http://example/G> .
8+
_:bpl1 <http://example/date> "2020-12-31"^^<http://www.w3.org/2001/XMLSchema#date> <http://example/G> .
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<http://example/s> <http://example/p> <http://example/o> <http://example/G> .
2-
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/a> <http://example/b> <http://example/G> .
32
<http://example/s> <http://example/p2> <http://example/o2> <http://example/G> .
4-
<< <http://example/s> <http://example/p2> <http://example/o2> >> <http://example/a2> <http://example/b2> <http://example/G> .
53
<http://example/s> <http://example/p2> <http://example/o3> <http://example/G> .
6-
<< <http://example/s> <http://example/p2> <http://example/o3> >> <http://example/a3> <http://example/b3> <http://example/G> .
4+
_:a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<(<http://example/s> <http://example/p> <http://example/o>)>> <http://example/G> .
5+
_:a0 <http://example/a> <http://example/b> <http://example/G> .
6+
_:a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<(<http://example/s> <http://example/p2> <http://example/o2>)>> <http://example/G> .
7+
_:a1 <http://example/a2> <http://example/b2> <http://example/G> .
8+
_:a2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#reifies> <<(<http://example/s> <http://example/p2> <http://example/o3>)>> <http://example/G> .
9+
_:a2 <http://example/a3> <http://example/b3> <http://example/G> .

0 commit comments

Comments
 (0)