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