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