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