Committing possible changes in TRANSFORM-ddr (that had not been committed
before).
Showing
2 changed files
with
404 additions
and
403 deletions
1 | -# Saved by TopBraid on Fri Aug 26 10:12:24 PDT 2011 | 1 | +# Saved by TopBraid on Fri Aug 26 16:10:49 PDT 2011 |
2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/report | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/report |
4 | # imports: http://www.reportinghub.no/ep/schema/1.0/well | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/well |
... | @@ -43,7 +43,7 @@ ddr:Cs_activity | ... | @@ -43,7 +43,7 @@ ddr:Cs_activity |
43 | sxml:element "witsml:activity"^^xsd:string . | 43 | sxml:element "witsml:activity"^^xsd:string . |
44 | 44 | ||
45 | ddr:Cs_alias | 45 | ddr:Cs_alias |
46 | - sxml:element "witsml:rigAlias"^^xsd:string , "witsml:alias" . | 46 | + sxml:element "witsml:alias" , "witsml:rigAlias"^^xsd:string . |
47 | 47 | ||
48 | ddr:Cs_bitRecord | 48 | ddr:Cs_bitRecord |
49 | sxml:element "witsml:bitRecord" . | 49 | sxml:element "witsml:bitRecord" . |
... | @@ -136,7 +136,7 @@ ddr:Cs_refWellWellboreRig | ... | @@ -136,7 +136,7 @@ ddr:Cs_refWellWellboreRig |
136 | sxml:element "witsml:refWellWellboreRig" . | 136 | sxml:element "witsml:refWellWellboreRig" . |
137 | 137 | ||
138 | ddr:Cs_wellAlias | 138 | ddr:Cs_wellAlias |
139 | - sxml:element "witsml:wellboreAlias"^^xsd:string , "witsml:wellAlias"^^xsd:string . | 139 | + sxml:element "witsml:wellAlias"^^xsd:string , "witsml:wellboreAlias"^^xsd:string . |
140 | 140 | ||
141 | ddr:Cs_wellCRS | 141 | ddr:Cs_wellCRS |
142 | sxml:element "witsml:wellCRS" . | 142 | sxml:element "witsml:wellCRS" . |
... | @@ -153,238 +153,209 @@ ddr:Obj_drillReport | ... | @@ -153,238 +153,209 @@ ddr:Obj_drillReport |
153 | ddr:Thing | 153 | ddr:Thing |
154 | spin:rule | 154 | spin:rule |
155 | [ rdf:type sp:Construct ; | 155 | [ rdf:type sp:Construct ; |
156 | - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; | 156 | + rdfs:comment "STEP 009 - Construct all datatype values"^^xsd:string ; |
157 | sp:templates ([ sp:object _:b1 ; | 157 | sp:templates ([ sp:object _:b1 ; |
158 | - sp:predicate rdf:type ; | 158 | + sp:predicate _:b2 ; |
159 | - sp:subject _:b2 | ||
160 | - ] [ sp:object _:b3 ; | ||
161 | - sp:predicate ddr:uom ; | ||
162 | - sp:subject _:b2 | ||
163 | - ] [ sp:object _:b4 ; | ||
164 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
165 | - sp:subject _:b2 | ||
166 | - ] [ sp:object _:b2 ; | ||
167 | - sp:predicate _:b5 ; | ||
168 | sp:subject spin:_this | 159 | sp:subject spin:_this |
169 | ] [ sp:object rdf:Statement ; | 160 | ] [ sp:object rdf:Statement ; |
170 | sp:predicate rdf:type ; | 161 | sp:predicate rdf:type ; |
171 | - sp:subject _:b6 | 162 | + sp:subject _:b3 |
172 | ] [ sp:object spin:_this ; | 163 | ] [ sp:object spin:_this ; |
173 | sp:predicate rdf:subject ; | 164 | sp:predicate rdf:subject ; |
174 | - sp:subject _:b6 | 165 | + sp:subject _:b3 |
175 | - ] [ sp:object _:b5 ; | 166 | + ] [ sp:object _:b2 ; |
176 | sp:predicate rdf:predicate ; | 167 | sp:predicate rdf:predicate ; |
177 | - sp:subject _:b6 | 168 | + sp:subject _:b3 |
178 | - ] [ sp:object _:b4 ; | 169 | + ] [ sp:object _:b1 ; |
179 | sp:predicate rdf:object ; | 170 | sp:predicate rdf:object ; |
180 | - sp:subject _:b6 | 171 | + sp:subject _:b3 |
181 | - ] [ sp:object _:b6 ; | 172 | + ] [ sp:object _:b3 ; |
182 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 173 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
183 | - sp:subject _:b7 | 174 | + sp:subject _:b4 |
184 | ]) ; | 175 | ]) ; |
185 | - sp:where ([ sp:object _:b7 ; | 176 | + sp:where ([ sp:object _:b4 ; |
186 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 177 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
187 | sp:subject spin:_this | 178 | sp:subject spin:_this |
188 | - ] [ sp:object _:b8 ; | 179 | + ] [ sp:object _:b5 ; |
189 | sp:predicate rdf:type ; | 180 | sp:predicate rdf:type ; |
190 | - sp:subject _:b7 | 181 | + sp:subject _:b4 |
191 | - ] [ sp:object _:b3 ; | ||
192 | - sp:predicate ddr:uom ; | ||
193 | - sp:subject _:b7 | ||
194 | ] [ rdf:type sp:NotExists ; | 182 | ] [ rdf:type sp:NotExists ; |
195 | sp:elements ([ sp:object | 183 | sp:elements ([ sp:object |
196 | [ sp:varName "aNode"^^xsd:string | 184 | [ sp:varName "aNode"^^xsd:string |
197 | ] ; | 185 | ] ; |
198 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 186 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
199 | - sp:subject _:b7 | 187 | + sp:subject _:b4 |
200 | ]) | 188 | ]) |
201 | ] [ rdf:type sp:Bind ; | 189 | ] [ rdf:type sp:Bind ; |
202 | sp:expression | 190 | sp:expression |
203 | [ rdf:type afn:localname ; | 191 | [ rdf:type afn:localname ; |
204 | - sp:arg1 _:b8 | 192 | + sp:arg1 _:b5 |
205 | ] ; | 193 | ] ; |
206 | - sp:variable _:b9 | 194 | + sp:variable _:b6 |
207 | ] [ rdf:type sp:Bind ; | 195 | ] [ rdf:type sp:Bind ; |
208 | sp:expression | 196 | sp:expression |
209 | [ rdf:type smf:buildURI ; | 197 | [ rdf:type smf:buildURI ; |
210 | sp:arg1 [ rdf:type fn:concat ; | 198 | sp:arg1 [ rdf:type fn:concat ; |
211 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 199 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
212 | - sp:arg2 _:b9 | 200 | + sp:arg2 _:b6 |
213 | ] | 201 | ] |
214 | ] ; | 202 | ] ; |
215 | - sp:variable _:b5 | 203 | + sp:variable _:b2 |
216 | - ] [ sp:object owl:ObjectProperty ; | 204 | + ] [ sp:object owl:DatatypeProperty ; |
217 | sp:predicate rdf:type ; | 205 | sp:predicate rdf:type ; |
218 | - sp:subject _:b5 | 206 | + sp:subject _:b2 |
219 | - ] [ sp:object _:b5 ; | 207 | + ] [ sp:object _:b2 ; |
220 | sp:predicate owl:onProperty ; | 208 | sp:predicate owl:onProperty ; |
221 | - sp:subject _:b10 | 209 | + sp:subject _:b7 |
222 | - ] [ sp:object _:b1 ; | 210 | + ] [ sp:object _:b8 ; |
223 | sp:predicate owl:allValuesFrom ; | 211 | sp:predicate owl:allValuesFrom ; |
224 | - sp:subject _:b10 | 212 | + sp:subject _:b7 |
225 | - ] [ sp:object _:b11 ; | 213 | + ] [ sp:object rdfs:Datatype ; |
226 | sp:predicate rdf:type ; | 214 | sp:predicate rdf:type ; |
227 | - sp:subject spin:_this | 215 | + sp:subject _:b8 |
228 | ] [ rdf:type sp:TriplePath ; | 216 | ] [ rdf:type sp:TriplePath ; |
229 | - sp:object _:b10 ; | 217 | + sp:object _:b9 ; |
230 | sp:path [ rdf:type sp:ModPath ; | 218 | sp:path [ rdf:type sp:ModPath ; |
231 | sp:modMax -2 ; | 219 | sp:modMax -2 ; |
232 | sp:modMin 0 ; | 220 | sp:modMin 0 ; |
233 | sp:subPath rdfs:subClassOf | 221 | sp:subPath rdfs:subClassOf |
234 | ] ; | 222 | ] ; |
235 | - sp:subject _:b11 | 223 | + sp:subject _:b8 |
236 | - ] [ sp:object _:b12 ; | 224 | + ] [ rdf:type sp:Filter ; |
225 | + sp:expression | ||
226 | + [ rdf:type sp:eq ; | ||
227 | + sp:arg1 [ rdf:type afn:namespace ; | ||
228 | + sp:arg1 _:b9 | ||
229 | + ] ; | ||
230 | + sp:arg2 "http://www.w3.org/2001/XMLSchema#" | ||
231 | + ] | ||
232 | + ] [ sp:object _:b10 ; | ||
237 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 233 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
238 | - sp:subject _:b7 | 234 | + sp:subject _:b4 |
239 | ] [ sp:object sxml:TextNode ; | 235 | ] [ sp:object sxml:TextNode ; |
240 | sp:predicate rdf:type ; | 236 | sp:predicate rdf:type ; |
241 | - sp:subject _:b12 | 237 | + sp:subject _:b10 |
242 | - ] [ sp:object _:b13 ; | 238 | + ] [ sp:object _:b11 ; |
243 | sp:predicate sxml:text ; | 239 | sp:predicate sxml:text ; |
240 | + sp:subject _:b10 | ||
241 | + ] [ sp:object _:b12 ; | ||
242 | + sp:predicate rdf:type ; | ||
243 | + sp:subject spin:_this | ||
244 | + ] [ rdf:type sp:TriplePath ; | ||
245 | + sp:object _:b7 ; | ||
246 | + sp:path [ rdf:type sp:ModPath ; | ||
247 | + sp:modMax -2 ; | ||
248 | + sp:modMin 0 ; | ||
249 | + sp:subPath rdfs:subClassOf | ||
250 | + ] ; | ||
244 | sp:subject _:b12 | 251 | sp:subject _:b12 |
245 | ] [ rdf:type sp:Bind ; | 252 | ] [ rdf:type sp:Bind ; |
246 | sp:expression | 253 | sp:expression |
247 | - [ rdf:type xsd:double ; | 254 | + [ rdf:type spif:cast ; |
248 | - sp:arg1 _:b13 | 255 | + sp:arg1 _:b11 |
249 | ] ; | 256 | ] ; |
250 | - sp:variable _:b4 | 257 | + sp:variable _:b1 |
251 | ]) | 258 | ]) |
252 | ] ; | 259 | ] ; |
253 | spin:rule | 260 | spin:rule |
254 | [ rdf:type sp:Construct ; | 261 | [ rdf:type sp:Construct ; |
255 | - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; | 262 | + rdfs:comment "STEP 020 - Construct all other object properties"^^xsd:string ; |
256 | - sp:templates ([ sp:object _:b14 ; | 263 | + sp:templates ([ sp:object _:b13 ; |
257 | - sp:predicate _:b15 ; | 264 | + sp:predicate _:b14 ; |
258 | sp:subject spin:_this | 265 | sp:subject spin:_this |
259 | ] [ sp:object rdf:Statement ; | 266 | ] [ sp:object rdf:Statement ; |
260 | sp:predicate rdf:type ; | 267 | sp:predicate rdf:type ; |
261 | - sp:subject _:b16 | 268 | + sp:subject _:b15 |
262 | ] [ sp:object spin:_this ; | 269 | ] [ sp:object spin:_this ; |
263 | sp:predicate rdf:subject ; | 270 | sp:predicate rdf:subject ; |
264 | - sp:subject _:b16 | 271 | + sp:subject _:b15 |
265 | - ] [ sp:object _:b15 ; | ||
266 | - sp:predicate rdf:predicate ; | ||
267 | - sp:subject _:b16 | ||
268 | ] [ sp:object _:b14 ; | 272 | ] [ sp:object _:b14 ; |
273 | + sp:predicate rdf:predicate ; | ||
274 | + sp:subject _:b15 | ||
275 | + ] [ sp:object _:b13 ; | ||
269 | sp:predicate rdf:object ; | 276 | sp:predicate rdf:object ; |
270 | - sp:subject _:b16 | 277 | + sp:subject _:b15 |
271 | - ] [ sp:object _:b16 ; | 278 | + ] [ sp:object _:b15 ; |
272 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 279 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
273 | - sp:subject _:b17 | 280 | + sp:subject _:b13 |
274 | ]) ; | 281 | ]) ; |
275 | - sp:where ([ sp:object _:b17 ; | 282 | + sp:where ([ sp:object _:b16 ; |
283 | + sp:predicate owl:allValuesFrom ; | ||
284 | + sp:subject _:b17 | ||
285 | + ] [ sp:object _:b14 ; | ||
286 | + sp:predicate owl:onProperty ; | ||
287 | + sp:subject _:b17 | ||
288 | + ] [ sp:object _:b16 ; | ||
289 | + sp:predicate rdf:type ; | ||
290 | + sp:subject _:b13 | ||
291 | + ] [ sp:object _:b13 ; | ||
276 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 292 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
277 | sp:subject spin:_this | 293 | sp:subject spin:_this |
278 | - ] [ sp:object _:b18 ; | ||
279 | - sp:predicate rdf:type ; | ||
280 | - sp:subject _:b17 | ||
281 | ] [ rdf:type sp:NotExists ; | 294 | ] [ rdf:type sp:NotExists ; |
282 | sp:elements ([ sp:object | 295 | sp:elements ([ sp:object |
283 | - [ sp:varName "uom"^^xsd:string | 296 | + [ sp:varName "aNode"^^xsd:string |
284 | ] ; | 297 | ] ; |
285 | - sp:predicate ddr:uom ; | 298 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
286 | - sp:subject _:b17 | 299 | + sp:subject _:b13 |
287 | ]) | 300 | ]) |
288 | - ] [ rdf:type sp:Bind ; | 301 | + ] [ rdf:type sp:NotExists ; |
289 | - sp:expression | 302 | + sp:elements ([ sp:object |
290 | - [ rdf:type smf:titleCase ; | 303 | + [ sp:varName "xmlTag"^^xsd:string |
291 | - sp:arg1 [ rdf:type afn:localname ; | ||
292 | - sp:arg1 _:b18 | ||
293 | - ] | ||
294 | - ] ; | ||
295 | - sp:variable _:b19 | ||
296 | - ] [ rdf:type sp:Bind ; | ||
297 | - sp:expression | ||
298 | - [ rdf:type smf:buildURI ; | ||
299 | - sp:arg1 [ rdf:type fn:concat ; | ||
300 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; | ||
301 | - sp:arg2 _:b19 | ||
302 | - ] | ||
303 | ] ; | 304 | ] ; |
304 | - sp:variable _:b15 | 305 | + sp:predicate sxml:tag ; |
305 | - ] [ sp:object owl:ObjectProperty ; | 306 | + sp:subject _:b13 |
306 | - sp:predicate rdf:type ; | 307 | + ]) |
307 | - sp:subject _:b15 | 308 | + ] [ sp:object _:b18 ; |
308 | - ] [ sp:object _:b15 ; | ||
309 | - sp:predicate owl:onProperty ; | ||
310 | - sp:subject _:b20 | ||
311 | - ] [ sp:object _:b21 ; | ||
312 | - sp:predicate owl:allValuesFrom ; | ||
313 | - sp:subject _:b20 | ||
314 | - ] [ sp:object _:b22 ; | ||
315 | sp:predicate rdf:type ; | 309 | sp:predicate rdf:type ; |
316 | sp:subject spin:_this | 310 | sp:subject spin:_this |
317 | ] [ rdf:type sp:TriplePath ; | 311 | ] [ rdf:type sp:TriplePath ; |
318 | - sp:object _:b20 ; | 312 | + sp:object _:b17 ; |
319 | - sp:path [ rdf:type sp:ModPath ; | ||
320 | - sp:modMax -2 ; | ||
321 | - sp:modMin 0 ; | ||
322 | - sp:subPath rdfs:subClassOf | ||
323 | - ] ; | ||
324 | - sp:subject _:b22 | ||
325 | - ] [ rdf:type sp:TriplePath ; | ||
326 | - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | ||
327 | sp:path [ rdf:type sp:ModPath ; | 313 | sp:path [ rdf:type sp:ModPath ; |
328 | sp:modMax -2 ; | 314 | sp:modMax -2 ; |
329 | sp:modMin 0 ; | 315 | sp:modMin 0 ; |
330 | sp:subPath rdfs:subClassOf | 316 | sp:subPath rdfs:subClassOf |
331 | ] ; | 317 | ] ; |
332 | - sp:subject _:b21 | 318 | + sp:subject _:b18 |
333 | - ] [ sp:object _:b23 ; | ||
334 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
335 | - sp:subject _:b17 | ||
336 | - ] [ sp:object sxml:TextNode ; | ||
337 | - sp:predicate rdf:type ; | ||
338 | - sp:subject _:b23 | ||
339 | - ] [ sp:object _:b24 ; | ||
340 | - sp:predicate sxml:text ; | ||
341 | - sp:subject _:b23 | ||
342 | - ] [ sp:object _:b21 ; | ||
343 | - sp:predicate rdf:type ; | ||
344 | - sp:subject _:b14 | ||
345 | - ] [ sp:object _:b24 ; | ||
346 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
347 | - sp:subject _:b14 | ||
348 | ]) | 319 | ]) |
349 | ] ; | 320 | ] ; |
350 | spin:rule | 321 | spin:rule |
351 | [ rdf:type sp:Construct ; | 322 | [ rdf:type sp:Construct ; |
352 | rdfs:comment "STEP 018 - Construct all object properties that need to match on tags"^^xsd:string ; | 323 | rdfs:comment "STEP 018 - Construct all object properties that need to match on tags"^^xsd:string ; |
353 | - sp:templates ([ sp:object _:b25 ; | 324 | + sp:templates ([ sp:object _:b19 ; |
354 | - sp:predicate _:b26 ; | 325 | + sp:predicate _:b20 ; |
355 | sp:subject spin:_this | 326 | sp:subject spin:_this |
356 | ] [ sp:object rdf:Statement ; | 327 | ] [ sp:object rdf:Statement ; |
357 | sp:predicate rdf:type ; | 328 | sp:predicate rdf:type ; |
358 | - sp:subject _:b27 | 329 | + sp:subject _:b21 |
359 | ] [ sp:object spin:_this ; | 330 | ] [ sp:object spin:_this ; |
360 | sp:predicate rdf:subject ; | 331 | sp:predicate rdf:subject ; |
361 | - sp:subject _:b27 | 332 | + sp:subject _:b21 |
362 | - ] [ sp:object _:b26 ; | 333 | + ] [ sp:object _:b20 ; |
363 | sp:predicate rdf:predicate ; | 334 | sp:predicate rdf:predicate ; |
364 | - sp:subject _:b27 | 335 | + sp:subject _:b21 |
365 | - ] [ sp:object _:b25 ; | 336 | + ] [ sp:object _:b19 ; |
366 | sp:predicate rdf:object ; | 337 | sp:predicate rdf:object ; |
367 | - sp:subject _:b27 | 338 | + sp:subject _:b21 |
368 | - ] [ sp:object _:b27 ; | 339 | + ] [ sp:object _:b21 ; |
369 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 340 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
370 | - sp:subject _:b25 | 341 | + sp:subject _:b19 |
371 | ]) ; | 342 | ]) ; |
372 | - sp:where ([ sp:object _:b28 ; | 343 | + sp:where ([ sp:object _:b22 ; |
373 | sp:predicate owl:allValuesFrom ; | 344 | sp:predicate owl:allValuesFrom ; |
374 | - sp:subject _:b29 | 345 | + sp:subject _:b23 |
375 | - ] [ sp:object _:b26 ; | 346 | + ] [ sp:object _:b20 ; |
376 | sp:predicate owl:onProperty ; | 347 | sp:predicate owl:onProperty ; |
377 | - sp:subject _:b29 | 348 | + sp:subject _:b23 |
378 | ] [ rdf:type sp:Bind ; | 349 | ] [ rdf:type sp:Bind ; |
379 | sp:expression | 350 | sp:expression |
380 | [ rdf:type afn:localname ; | 351 | [ rdf:type afn:localname ; |
381 | - sp:arg1 _:b26 | 352 | + sp:arg1 _:b20 |
382 | ] ; | 353 | ] ; |
383 | - sp:variable _:b30 | 354 | + sp:variable _:b24 |
384 | - ] [ sp:object _:b28 ; | 355 | + ] [ sp:object _:b22 ; |
385 | sp:predicate rdf:type ; | 356 | sp:predicate rdf:type ; |
386 | - sp:subject _:b25 | 357 | + sp:subject _:b19 |
387 | - ] [ sp:object _:b25 ; | 358 | + ] [ sp:object _:b19 ; |
388 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 359 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
389 | sp:subject spin:_this | 360 | sp:subject spin:_this |
390 | ] [ rdf:type sp:NotExists ; | 361 | ] [ rdf:type sp:NotExists ; |
... | @@ -392,161 +363,209 @@ ddr:Thing | ... | @@ -392,161 +363,209 @@ ddr:Thing |
392 | [ sp:varName "aNode"^^xsd:string | 363 | [ sp:varName "aNode"^^xsd:string |
393 | ] ; | 364 | ] ; |
394 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 365 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
395 | - sp:subject _:b25 | 366 | + sp:subject _:b19 |
396 | ]) | 367 | ]) |
397 | - ] [ sp:object _:b31 ; | 368 | + ] [ sp:object _:b25 ; |
398 | sp:predicate sxml:tag ; | 369 | sp:predicate sxml:tag ; |
399 | - sp:subject _:b25 | 370 | + sp:subject _:b19 |
400 | ] [ rdf:type sp:Bind ; | 371 | ] [ rdf:type sp:Bind ; |
401 | sp:expression | 372 | sp:expression |
402 | [ rdf:type smf:regex ; | 373 | [ rdf:type smf:regex ; |
403 | - sp:arg1 _:b31 ; | 374 | + sp:arg1 _:b25 ; |
404 | sp:arg2 "(.*):(.*)" ; | 375 | sp:arg2 "(.*):(.*)" ; |
405 | sp:arg3 "$2" | 376 | sp:arg3 "$2" |
406 | ] ; | 377 | ] ; |
407 | - sp:variable _:b32 | 378 | + sp:variable _:b26 |
408 | ] [ rdf:type sp:Filter ; | 379 | ] [ rdf:type sp:Filter ; |
409 | sp:expression | 380 | sp:expression |
410 | [ rdf:type sp:eq ; | 381 | [ rdf:type sp:eq ; |
411 | - sp:arg1 _:b32 ; | 382 | + sp:arg1 _:b26 ; |
412 | - sp:arg2 _:b30 | 383 | + sp:arg2 _:b24 |
413 | ] | 384 | ] |
414 | - ] [ sp:object _:b33 ; | 385 | + ] [ sp:object _:b27 ; |
415 | sp:predicate rdf:type ; | 386 | sp:predicate rdf:type ; |
416 | sp:subject spin:_this | 387 | sp:subject spin:_this |
417 | ] [ rdf:type sp:TriplePath ; | 388 | ] [ rdf:type sp:TriplePath ; |
418 | - sp:object _:b29 ; | 389 | + sp:object _:b23 ; |
419 | sp:path [ rdf:type sp:ModPath ; | 390 | sp:path [ rdf:type sp:ModPath ; |
420 | sp:modMax -2 ; | 391 | sp:modMax -2 ; |
421 | sp:modMin 0 ; | 392 | sp:modMin 0 ; |
422 | sp:subPath rdfs:subClassOf | 393 | sp:subPath rdfs:subClassOf |
423 | ] ; | 394 | ] ; |
424 | - sp:subject _:b33 | 395 | + sp:subject _:b27 |
425 | ]) | 396 | ]) |
426 | ] ; | 397 | ] ; |
427 | spin:rule | 398 | spin:rule |
428 | [ rdf:type sp:Construct ; | 399 | [ rdf:type sp:Construct ; |
429 | - rdfs:comment "STEP 020 - Construct all other object properties"^^xsd:string ; | 400 | + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; |
430 | - sp:templates ([ sp:object _:b34 ; | 401 | + sp:templates ([ sp:object _:b28 ; |
431 | - sp:predicate _:b35 ; | 402 | + sp:predicate _:b29 ; |
432 | sp:subject spin:_this | 403 | sp:subject spin:_this |
433 | ] [ sp:object rdf:Statement ; | 404 | ] [ sp:object rdf:Statement ; |
434 | sp:predicate rdf:type ; | 405 | sp:predicate rdf:type ; |
435 | - sp:subject _:b36 | 406 | + sp:subject _:b30 |
436 | ] [ sp:object spin:_this ; | 407 | ] [ sp:object spin:_this ; |
437 | sp:predicate rdf:subject ; | 408 | sp:predicate rdf:subject ; |
438 | - sp:subject _:b36 | 409 | + sp:subject _:b30 |
439 | - ] [ sp:object _:b35 ; | 410 | + ] [ sp:object _:b29 ; |
440 | sp:predicate rdf:predicate ; | 411 | sp:predicate rdf:predicate ; |
441 | - sp:subject _:b36 | 412 | + sp:subject _:b30 |
442 | - ] [ sp:object _:b34 ; | 413 | + ] [ sp:object _:b28 ; |
443 | sp:predicate rdf:object ; | 414 | sp:predicate rdf:object ; |
444 | - sp:subject _:b36 | 415 | + sp:subject _:b30 |
445 | - ] [ sp:object _:b36 ; | 416 | + ] [ sp:object _:b30 ; |
446 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 417 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
447 | - sp:subject _:b34 | 418 | + sp:subject _:b31 |
448 | ]) ; | 419 | ]) ; |
449 | - sp:where ([ sp:object _:b37 ; | 420 | + sp:where ([ sp:object _:b31 ; |
450 | - sp:predicate owl:allValuesFrom ; | ||
451 | - sp:subject _:b38 | ||
452 | - ] [ sp:object _:b35 ; | ||
453 | - sp:predicate owl:onProperty ; | ||
454 | - sp:subject _:b38 | ||
455 | - ] [ sp:object _:b37 ; | ||
456 | - sp:predicate rdf:type ; | ||
457 | - sp:subject _:b34 | ||
458 | - ] [ sp:object _:b34 ; | ||
459 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 421 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
460 | sp:subject spin:_this | 422 | sp:subject spin:_this |
423 | + ] [ sp:object _:b32 ; | ||
424 | + sp:predicate rdf:type ; | ||
425 | + sp:subject _:b31 | ||
461 | ] [ rdf:type sp:NotExists ; | 426 | ] [ rdf:type sp:NotExists ; |
462 | sp:elements ([ sp:object | 427 | sp:elements ([ sp:object |
463 | - [ sp:varName "aNode"^^xsd:string | 428 | + [ sp:varName "uom"^^xsd:string |
464 | ] ; | 429 | ] ; |
465 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 430 | + sp:predicate ddr:uom ; |
466 | - sp:subject _:b34 | 431 | + sp:subject _:b31 |
467 | ]) | 432 | ]) |
468 | - ] [ rdf:type sp:NotExists ; | 433 | + ] [ rdf:type sp:Bind ; |
469 | - sp:elements ([ sp:object | 434 | + sp:expression |
470 | - [ sp:varName "xmlTag"^^xsd:string | 435 | + [ rdf:type smf:titleCase ; |
436 | + sp:arg1 [ rdf:type afn:localname ; | ||
437 | + sp:arg1 _:b32 | ||
438 | + ] | ||
471 | ] ; | 439 | ] ; |
472 | - sp:predicate sxml:tag ; | 440 | + sp:variable _:b33 |
441 | + ] [ rdf:type sp:Bind ; | ||
442 | + sp:expression | ||
443 | + [ rdf:type smf:buildURI ; | ||
444 | + sp:arg1 [ rdf:type fn:concat ; | ||
445 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; | ||
446 | + sp:arg2 _:b33 | ||
447 | + ] | ||
448 | + ] ; | ||
449 | + sp:variable _:b29 | ||
450 | + ] [ sp:object owl:ObjectProperty ; | ||
451 | + sp:predicate rdf:type ; | ||
452 | + sp:subject _:b29 | ||
453 | + ] [ sp:object _:b29 ; | ||
454 | + sp:predicate owl:onProperty ; | ||
473 | sp:subject _:b34 | 455 | sp:subject _:b34 |
474 | - ]) | 456 | + ] [ sp:object _:b35 ; |
475 | - ] [ sp:object _:b39 ; | 457 | + sp:predicate owl:allValuesFrom ; |
458 | + sp:subject _:b34 | ||
459 | + ] [ sp:object _:b36 ; | ||
476 | sp:predicate rdf:type ; | 460 | sp:predicate rdf:type ; |
477 | sp:subject spin:_this | 461 | sp:subject spin:_this |
478 | ] [ rdf:type sp:TriplePath ; | 462 | ] [ rdf:type sp:TriplePath ; |
479 | - sp:object _:b38 ; | 463 | + sp:object _:b34 ; |
464 | + sp:path [ rdf:type sp:ModPath ; | ||
465 | + sp:modMax -2 ; | ||
466 | + sp:modMin 0 ; | ||
467 | + sp:subPath rdfs:subClassOf | ||
468 | + ] ; | ||
469 | + sp:subject _:b36 | ||
470 | + ] [ rdf:type sp:TriplePath ; | ||
471 | + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | ||
480 | sp:path [ rdf:type sp:ModPath ; | 472 | sp:path [ rdf:type sp:ModPath ; |
481 | sp:modMax -2 ; | 473 | sp:modMax -2 ; |
482 | sp:modMin 0 ; | 474 | sp:modMin 0 ; |
483 | sp:subPath rdfs:subClassOf | 475 | sp:subPath rdfs:subClassOf |
484 | ] ; | 476 | ] ; |
485 | - sp:subject _:b39 | 477 | + sp:subject _:b35 |
478 | + ] [ sp:object _:b37 ; | ||
479 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
480 | + sp:subject _:b31 | ||
481 | + ] [ sp:object sxml:TextNode ; | ||
482 | + sp:predicate rdf:type ; | ||
483 | + sp:subject _:b37 | ||
484 | + ] [ sp:object _:b38 ; | ||
485 | + sp:predicate sxml:text ; | ||
486 | + sp:subject _:b37 | ||
487 | + ] [ sp:object _:b35 ; | ||
488 | + sp:predicate rdf:type ; | ||
489 | + sp:subject _:b28 | ||
490 | + ] [ sp:object _:b38 ; | ||
491 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
492 | + sp:subject _:b28 | ||
486 | ]) | 493 | ]) |
487 | ] ; | 494 | ] ; |
488 | spin:rule | 495 | spin:rule |
489 | [ rdf:type sp:Construct ; | 496 | [ rdf:type sp:Construct ; |
490 | - rdfs:comment "STEP 009 - Construct all datatype values"^^xsd:string ; | 497 | + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; |
491 | - sp:templates ([ sp:object _:b40 ; | 498 | + sp:templates ([ sp:object _:b39 ; |
492 | - sp:predicate _:b41 ; | 499 | + sp:predicate rdf:type ; |
500 | + sp:subject _:b40 | ||
501 | + ] [ sp:object _:b41 ; | ||
502 | + sp:predicate ddr:uom ; | ||
503 | + sp:subject _:b40 | ||
504 | + ] [ sp:object _:b42 ; | ||
505 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
506 | + sp:subject _:b40 | ||
507 | + ] [ sp:object _:b40 ; | ||
508 | + sp:predicate _:b43 ; | ||
493 | sp:subject spin:_this | 509 | sp:subject spin:_this |
494 | ] [ sp:object rdf:Statement ; | 510 | ] [ sp:object rdf:Statement ; |
495 | sp:predicate rdf:type ; | 511 | sp:predicate rdf:type ; |
496 | - sp:subject _:b42 | 512 | + sp:subject _:b44 |
497 | ] [ sp:object spin:_this ; | 513 | ] [ sp:object spin:_this ; |
498 | sp:predicate rdf:subject ; | 514 | sp:predicate rdf:subject ; |
499 | - sp:subject _:b42 | 515 | + sp:subject _:b44 |
500 | - ] [ sp:object _:b41 ; | 516 | + ] [ sp:object _:b43 ; |
501 | sp:predicate rdf:predicate ; | 517 | sp:predicate rdf:predicate ; |
502 | - sp:subject _:b42 | 518 | + sp:subject _:b44 |
503 | - ] [ sp:object _:b40 ; | ||
504 | - sp:predicate rdf:object ; | ||
505 | - sp:subject _:b42 | ||
506 | ] [ sp:object _:b42 ; | 519 | ] [ sp:object _:b42 ; |
520 | + sp:predicate rdf:object ; | ||
521 | + sp:subject _:b44 | ||
522 | + ] [ sp:object _:b44 ; | ||
507 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 523 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
508 | - sp:subject _:b43 | 524 | + sp:subject _:b45 |
509 | ]) ; | 525 | ]) ; |
510 | - sp:where ([ sp:object _:b43 ; | 526 | + sp:where ([ sp:object _:b45 ; |
511 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 527 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
512 | sp:subject spin:_this | 528 | sp:subject spin:_this |
513 | - ] [ sp:object _:b44 ; | 529 | + ] [ sp:object _:b46 ; |
514 | sp:predicate rdf:type ; | 530 | sp:predicate rdf:type ; |
515 | - sp:subject _:b43 | 531 | + sp:subject _:b45 |
532 | + ] [ sp:object _:b41 ; | ||
533 | + sp:predicate ddr:uom ; | ||
534 | + sp:subject _:b45 | ||
516 | ] [ rdf:type sp:NotExists ; | 535 | ] [ rdf:type sp:NotExists ; |
517 | sp:elements ([ sp:object | 536 | sp:elements ([ sp:object |
518 | [ sp:varName "aNode"^^xsd:string | 537 | [ sp:varName "aNode"^^xsd:string |
519 | ] ; | 538 | ] ; |
520 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 539 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
521 | - sp:subject _:b43 | 540 | + sp:subject _:b45 |
522 | ]) | 541 | ]) |
523 | ] [ rdf:type sp:Bind ; | 542 | ] [ rdf:type sp:Bind ; |
524 | sp:expression | 543 | sp:expression |
525 | [ rdf:type afn:localname ; | 544 | [ rdf:type afn:localname ; |
526 | - sp:arg1 _:b44 | 545 | + sp:arg1 _:b46 |
527 | ] ; | 546 | ] ; |
528 | - sp:variable _:b45 | 547 | + sp:variable _:b47 |
529 | ] [ rdf:type sp:Bind ; | 548 | ] [ rdf:type sp:Bind ; |
530 | sp:expression | 549 | sp:expression |
531 | [ rdf:type smf:buildURI ; | 550 | [ rdf:type smf:buildURI ; |
532 | sp:arg1 [ rdf:type fn:concat ; | 551 | sp:arg1 [ rdf:type fn:concat ; |
533 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 552 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
534 | - sp:arg2 _:b45 | 553 | + sp:arg2 _:b47 |
535 | ] | 554 | ] |
536 | ] ; | 555 | ] ; |
537 | - sp:variable _:b41 | 556 | + sp:variable _:b43 |
538 | - ] [ sp:object owl:DatatypeProperty ; | 557 | + ] [ sp:object owl:ObjectProperty ; |
539 | sp:predicate rdf:type ; | 558 | sp:predicate rdf:type ; |
540 | - sp:subject _:b41 | 559 | + sp:subject _:b43 |
541 | - ] [ sp:object _:b41 ; | 560 | + ] [ sp:object _:b43 ; |
542 | sp:predicate owl:onProperty ; | 561 | sp:predicate owl:onProperty ; |
543 | - sp:subject _:b46 | 562 | + sp:subject _:b48 |
544 | - ] [ sp:object _:b47 ; | 563 | + ] [ sp:object _:b39 ; |
545 | sp:predicate owl:allValuesFrom ; | 564 | sp:predicate owl:allValuesFrom ; |
546 | - sp:subject _:b46 | 565 | + sp:subject _:b48 |
547 | - ] [ sp:object rdfs:Datatype ; | 566 | + ] [ sp:object _:b49 ; |
548 | sp:predicate rdf:type ; | 567 | sp:predicate rdf:type ; |
549 | - sp:subject _:b47 | 568 | + sp:subject spin:_this |
550 | ] [ rdf:type sp:TriplePath ; | 569 | ] [ rdf:type sp:TriplePath ; |
551 | sp:object _:b48 ; | 570 | sp:object _:b48 ; |
552 | sp:path [ rdf:type sp:ModPath ; | 571 | sp:path [ rdf:type sp:ModPath ; |
... | @@ -554,41 +573,22 @@ ddr:Thing | ... | @@ -554,41 +573,22 @@ ddr:Thing |
554 | sp:modMin 0 ; | 573 | sp:modMin 0 ; |
555 | sp:subPath rdfs:subClassOf | 574 | sp:subPath rdfs:subClassOf |
556 | ] ; | 575 | ] ; |
557 | - sp:subject _:b47 | 576 | + sp:subject _:b49 |
558 | - ] [ rdf:type sp:Filter ; | 577 | + ] [ sp:object _:b50 ; |
559 | - sp:expression | ||
560 | - [ rdf:type sp:eq ; | ||
561 | - sp:arg1 [ rdf:type afn:namespace ; | ||
562 | - sp:arg1 _:b48 | ||
563 | - ] ; | ||
564 | - sp:arg2 "http://www.w3.org/2001/XMLSchema#" | ||
565 | - ] | ||
566 | - ] [ sp:object _:b49 ; | ||
567 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 578 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
568 | - sp:subject _:b43 | 579 | + sp:subject _:b45 |
569 | ] [ sp:object sxml:TextNode ; | 580 | ] [ sp:object sxml:TextNode ; |
570 | sp:predicate rdf:type ; | 581 | sp:predicate rdf:type ; |
571 | - sp:subject _:b49 | 582 | + sp:subject _:b50 |
572 | - ] [ sp:object _:b50 ; | ||
573 | - sp:predicate sxml:text ; | ||
574 | - sp:subject _:b49 | ||
575 | ] [ sp:object _:b51 ; | 583 | ] [ sp:object _:b51 ; |
576 | - sp:predicate rdf:type ; | 584 | + sp:predicate sxml:text ; |
577 | - sp:subject spin:_this | 585 | + sp:subject _:b50 |
578 | - ] [ rdf:type sp:TriplePath ; | ||
579 | - sp:object _:b46 ; | ||
580 | - sp:path [ rdf:type sp:ModPath ; | ||
581 | - sp:modMax -2 ; | ||
582 | - sp:modMin 0 ; | ||
583 | - sp:subPath rdfs:subClassOf | ||
584 | - ] ; | ||
585 | - sp:subject _:b51 | ||
586 | ] [ rdf:type sp:Bind ; | 586 | ] [ rdf:type sp:Bind ; |
587 | sp:expression | 587 | sp:expression |
588 | - [ rdf:type spif:cast ; | 588 | + [ rdf:type xsd:double ; |
589 | - sp:arg1 _:b50 | 589 | + sp:arg1 _:b51 |
590 | ] ; | 590 | ] ; |
591 | - sp:variable _:b40 | 591 | + sp:variable _:b42 |
592 | ]) | 592 | ]) |
593 | ] . | 593 | ] . |
594 | 594 | ||
... | @@ -614,107 +614,107 @@ ddr:version | ... | @@ -614,107 +614,107 @@ ddr:version |
614 | owl:Thing | 614 | owl:Thing |
615 | spin:query | 615 | spin:query |
616 | [ rdf:type sp:Select ; | 616 | [ rdf:type sp:Select ; |
617 | - sp:resultVariables (_:b52 _:b53 _:b54 _:b55) ; | 617 | + sp:where ([ sp:object |
618 | + [ sp:varName "p"^^xsd:string | ||
619 | + ] ; | ||
620 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
621 | + sp:subject _:b52 | ||
622 | + ] [ rdf:type sp:NotExists ; | ||
623 | + sp:elements ([ sp:object | ||
624 | + [ sp:varName "b"^^xsd:string | ||
625 | + ] ; | ||
626 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
627 | + sp:subject _:b52 | ||
628 | + ]) | ||
629 | + ]) | ||
630 | + ] ; | ||
631 | + spin:query | ||
632 | + [ rdf:type sp:Select ; | ||
633 | + sp:resultVariables (_:b53 _:b54 _:b55 _:b56) ; | ||
634 | + sp:where ([ sp:object _:b56 ; | ||
635 | + sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
636 | + sp:subject _:b55 | ||
637 | + ] [ sp:object _:b55 ; | ||
638 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
639 | + sp:subject _:b54 | ||
640 | + ] [ rdf:type sp:Union ; | ||
641 | + sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
642 | + sp:predicate rdf:type ; | ||
643 | + sp:subject _:b54 | ||
644 | + ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | ||
645 | + sp:predicate rdf:type ; | ||
646 | + sp:subject _:b54 | ||
647 | + ])) | ||
648 | + ] [ sp:object _:b54 ; | ||
649 | + sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
650 | + sp:subject _:b53 | ||
651 | + ]) | ||
652 | + ] ; | ||
653 | + spin:query | ||
654 | + [ rdf:type sp:Select ; | ||
655 | + sp:resultVariables (_:b57 _:b58 _:b59 _:b60) ; | ||
618 | sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; | 656 | sp:where ([ sp:object <http://topbraid.org/sxsd#ComplexType> ; |
619 | sp:predicate rdf:type ; | 657 | sp:predicate rdf:type ; |
620 | - sp:subject _:b56 | 658 | + sp:subject _:b61 |
621 | ] [ rdf:type sp:TriplePath ; | 659 | ] [ rdf:type sp:TriplePath ; |
622 | - sp:object _:b57 ; | 660 | + sp:object _:b62 ; |
623 | sp:path [ rdf:type sp:ModPath ; | 661 | sp:path [ rdf:type sp:ModPath ; |
624 | sp:modMax -2 ; | 662 | sp:modMax -2 ; |
625 | sp:modMin 0 ; | 663 | sp:modMin 0 ; |
626 | sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> | 664 | sp:subPath <http://www.topbraid.org/2007/05/composite.owl#child> |
627 | ] ; | 665 | ] ; |
628 | - sp:subject _:b56 | 666 | + sp:subject _:b61 |
629 | - ] [ sp:object _:b58 ; | 667 | + ] [ sp:object _:b63 ; |
630 | sp:predicate <http://topbraid.org/sxsd#name> ; | 668 | sp:predicate <http://topbraid.org/sxsd#name> ; |
631 | - sp:subject _:b56 | 669 | + sp:subject _:b61 |
632 | - ] [ sp:object _:b55 ; | 670 | + ] [ sp:object _:b60 ; |
633 | sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | 671 | sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; |
634 | - sp:subject _:b57 | 672 | + sp:subject _:b62 |
635 | - ] [ sp:object _:b59 ; | 673 | + ] [ sp:object _:b64 ; |
636 | sp:predicate <http://topbraid.org/sxsd#name> ; | 674 | sp:predicate <http://topbraid.org/sxsd#name> ; |
637 | - sp:subject _:b57 | 675 | + sp:subject _:b62 |
638 | ] [ rdf:type sp:Bind ; | 676 | ] [ rdf:type sp:Bind ; |
639 | sp:expression | 677 | sp:expression |
640 | [ rdf:type spif:titleCase ; | 678 | [ rdf:type spif:titleCase ; |
641 | - sp:arg1 _:b59 | 679 | + sp:arg1 _:b64 |
642 | ] ; | 680 | ] ; |
643 | - sp:variable _:b60 | 681 | + sp:variable _:b65 |
644 | ] [ rdf:type sp:Bind ; | 682 | ] [ rdf:type sp:Bind ; |
645 | sp:expression | 683 | sp:expression |
646 | [ rdf:type smf:buildURI ; | 684 | [ rdf:type smf:buildURI ; |
647 | sp:arg1 [ rdf:type fn:concat ; | 685 | sp:arg1 [ rdf:type fn:concat ; |
648 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 686 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
649 | - sp:arg2 _:b60 | 687 | + sp:arg2 _:b65 |
650 | ] | 688 | ] |
651 | ] ; | 689 | ] ; |
652 | - sp:variable _:b54 | 690 | + sp:variable _:b59 |
653 | ] [ rdf:type sp:Bind ; | 691 | ] [ rdf:type sp:Bind ; |
654 | sp:expression | 692 | sp:expression |
655 | [ rdf:type spif:titleCase ; | 693 | [ rdf:type spif:titleCase ; |
656 | - sp:arg1 _:b58 ; | 694 | + sp:arg1 _:b63 ; |
657 | sp:arg2 "[a-z]s" | 695 | sp:arg2 "[a-z]s" |
658 | ] ; | 696 | ] ; |
659 | - sp:variable _:b61 | 697 | + sp:variable _:b66 |
660 | ] [ rdf:type sp:Bind ; | 698 | ] [ rdf:type sp:Bind ; |
661 | sp:expression | 699 | sp:expression |
662 | [ rdf:type smf:buildURI ; | 700 | [ rdf:type smf:buildURI ; |
663 | sp:arg1 [ rdf:type fn:concat ; | 701 | sp:arg1 [ rdf:type fn:concat ; |
664 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 702 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
665 | - sp:arg2 _:b61 | 703 | + sp:arg2 _:b66 |
666 | ] | 704 | ] |
667 | ] ; | 705 | ] ; |
668 | - sp:variable _:b53 | 706 | + sp:variable _:b58 |
669 | ] [ rdf:type sp:Bind ; | 707 | ] [ rdf:type sp:Bind ; |
670 | sp:expression | 708 | sp:expression |
671 | [ rdf:type smf:buildURI ; | 709 | [ rdf:type smf:buildURI ; |
672 | sp:arg1 [ rdf:type fn:concat ; | 710 | sp:arg1 [ rdf:type fn:concat ; |
673 | sp:arg1 "http://www.reportinghub.no/map/ddr#" ; | 711 | sp:arg1 "http://www.reportinghub.no/map/ddr#" ; |
674 | - sp:arg2 _:b61 ; | 712 | + sp:arg2 _:b66 ; |
675 | sp:arg3 "-has" ; | 713 | sp:arg3 "-has" ; |
676 | - sp:arg4 _:b60 | 714 | + sp:arg4 _:b65 |
677 | ] | 715 | ] |
678 | ] ; | 716 | ] ; |
679 | - sp:variable _:b52 | 717 | + sp:variable _:b57 |
680 | - ]) | ||
681 | - ] ; | ||
682 | - spin:query | ||
683 | - [ rdf:type sp:Select ; | ||
684 | - sp:resultVariables (_:b62 _:b63 _:b64 _:b65) ; | ||
685 | - sp:where ([ sp:object _:b65 ; | ||
686 | - sp:predicate <http://www.w3.org/ns/sawsdl#modelReference> ; | ||
687 | - sp:subject _:b64 | ||
688 | - ] [ sp:object _:b64 ; | ||
689 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
690 | - sp:subject _:b63 | ||
691 | - ] [ rdf:type sp:Union ; | ||
692 | - sp:elements (([ sp:object <http://topbraid.org/sxsd#Sequence> ; | ||
693 | - sp:predicate rdf:type ; | ||
694 | - sp:subject _:b63 | ||
695 | - ]) ([ sp:object <http://topbraid.org/sxsd#Choice> ; | ||
696 | - sp:predicate rdf:type ; | ||
697 | - sp:subject _:b63 | ||
698 | - ])) | ||
699 | - ] [ sp:object _:b63 ; | ||
700 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
701 | - sp:subject _:b62 | ||
702 | - ]) | ||
703 | - ] ; | ||
704 | - spin:query | ||
705 | - [ rdf:type sp:Select ; | ||
706 | - sp:where ([ sp:object | ||
707 | - [ sp:varName "p"^^xsd:string | ||
708 | - ] ; | ||
709 | - sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | ||
710 | - sp:subject _:b66 | ||
711 | - ] [ rdf:type sp:NotExists ; | ||
712 | - sp:elements ([ sp:object | ||
713 | - [ sp:varName "b"^^xsd:string | ||
714 | - ] ; | ||
715 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | ||
716 | - sp:subject _:b66 | ||
717 | - ]) | ||
718 | ]) | 718 | ]) |
719 | ] ; | 719 | ] ; |
720 | spin:update | 720 | spin:update |
... | @@ -754,184 +754,185 @@ owl:Thing | ... | @@ -754,184 +754,185 @@ owl:Thing |
754 | ]) | 754 | ]) |
755 | ] . | 755 | ] . |
756 | 756 | ||
757 | -_:b28 | 757 | +_:b39 |
758 | - sp:varName "childType"^^xsd:string . | 758 | + sp:varName "rangeU"^^xsd:string . |
759 | 759 | ||
760 | -_:b29 | 760 | +_:b41 |
761 | - sp:varName "valuesRestriction"^^xsd:string . | 761 | + sp:varName "uom"^^xsd:string . |
762 | 762 | ||
763 | -_:b30 | 763 | +_:b42 |
764 | - sp:varName "propertyName"^^xsd:string . | 764 | + sp:varName "value"^^xsd:string . |
765 | 765 | ||
766 | -_:b31 | 766 | +_:b43 |
767 | - sp:varName "xmlTag"^^xsd:string . | 767 | + sp:varName "opnameU"^^xsd:string . |
768 | 768 | ||
769 | -_:b32 | 769 | +_:b45 |
770 | - sp:varName "tagName"^^xsd:string . | 770 | + sp:varName "child"^^xsd:string . |
771 | 771 | ||
772 | -_:b33 | 772 | +_:b46 |
773 | + sp:varName "childType"^^xsd:string . | ||
774 | + | ||
775 | +_:b47 | ||
776 | + sp:varName "childLocalName"^^xsd:string . | ||
777 | + | ||
778 | +_:b48 | ||
779 | + sp:varName "allValuesRestriction"^^xsd:string . | ||
780 | + | ||
781 | +_:b49 | ||
773 | sp:varName "instType"^^xsd:string . | 782 | sp:varName "instType"^^xsd:string . |
774 | 783 | ||
775 | -_:b14 | 784 | +_:b50 |
785 | + sp:varName "textNode"^^xsd:string . | ||
786 | + | ||
787 | +_:b51 | ||
788 | + sp:varName "text"^^xsd:string . | ||
789 | + | ||
790 | +_:b28 | ||
776 | sp:varName "enumeratedValue"^^xsd:string . | 791 | sp:varName "enumeratedValue"^^xsd:string . |
777 | 792 | ||
778 | -_:b15 | 793 | +_:b29 |
779 | sp:varName "opnameU"^^xsd:string . | 794 | sp:varName "opnameU"^^xsd:string . |
780 | 795 | ||
781 | -_:b17 | 796 | +_:b31 |
782 | sp:varName "child"^^xsd:string . | 797 | sp:varName "child"^^xsd:string . |
783 | 798 | ||
784 | -_:b18 | 799 | +_:b32 |
785 | sp:varName "childType"^^xsd:string . | 800 | sp:varName "childType"^^xsd:string . |
786 | 801 | ||
787 | -_:b19 | 802 | +_:b33 |
788 | sp:varName "childLocalName"^^xsd:string . | 803 | sp:varName "childLocalName"^^xsd:string . |
789 | 804 | ||
790 | -_:b20 | 805 | +_:b34 |
791 | sp:varName "valuesRestriction"^^xsd:string . | 806 | sp:varName "valuesRestriction"^^xsd:string . |
792 | 807 | ||
793 | -_:b21 | 808 | +_:b35 |
794 | sp:varName "rangeU"^^xsd:string . | 809 | sp:varName "rangeU"^^xsd:string . |
795 | 810 | ||
796 | -_:b22 | 811 | +_:b36 |
797 | sp:varName "instType"^^xsd:string . | 812 | sp:varName "instType"^^xsd:string . |
798 | 813 | ||
799 | -_:b23 | 814 | +_:b37 |
800 | sp:varName "textNode"^^xsd:string . | 815 | sp:varName "textNode"^^xsd:string . |
801 | 816 | ||
802 | -_:b24 | 817 | +_:b38 |
803 | sp:varName "text"^^xsd:string . | 818 | sp:varName "text"^^xsd:string . |
804 | 819 | ||
805 | -_:b1 sp:varName "rangeU"^^xsd:string . | 820 | +_:b19 |
821 | + sp:varName "child"^^xsd:string . | ||
806 | 822 | ||
807 | -_:b3 sp:varName "uom"^^xsd:string . | 823 | +_:b20 |
824 | + sp:varName "formalProperty"^^xsd:string . | ||
808 | 825 | ||
809 | -_:b4 sp:varName "value"^^xsd:string . | 826 | +_:b22 |
827 | + sp:varName "childType"^^xsd:string . | ||
810 | 828 | ||
811 | -_:b5 sp:varName "opnameU"^^xsd:string . | 829 | +_:b23 |
830 | + sp:varName "valuesRestriction"^^xsd:string . | ||
812 | 831 | ||
813 | -_:b7 sp:varName "child"^^xsd:string . | 832 | +_:b24 |
833 | + sp:varName "propertyName"^^xsd:string . | ||
814 | 834 | ||
815 | -_:b8 sp:varName "childType"^^xsd:string . | 835 | +_:b25 |
836 | + sp:varName "xmlTag"^^xsd:string . | ||
816 | 837 | ||
817 | -_:b9 sp:varName "childLocalName"^^xsd:string . | 838 | +_:b26 |
839 | + sp:varName "tagName"^^xsd:string . | ||
818 | 840 | ||
819 | -_:b10 | 841 | +_:b27 |
820 | - sp:varName "allValuesRestriction"^^xsd:string . | 842 | + sp:varName "instType"^^xsd:string . |
821 | 843 | ||
822 | -_:b11 | 844 | +_:b13 |
845 | + sp:varName "child"^^xsd:string . | ||
846 | + | ||
847 | +_:b14 | ||
848 | + sp:varName "formalProperty"^^xsd:string . | ||
849 | + | ||
850 | +_:b16 | ||
851 | + sp:varName "childType"^^xsd:string . | ||
852 | + | ||
853 | +_:b17 | ||
854 | + sp:varName "valuesRestriction"^^xsd:string . | ||
855 | + | ||
856 | +_:b18 | ||
823 | sp:varName "instType"^^xsd:string . | 857 | sp:varName "instType"^^xsd:string . |
824 | 858 | ||
825 | -_:b12 | 859 | +_:b1 sp:varName "value"^^xsd:string . |
826 | - sp:varName "textNode"^^xsd:string . | ||
827 | 860 | ||
828 | -_:b13 | 861 | +_:b2 sp:varName "dtpnameU"^^xsd:string . |
829 | - sp:varName "text"^^xsd:string . | ||
830 | 862 | ||
831 | -_:b66 | 863 | +_:b4 sp:varName "child"^^xsd:string . |
832 | - sp:varName "c"^^xsd:string . | ||
833 | 864 | ||
834 | -_:b62 | 865 | +_:b5 sp:varName "childType"^^xsd:string . |
835 | - sp:varName "pp"^^xsd:string . | ||
836 | 866 | ||
837 | -_:b63 | 867 | +_:b6 sp:varName "childLocalName"^^xsd:string . |
838 | - sp:varName "p"^^xsd:string . | ||
839 | 868 | ||
840 | -_:b64 | 869 | +_:b7 sp:varName "valuesRestriction"^^xsd:string . |
841 | - sp:varName "s"^^xsd:string . | ||
842 | 870 | ||
843 | -_:b65 | 871 | +_:b8 sp:varName "rangeType"^^xsd:string . |
844 | - sp:varName "e"^^xsd:string . | ||
845 | 872 | ||
846 | -_:b52 | 873 | +_:b9 sp:varName "someXSDtype"^^xsd:string . |
874 | + | ||
875 | +_:b10 | ||
876 | + sp:varName "textNode"^^xsd:string . | ||
877 | + | ||
878 | +_:b11 | ||
879 | + sp:varName "text"^^xsd:string . | ||
880 | + | ||
881 | +_:b12 | ||
882 | + sp:varName "instType"^^xsd:string . | ||
883 | + | ||
884 | +_:b57 | ||
847 | sp:varName "ddrCPU"^^xsd:string . | 885 | sp:varName "ddrCPU"^^xsd:string . |
848 | 886 | ||
849 | -_:b53 | 887 | +_:b58 |
850 | sp:varName "ddrCU"^^xsd:string . | 888 | sp:varName "ddrCU"^^xsd:string . |
851 | 889 | ||
852 | -_:b54 | 890 | +_:b59 |
853 | sp:varName "ddrPU"^^xsd:string . | 891 | sp:varName "ddrPU"^^xsd:string . |
854 | 892 | ||
855 | -_:b55 | 893 | +_:b60 |
856 | sp:varName "mre"^^xsd:string . | 894 | sp:varName "mre"^^xsd:string . |
857 | 895 | ||
858 | -_:b56 | 896 | +_:b61 |
859 | sp:varName "s"^^xsd:string . | 897 | sp:varName "s"^^xsd:string . |
860 | 898 | ||
861 | -_:b57 | 899 | +_:b62 |
862 | sp:varName "c"^^xsd:string . | 900 | sp:varName "c"^^xsd:string . |
863 | 901 | ||
864 | -_:b58 | 902 | +_:b63 |
865 | sp:varName "name"^^xsd:string . | 903 | sp:varName "name"^^xsd:string . |
866 | 904 | ||
867 | -_:b59 | 905 | +_:b64 |
868 | sp:varName "pname"^^xsd:string . | 906 | sp:varName "pname"^^xsd:string . |
869 | 907 | ||
870 | -_:b60 | 908 | +_:b65 |
871 | sp:varName "tcpname"^^xsd:string . | 909 | sp:varName "tcpname"^^xsd:string . |
872 | 910 | ||
873 | -_:b61 | 911 | +_:b66 |
874 | sp:varName "tcname"^^xsd:string . | 912 | sp:varName "tcname"^^xsd:string . |
875 | 913 | ||
876 | -_:b67 | 914 | +_:b53 |
877 | - sp:varName "oldLabel"^^xsd:string . | 915 | + sp:varName "pp"^^xsd:string . |
878 | 916 | ||
879 | -_:b68 | 917 | +_:b54 |
880 | sp:varName "p"^^xsd:string . | 918 | sp:varName "p"^^xsd:string . |
881 | 919 | ||
882 | -_:b69 | 920 | +_:b55 |
883 | - sp:varName "newLabel"^^xsd:string . | 921 | + sp:varName "s"^^xsd:string . |
884 | - | ||
885 | -_:b40 | ||
886 | - sp:varName "value"^^xsd:string . | ||
887 | - | ||
888 | -_:b41 | ||
889 | - sp:varName "dtpnameU"^^xsd:string . | ||
890 | - | ||
891 | -_:b43 | ||
892 | - sp:varName "child"^^xsd:string . | ||
893 | - | ||
894 | -_:b44 | ||
895 | - sp:varName "childType"^^xsd:string . | ||
896 | - | ||
897 | -_:b45 | ||
898 | - sp:varName "childLocalName"^^xsd:string . | ||
899 | - | ||
900 | -_:b46 | ||
901 | - sp:varName "valuesRestriction"^^xsd:string . | ||
902 | - | ||
903 | -_:b47 | ||
904 | - sp:varName "rangeType"^^xsd:string . | ||
905 | - | ||
906 | -_:b48 | ||
907 | - sp:varName "someXSDtype"^^xsd:string . | ||
908 | - | ||
909 | -_:b49 | ||
910 | - sp:varName "textNode"^^xsd:string . | ||
911 | - | ||
912 | -_:b50 | ||
913 | - sp:varName "text"^^xsd:string . | ||
914 | - | ||
915 | -_:b51 | ||
916 | - sp:varName "instType"^^xsd:string . | ||
917 | - | ||
918 | -_:b34 | ||
919 | - sp:varName "child"^^xsd:string . | ||
920 | 922 | ||
921 | -_:b35 | 923 | +_:b56 |
922 | - sp:varName "formalProperty"^^xsd:string . | 924 | + sp:varName "e"^^xsd:string . |
923 | 925 | ||
924 | -_:b37 | 926 | +_:b52 |
925 | - sp:varName "childType"^^xsd:string . | 927 | + sp:varName "c"^^xsd:string . |
926 | 928 | ||
927 | -_:b38 | 929 | +_:b67 |
928 | - sp:varName "valuesRestriction"^^xsd:string . | 930 | + sp:varName "oldLabel"^^xsd:string . |
929 | 931 | ||
930 | -_:b39 | 932 | +_:b68 |
931 | - sp:varName "instType"^^xsd:string . | 933 | + sp:varName "p"^^xsd:string . |
932 | 934 | ||
933 | -_:b25 | 935 | +_:b69 |
934 | - sp:varName "child"^^xsd:string . | 936 | + sp:varName "newLabel"^^xsd:string . |
935 | 937 | ||
936 | -_:b26 | 938 | +[] sxml:tag "witsml:porePressure"^^xsd:string . |
937 | - sp:varName "formalProperty"^^xsd:string . | ... | ... |
1 | -# Saved by TopBraid on Fri Aug 26 10:12:24 PDT 2011 | 1 | +# Saved by TopBraid on Fri Aug 26 16:10:49 PDT 2011 |
2 | # baseURI: null | 2 | # baseURI: null |
3 | 3 | ||
4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
-
Please register or login to post a comment