summaryrefslogtreecommitdiff
path: root/test/DAWG/rdflib/manifest.ttl
blob: 87ecdcad5f4bc713e3c60347515588b8f5a1f67a (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
@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
    :filtersubquery1
    :filtersubquery2
    :filtersubquery3
    :filteroptional

    :subquery1
    :subquery2
    :subquery3

	) .


: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>
    .

:filtersubquery1 rdf:type mf:QueryEvaluationTest ;
    mf:name "filters in subqueries 1";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/619, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <filtersubquery1.rq> ] ;
    mf:result  <filtersubquery.tsv>
    .


:filtersubquery2 rdf:type mf:QueryEvaluationTest ;
    mf:name "filters in subqueries 2 - filter in first subquery";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/619, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <filtersubquery2.rq> ] ;
    mf:result  <filtersubquery.tsv>
    .


:filtersubquery3 rdf:type mf:QueryEvaluationTest ;
    mf:name "filters in subqueries 2 - filter in second subquery";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/619, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <filtersubquery3.rq> ] ;
    mf:result  <filtersubquery.tsv>
    .


:filteroptional rdf:type mf:QueryEvaluationTest ;
    mf:name "filters in optional";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/619, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <filteroptional.rq> ] ;
    mf:result  <filtersubquery.tsv>
    .


:subquery1 rdf:type mf:QueryEvaluationTest ;
    mf:name "subquery1";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/607, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <subquery1.rq> ;
           qt:data <subquery.ttl> ] ;
    mf:result  <subquery.tsv>
    .


:subquery2 rdf:type mf:QueryEvaluationTest ;
    mf:name "subquery2";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/607, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <subquery2.rq> ;
           qt:data <subquery.ttl> ] ;
    mf:result  <subquery.tsv>
    .


:subquery3 rdf:type mf:QueryEvaluationTest ;
    mf:name "subquery3";
    rdfs:comment """
    From https://github.com/RDFLib/rdflib/issues/607, contributed by https://github.com/pfps
""";
    dawgt:approval dawgt:Approved ;
    dawgt:approvedBy <http://gromgull.net/me> ;
    mf:action
         [ qt:query <subquery3.rq> ;
           qt:data <subquery.ttl> ] ;
    mf:result  <subquery.tsv>
    .