blob: 144a86625ffc76af9455a0373bde5ce69798f898 (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
@prefix qt: <http://www.w3.org/2001/sw/DataAccess/tests/test-query#> .
@prefix dawgt: <http://www.w3.org/2001/sw/DataAccess/tests/test-dawg#> .
@prefix : <http://raw.github.com/RDFLib/rdflib/master/test/DAWG/rdflib/manifest.ttl#> .
<> a mf:Manifest ;
rdfs:label "RDFLib Extra SPARQL tests" ;
mf:entries
(
:unicode
:nestedbnode
:whitespacedot
:minusfilter
:notexistsfilter
:bindscope
:bindscope2
) .
:opt-subquery rdf:type mf:QueryEvaluationTest ;
mf:name "OPTIONAL SUB-QUERY";
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/> ;
mf:action
[ qt:query <optsubq.rq> ;
qt:data <optsubq.ttl> ] ;
mf:result <optsubq.srx>
.
:unicode rdf:type mf:QueryEvaluationTest ;
mf:name "Unicode in SPARQL queries";
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action
[ qt:query <unicode.rq> ;
qt:data <unicode.ttl> ] ;
mf:result <unicode.srx>
.
:nestedbnode rdf:type mf:QueryEvaluationTest ;
mf:name "Nestedbnode in SPARQL queries";
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action
[ qt:query <nestedbnode.rq> ] ;
mf:result <nestedbnode.srx>
.
:whitespacedot rdf:type mf:PositiveSyntaxTest11 ;
mf:name "Dot without whitespace after triple-pattern";
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action <whitespacedot.rq>
.
:minusfilter rdf:type mf:QueryEvaluationTest ;
mf:name "Filter in MINUS";
rdfs:comment """' with MINUS, the FILTER inside the pattern does not have a value for ?n and it is always unbound:'
From https://github.com/RDFLib/rdflib/issues/615, contributed by https://github.com/pfps""" ;
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action
[ qt:query <minusfilter.rq> ;
qt:data <minusfilter.ttl> ] ;
mf:result <minusfilter.srx>
.
:notexistsfilter rdf:type mf:QueryEvaluationTest ;
mf:name "Filter in NOT EXISTS";
rdfs:comment """'the FILTER inside the NOT EXISTS has access to the value of ?n for the solution being considered.'
From https://github.com/RDFLib/rdflib/issues/615, contributed by https://github.com/pfps""" ;
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action
[ qt:query <notexistsfilter.rq> ;
qt:data <minusfilter.ttl> ] ;
mf:result <notexistsfilter.srx>
.
:bindscope rdf:type mf:QueryEvaluationTest ;
mf:name "Scope of bind in groups";
rdfs:comment """
From https://github.com/RDFLib/rdflib/issues/580, contributed by https://github.com/pchampin
""";
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action
[ qt:query <bindscope.rq> ;
qt:data <bindscope.ttl> ] ;
mf:result <bindscope.srx>
.
:bindscope2 rdf:type mf:QueryEvaluationTest ;
mf:name "Scope of bind in groups2";
rdfs:comment """
From https://github.com/RDFLib/rdflib/issues/580, contributed by https://github.com/pchampin
""";
dawgt:approval dawgt:Approved ;
dawgt:approvedBy <http://gromgull.net/me> ;
mf:action
[ qt:query <bindscope2.rq> ;
qt:data <bindscope.ttl> ] ;
mf:result <bindscope2.tsv>
.
|