File tree Expand file tree Collapse file tree 5 files changed +39
-1
lines changed Expand file tree Collapse file tree 5 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+ SELECT * { GRAPH <data-g1.ttl> {} }
Original file line number Diff line number Diff line change
1
+ @prefix rs: <http://www.w3.org/2001/sw/DataAccess/tests/result-set#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+
4
+ [] rdf:type rs:ResultSet ;
5
+ rs:solution [] .
Original file line number Diff line number Diff line change
1
+ PREFIX ex: <http://example.org/>
2
+
3
+ SELECT * { GRAPH ex:unknown {} }
Original file line number Diff line number Diff line change
1
+ @prefix rs: <http://www.w3.org/2001/sw/DataAccess/tests/result-set#> .
2
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3
+
4
+ [] rdf:type rs:ResultSet .
Original file line number Diff line number Diff line change 22
22
:dawg-graph-10b
23
23
:dawg-graph-11
24
24
:graph-empty
25
+ :graph-exist
26
+ :graph-not-exist
25
27
).
26
28
27
29
:dawg-graph-01 rdf:type mf:QueryEvaluationTest ;
168
170
169
171
:graph-empty rdf:type mf:QueryEvaluationTest ;
170
172
mf:name " graph-empty" ;
171
- rdfs:comment " Graph with empty BGP: list all named graphs" ;
173
+ rdfs:comment " Variable graph with empty BGP: list all named graphs" ;
172
174
mf:action
173
175
[ qt:query <graph-empty.rq> ;
174
176
qt:data <data-g1.ttl> ;
177
179
] ;
178
180
mf:result <graph-empty.ttl> ;
179
181
.
182
+
183
+ :graph-exist rdf:type mf:QueryEvaluationTest ;
184
+ mf:name " graph-exist" ;
185
+ rdfs:comment " Set graph with empty BGP: returns an empty tuple because the graph exists" ;
186
+ mf:action
187
+ [ qt:query <graph-empty-exist.rq> ;
188
+ qt:data <data-g1.ttl> ;
189
+ qt:graphData <data-g1.ttl> ;
190
+ qt:graphData <data-g2.ttl> ;
191
+ ] ;
192
+ mf:result <graph-empty-exist.ttl> ;
193
+ .
194
+ :graph-not-exist rdf:type mf:QueryEvaluationTest ;
195
+ mf:name " graph-not-exist" ;
196
+ rdfs:comment " Set graph with empty BGP: returns an empty tuple because the graph exists" ;
197
+ mf:action
198
+ [ qt:query <graph-empty-not-exist.rq> ;
199
+ qt:data <data-g1.ttl> ;
200
+ qt:graphData <data-g1.ttl> ;
201
+ qt:graphData <data-g2.ttl> ;
202
+ ] ;
203
+ mf:result <graph-empty-not-exist.ttl> ;
204
+ .
You can’t perform that action at this time.
0 commit comments