|
5 | 5 | @prefix test: <http://www.w3.org/2006/03/test-description#> . |
6 | 6 | @base <http://w3id.org/rml/core/test/> . |
7 | 7 |
|
| 8 | +# java -jar .\burp.jar -m manifest.rml.ttl -o manifest.ttl -b http://w3id.org/rml/core/test/ |
| 9 | + |
| 10 | +_:source |
| 11 | + rml:source [ |
| 12 | + a rml:RelativePathSource ; |
| 13 | + rml:path "metadata.csv" ; |
| 14 | + rml:null ""; |
| 15 | + ]; |
| 16 | + rml:referenceFormulation rml:CSV; |
| 17 | +. |
| 18 | + |
8 | 19 | <#TriplesMapTestcase> |
9 | 20 | a rml:TriplesMap; |
10 | 21 |
|
11 | | - rml:logicalSource [ |
12 | | - rml:source "metadata.csv"; |
13 | | - rml:referenceFormulation rml:CSV; |
14 | | - ]; |
| 22 | + rml:logicalSource _:source; |
15 | 23 |
|
16 | 24 | rml:subjectMap [ |
17 | 25 | rml:reference "ID"; |
|
110 | 118 | <#TriplesMapInput1> |
111 | 119 | a rml:TriplesMap; |
112 | 120 |
|
113 | | - rml:logicalSource [ |
114 | | - rml:source "metadata.csv"; |
115 | | - rml:referenceFormulation rml:CSV; |
116 | | - ]; |
| 121 | + rml:logicalSource _:source ; |
117 | 122 |
|
118 | 123 | rml:subjectMap [ |
119 | | - rml:template "{ID}/input/{input1}/"; |
| 124 | + rml:template "{ID}/input/{input1}"; |
120 | 125 | rml:class rmltest:Input; |
121 | 126 | ]; |
122 | 127 |
|
|
138 | 143 | <#TriplesMapInput2> |
139 | 144 | a rml:TriplesMap; |
140 | 145 |
|
141 | | - rml:logicalSource [ |
142 | | - rml:source "metadata.csv"; |
143 | | - rml:referenceFormulation rml:CSV; |
144 | | - ]; |
| 146 | + rml:logicalSource _:source; |
145 | 147 |
|
146 | 148 | rml:subjectMap [ |
147 | | - rml:template "{ID}/input/{input2}/"; |
| 149 | + rml:template "{ID}/input/{input2}"; |
148 | 150 | rml:class rmltest:Input; |
149 | 151 | ]; |
150 | 152 |
|
|
166 | 168 | <#TriplesMapInput3> |
167 | 169 | a rml:TriplesMap; |
168 | 170 |
|
169 | | - rml:logicalSource [ |
170 | | - rml:source "metadata.csv"; |
171 | | - rml:referenceFormulation rml:CSV; |
172 | | - ]; |
| 171 | + rml:logicalSource _:source; |
173 | 172 |
|
174 | 173 | rml:subjectMap [ |
175 | | - rml:template "{ID}/input/{input3}/"; |
| 174 | + rml:template "{ID}/input/{input3}"; |
176 | 175 | rml:class rmltest:Input; |
177 | 176 | ]; |
178 | 177 |
|
|
194 | 193 | <#TriplesMapOutput1> |
195 | 194 | a rml:TriplesMap; |
196 | 195 |
|
197 | | - rml:logicalSource [ |
198 | | - rml:source "metadata.csv"; |
199 | | - rml:referenceFormulation rml:CSV; |
200 | | - ]; |
| 196 | + rml:logicalSource _:source; |
201 | 197 |
|
202 | 198 | rml:subjectMap [ |
203 | | - rml:template "{ID}/output/{output1}/"; |
| 199 | + rml:template "{ID}/output/{output1}"; |
204 | 200 | rml:class rmltest:Output; |
205 | 201 | ]; |
206 | 202 |
|
|
222 | 218 | <#TriplesMapOutput2> |
223 | 219 | a rml:TriplesMap; |
224 | 220 |
|
225 | | - rml:logicalSource [ |
226 | | - rml:source "metadata.csv"; |
227 | | - rml:referenceFormulation rml:CSV; |
228 | | - ]; |
| 221 | + rml:logicalSource _:source; |
229 | 222 |
|
230 | 223 | rml:subjectMap [ |
231 | | - rml:template "{ID}/output/{output2}/"; |
| 224 | + rml:template "{ID}/output/{output2}"; |
232 | 225 | rml:class rmltest:Output; |
233 | 226 | ]; |
234 | 227 |
|
|
250 | 243 | <#TriplesMapOutput3> |
251 | 244 | a rml:TriplesMap; |
252 | 245 |
|
253 | | - rml:logicalSource [ |
254 | | - rml:source "metadata.csv"; |
255 | | - rml:referenceFormulation rml:CSV; |
256 | | - ]; |
| 246 | + rml:logicalSource _:source; |
257 | 247 |
|
258 | 248 | rml:subjectMap [ |
259 | | - rml:template "{ID}/output/{output3}/"; |
| 249 | + rml:template "{ID}/output/{output3}"; |
260 | 250 | rml:class rmltest:Output; |
261 | 251 | ]; |
262 | 252 |
|
|
0 commit comments