Removed XML import from TRANSFORM_ddr (should not have been kept
there)
Showing
2 changed files
with
216 additions
and
216 deletions
| 1 | -# Saved by TopBraid on Sun Aug 07 17:28:32 PDT 2011 | 1 | +# Saved by TopBraid on Sun Aug 07 17:32:11 PDT 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr | 3 | # imports: http://www.reportinghub.no/ep/schema/1.1.1/ddr |
| 4 | -# imports: file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml | ||
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.1/activity | 4 | # imports: http://www.reportinghub.no/ep/schema/1.1/activity |
| 6 | # imports: http://spinrdf.org/spin | 5 | # imports: http://spinrdf.org/spin |
| 7 | # imports: http://topbraid.org/sxml | 6 | # imports: http://topbraid.org/sxml |
| ... | @@ -135,160 +134,164 @@ ddr:Obj_drillReport | ... | @@ -135,160 +134,164 @@ ddr:Obj_drillReport |
| 135 | ddr:Thing | 134 | ddr:Thing |
| 136 | spin:rule | 135 | spin:rule |
| 137 | [ rdf:type sp:Construct ; | 136 | [ rdf:type sp:Construct ; |
| 138 | - rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; | 137 | + rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; |
| 139 | sp:templates ([ sp:object _:b1 ; | 138 | sp:templates ([ sp:object _:b1 ; |
| 140 | - sp:predicate _:b2 ; | 139 | + sp:predicate rdf:type ; |
| 140 | + sp:subject _:b2 | ||
| 141 | + ] [ sp:object _:b3 ; | ||
| 142 | + sp:predicate ddr:uom ; | ||
| 143 | + sp:subject _:b2 | ||
| 144 | + ] [ sp:object _:b4 ; | ||
| 145 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 146 | + sp:subject _:b2 | ||
| 147 | + ] [ sp:object _:b2 ; | ||
| 148 | + sp:predicate _:b5 ; | ||
| 141 | sp:subject spin:_this | 149 | sp:subject spin:_this |
| 142 | ] [ sp:object rdf:Statement ; | 150 | ] [ sp:object rdf:Statement ; |
| 143 | sp:predicate rdf:type ; | 151 | sp:predicate rdf:type ; |
| 144 | - sp:subject _:b3 | 152 | + sp:subject _:b6 |
| 145 | ] [ sp:object spin:_this ; | 153 | ] [ sp:object spin:_this ; |
| 146 | sp:predicate rdf:subject ; | 154 | sp:predicate rdf:subject ; |
| 147 | - sp:subject _:b3 | 155 | + sp:subject _:b6 |
| 148 | - ] [ sp:object _:b2 ; | 156 | + ] [ sp:object _:b5 ; |
| 149 | sp:predicate rdf:predicate ; | 157 | sp:predicate rdf:predicate ; |
| 150 | - sp:subject _:b3 | 158 | + sp:subject _:b6 |
| 151 | - ] [ sp:object _:b1 ; | 159 | + ] [ sp:object _:b4 ; |
| 152 | sp:predicate rdf:object ; | 160 | sp:predicate rdf:object ; |
| 153 | - sp:subject _:b3 | 161 | + sp:subject _:b6 |
| 154 | - ] [ sp:object _:b3 ; | 162 | + ] [ sp:object _:b6 ; |
| 155 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 163 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 156 | - sp:subject _:b4 | 164 | + sp:subject _:b7 |
| 157 | ]) ; | 165 | ]) ; |
| 158 | - sp:where ([ sp:object _:b4 ; | 166 | + sp:where ([ sp:object _:b7 ; |
| 159 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 167 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 160 | sp:subject spin:_this | 168 | sp:subject spin:_this |
| 161 | - ] [ sp:object _:b5 ; | 169 | + ] [ sp:object _:b8 ; |
| 162 | sp:predicate rdf:type ; | 170 | sp:predicate rdf:type ; |
| 163 | - sp:subject _:b4 | 171 | + sp:subject _:b7 |
| 172 | + ] [ sp:object _:b3 ; | ||
| 173 | + sp:predicate ddr:uom ; | ||
| 174 | + sp:subject _:b7 | ||
| 164 | ] [ rdf:type sp:NotExists ; | 175 | ] [ rdf:type sp:NotExists ; |
| 165 | sp:elements ([ sp:object | 176 | sp:elements ([ sp:object |
| 166 | - [ sp:varName "uom"^^xsd:string | 177 | + [ sp:varName "aNode"^^xsd:string |
| 167 | ] ; | 178 | ] ; |
| 168 | - sp:predicate ddr:uom ; | 179 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 169 | - sp:subject _:b4 | 180 | + sp:subject _:b7 |
| 170 | ]) | 181 | ]) |
| 171 | ] [ rdf:type sp:Bind ; | 182 | ] [ rdf:type sp:Bind ; |
| 172 | sp:expression | 183 | sp:expression |
| 173 | - [ rdf:type smf:titleCase ; | 184 | + [ rdf:type afn:localname ; |
| 174 | - sp:arg1 [ rdf:type afn:localname ; | 185 | + sp:arg1 _:b8 |
| 175 | - sp:arg1 _:b5 | ||
| 176 | - ] | ||
| 177 | ] ; | 186 | ] ; |
| 178 | - sp:variable _:b6 | 187 | + sp:variable _:b9 |
| 179 | ] [ rdf:type sp:Bind ; | 188 | ] [ rdf:type sp:Bind ; |
| 180 | sp:expression | 189 | sp:expression |
| 181 | [ rdf:type smf:buildURI ; | 190 | [ rdf:type smf:buildURI ; |
| 182 | sp:arg1 [ rdf:type fn:concat ; | 191 | sp:arg1 [ rdf:type fn:concat ; |
| 183 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; | 192 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; |
| 184 | - sp:arg2 _:b6 | 193 | + sp:arg2 [ rdf:type smf:titleCase ; |
| 194 | + sp:arg1 _:b9 | ||
| 195 | + ] | ||
| 185 | ] | 196 | ] |
| 186 | ] ; | 197 | ] ; |
| 187 | - sp:variable _:b2 | 198 | + sp:variable _:b5 |
| 188 | ] [ sp:object owl:ObjectProperty ; | 199 | ] [ sp:object owl:ObjectProperty ; |
| 189 | sp:predicate rdf:type ; | 200 | sp:predicate rdf:type ; |
| 190 | - sp:subject _:b2 | 201 | + sp:subject _:b5 |
| 191 | - ] [ sp:object _:b2 ; | 202 | + ] [ sp:object _:b5 ; |
| 192 | sp:predicate owl:onProperty ; | 203 | sp:predicate owl:onProperty ; |
| 193 | - sp:subject _:b7 | 204 | + sp:subject _:b10 |
| 194 | - ] [ sp:object _:b8 ; | 205 | + ] [ sp:object _:b1 ; |
| 195 | sp:predicate owl:allValuesFrom ; | 206 | sp:predicate owl:allValuesFrom ; |
| 196 | - sp:subject _:b7 | 207 | + sp:subject _:b10 |
| 197 | - ] [ sp:object _:b9 ; | 208 | + ] [ sp:object _:b11 ; |
| 198 | sp:predicate rdf:type ; | 209 | sp:predicate rdf:type ; |
| 199 | sp:subject spin:_this | 210 | sp:subject spin:_this |
| 200 | ] [ rdf:type sp:TriplePath ; | 211 | ] [ rdf:type sp:TriplePath ; |
| 201 | - sp:object _:b7 ; | 212 | + sp:object _:b10 ; |
| 202 | sp:path [ rdf:type sp:ModPath ; | 213 | sp:path [ rdf:type sp:ModPath ; |
| 203 | sp:modMax -2 ; | 214 | sp:modMax -2 ; |
| 204 | sp:modMin 0 ; | 215 | sp:modMin 0 ; |
| 205 | sp:subPath rdfs:subClassOf | 216 | sp:subPath rdfs:subClassOf |
| 206 | ] ; | 217 | ] ; |
| 207 | - sp:subject _:b9 | 218 | + sp:subject _:b11 |
| 208 | - ] [ rdf:type sp:TriplePath ; | 219 | + ] [ sp:object _:b12 ; |
| 209 | - sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | ||
| 210 | - sp:path [ rdf:type sp:ModPath ; | ||
| 211 | - sp:modMax -2 ; | ||
| 212 | - sp:modMin 0 ; | ||
| 213 | - sp:subPath rdfs:subClassOf | ||
| 214 | - ] ; | ||
| 215 | - sp:subject _:b8 | ||
| 216 | - ] [ sp:object _:b10 ; | ||
| 217 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 220 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 218 | - sp:subject _:b4 | 221 | + sp:subject _:b7 |
| 219 | ] [ sp:object sxml:TextNode ; | 222 | ] [ sp:object sxml:TextNode ; |
| 220 | sp:predicate rdf:type ; | 223 | sp:predicate rdf:type ; |
| 221 | - sp:subject _:b10 | 224 | + sp:subject _:b12 |
| 222 | - ] [ sp:object _:b11 ; | 225 | + ] [ sp:object _:b13 ; |
| 223 | sp:predicate sxml:text ; | 226 | sp:predicate sxml:text ; |
| 224 | - sp:subject _:b10 | 227 | + sp:subject _:b12 |
| 225 | - ] [ sp:object _:b8 ; | 228 | + ] [ rdf:type sp:Bind ; |
| 226 | - sp:predicate rdf:type ; | 229 | + sp:expression |
| 227 | - sp:subject _:b1 | 230 | + [ rdf:type xsd:double ; |
| 228 | - ] [ sp:object _:b11 ; | 231 | + sp:arg1 _:b13 |
| 229 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 232 | + ] ; |
| 230 | - sp:subject _:b1 | 233 | + sp:variable _:b4 |
| 231 | ]) | 234 | ]) |
| 232 | ] ; | 235 | ] ; |
| 233 | spin:rule | 236 | spin:rule |
| 234 | [ rdf:type sp:Construct ; | 237 | [ rdf:type sp:Construct ; |
| 235 | rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; | 238 | rdfs:comment "STEP 002 - Construct datatype datetime values"^^xsd:string ; |
| 236 | - sp:templates ([ sp:object _:b12 ; | 239 | + sp:templates ([ sp:object _:b14 ; |
| 237 | - sp:predicate _:b13 ; | 240 | + sp:predicate _:b15 ; |
| 238 | sp:subject spin:_this | 241 | sp:subject spin:_this |
| 239 | ] [ sp:object rdf:Statement ; | 242 | ] [ sp:object rdf:Statement ; |
| 240 | sp:predicate rdf:type ; | 243 | sp:predicate rdf:type ; |
| 241 | - sp:subject _:b14 | 244 | + sp:subject _:b16 |
| 242 | ] [ sp:object spin:_this ; | 245 | ] [ sp:object spin:_this ; |
| 243 | sp:predicate rdf:subject ; | 246 | sp:predicate rdf:subject ; |
| 244 | - sp:subject _:b14 | 247 | + sp:subject _:b16 |
| 245 | - ] [ sp:object _:b13 ; | 248 | + ] [ sp:object _:b15 ; |
| 246 | sp:predicate rdf:predicate ; | 249 | sp:predicate rdf:predicate ; |
| 247 | - sp:subject _:b14 | 250 | + sp:subject _:b16 |
| 248 | - ] [ sp:object _:b12 ; | ||
| 249 | - sp:predicate rdf:object ; | ||
| 250 | - sp:subject _:b14 | ||
| 251 | ] [ sp:object _:b14 ; | 251 | ] [ sp:object _:b14 ; |
| 252 | + sp:predicate rdf:object ; | ||
| 253 | + sp:subject _:b16 | ||
| 254 | + ] [ sp:object _:b16 ; | ||
| 252 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 255 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 253 | - sp:subject _:b15 | 256 | + sp:subject _:b17 |
| 254 | ]) ; | 257 | ]) ; |
| 255 | - sp:where ([ sp:object _:b15 ; | 258 | + sp:where ([ sp:object _:b17 ; |
| 256 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 259 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 257 | sp:subject spin:_this | 260 | sp:subject spin:_this |
| 258 | - ] [ sp:object _:b16 ; | 261 | + ] [ sp:object _:b18 ; |
| 259 | sp:predicate rdf:type ; | 262 | sp:predicate rdf:type ; |
| 260 | - sp:subject _:b15 | 263 | + sp:subject _:b17 |
| 261 | ] [ rdf:type sp:NotExists ; | 264 | ] [ rdf:type sp:NotExists ; |
| 262 | sp:elements ([ sp:object | 265 | sp:elements ([ sp:object |
| 263 | [ sp:varName "uom"^^xsd:string | 266 | [ sp:varName "uom"^^xsd:string |
| 264 | ] ; | 267 | ] ; |
| 265 | sp:predicate ddr:uom ; | 268 | sp:predicate ddr:uom ; |
| 266 | - sp:subject _:b15 | 269 | + sp:subject _:b17 |
| 267 | ]) | 270 | ]) |
| 268 | ] [ rdf:type sp:Bind ; | 271 | ] [ rdf:type sp:Bind ; |
| 269 | sp:expression | 272 | sp:expression |
| 270 | [ rdf:type afn:localname ; | 273 | [ rdf:type afn:localname ; |
| 271 | - sp:arg1 _:b16 | 274 | + sp:arg1 _:b18 |
| 272 | ] ; | 275 | ] ; |
| 273 | - sp:variable _:b17 | 276 | + sp:variable _:b19 |
| 274 | ] [ rdf:type sp:Bind ; | 277 | ] [ rdf:type sp:Bind ; |
| 275 | sp:expression | 278 | sp:expression |
| 276 | [ rdf:type smf:buildURI ; | 279 | [ rdf:type smf:buildURI ; |
| 277 | sp:arg1 [ rdf:type fn:concat ; | 280 | sp:arg1 [ rdf:type fn:concat ; |
| 278 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; | 281 | sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#" ; |
| 279 | - sp:arg2 _:b17 | 282 | + sp:arg2 _:b19 |
| 280 | ] | 283 | ] |
| 281 | ] ; | 284 | ] ; |
| 282 | - sp:variable _:b13 | 285 | + sp:variable _:b15 |
| 283 | ] [ sp:object owl:DatatypeProperty ; | 286 | ] [ sp:object owl:DatatypeProperty ; |
| 284 | sp:predicate rdf:type ; | 287 | sp:predicate rdf:type ; |
| 285 | - sp:subject _:b13 | 288 | + sp:subject _:b15 |
| 286 | - ] [ sp:object _:b13 ; | 289 | + ] [ sp:object _:b15 ; |
| 287 | sp:predicate owl:onProperty ; | 290 | sp:predicate owl:onProperty ; |
| 288 | - sp:subject _:b18 | 291 | + sp:subject _:b20 |
| 289 | - ] [ sp:object _:b19 ; | 292 | + ] [ sp:object _:b21 ; |
| 290 | sp:predicate owl:allValuesFrom ; | 293 | sp:predicate owl:allValuesFrom ; |
| 291 | - sp:subject _:b18 | 294 | + sp:subject _:b20 |
| 292 | ] [ rdf:type sp:TriplePath ; | 295 | ] [ rdf:type sp:TriplePath ; |
| 293 | sp:object xsd:dateTime ; | 296 | sp:object xsd:dateTime ; |
| 294 | sp:path [ rdf:type sp:ModPath ; | 297 | sp:path [ rdf:type sp:ModPath ; |
| ... | @@ -296,181 +299,177 @@ ddr:Thing | ... | @@ -296,181 +299,177 @@ ddr:Thing |
| 296 | sp:modMin 0 ; | 299 | sp:modMin 0 ; |
| 297 | sp:subPath rdfs:subClassOf | 300 | sp:subPath rdfs:subClassOf |
| 298 | ] ; | 301 | ] ; |
| 299 | - sp:subject _:b19 | 302 | + sp:subject _:b21 |
| 300 | - ] [ sp:object _:b20 ; | 303 | + ] [ sp:object _:b22 ; |
| 301 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 304 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 302 | - sp:subject _:b15 | 305 | + sp:subject _:b17 |
| 303 | ] [ sp:object sxml:TextNode ; | 306 | ] [ sp:object sxml:TextNode ; |
| 304 | sp:predicate rdf:type ; | 307 | sp:predicate rdf:type ; |
| 305 | - sp:subject _:b20 | 308 | + sp:subject _:b22 |
| 306 | - ] [ sp:object _:b21 ; | 309 | + ] [ sp:object _:b23 ; |
| 307 | sp:predicate sxml:text ; | 310 | sp:predicate sxml:text ; |
| 308 | - sp:subject _:b20 | 311 | + sp:subject _:b22 |
| 309 | - ] [ sp:object _:b22 ; | 312 | + ] [ sp:object _:b24 ; |
| 310 | sp:predicate rdf:type ; | 313 | sp:predicate rdf:type ; |
| 311 | sp:subject spin:_this | 314 | sp:subject spin:_this |
| 312 | ] [ rdf:type sp:TriplePath ; | 315 | ] [ rdf:type sp:TriplePath ; |
| 313 | - sp:object _:b18 ; | 316 | + sp:object _:b20 ; |
| 314 | sp:path [ rdf:type sp:ModPath ; | 317 | sp:path [ rdf:type sp:ModPath ; |
| 315 | sp:modMax -2 ; | 318 | sp:modMax -2 ; |
| 316 | sp:modMin 0 ; | 319 | sp:modMin 0 ; |
| 317 | sp:subPath rdfs:subClassOf | 320 | sp:subPath rdfs:subClassOf |
| 318 | ] ; | 321 | ] ; |
| 319 | - sp:subject _:b22 | 322 | + sp:subject _:b24 |
| 320 | ] [ rdf:type sp:Bind ; | 323 | ] [ rdf:type sp:Bind ; |
| 321 | sp:expression | 324 | sp:expression |
| 322 | [ rdf:type xsd:dateTime ; | 325 | [ rdf:type xsd:dateTime ; |
| 323 | - sp:arg1 _:b21 | 326 | + sp:arg1 _:b23 |
| 324 | ] ; | 327 | ] ; |
| 325 | - sp:variable _:b12 | 328 | + sp:variable _:b14 |
| 326 | ]) | 329 | ]) |
| 327 | ] ; | 330 | ] ; |
| 328 | spin:rule | 331 | spin:rule |
| 329 | [ rdf:type sp:Construct ; | 332 | [ rdf:type sp:Construct ; |
| 330 | rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; | 333 | rdfs:comment "STEP 020 - Construct all other object properties - WIP"^^xsd:string ; |
| 331 | - sp:templates ([ sp:object _:b23 ; | 334 | + sp:templates ([ sp:object _:b25 ; |
| 332 | - sp:predicate _:b24 ; | 335 | + sp:predicate _:b26 ; |
| 333 | sp:subject spin:_this | 336 | sp:subject spin:_this |
| 334 | ] [ sp:object rdf:Statement ; | 337 | ] [ sp:object rdf:Statement ; |
| 335 | sp:predicate rdf:type ; | 338 | sp:predicate rdf:type ; |
| 336 | - sp:subject _:b25 | 339 | + sp:subject _:b27 |
| 337 | ] [ sp:object spin:_this ; | 340 | ] [ sp:object spin:_this ; |
| 338 | sp:predicate rdf:subject ; | 341 | sp:predicate rdf:subject ; |
| 339 | - sp:subject _:b25 | 342 | + sp:subject _:b27 |
| 340 | - ] [ sp:object _:b24 ; | 343 | + ] [ sp:object _:b26 ; |
| 341 | sp:predicate rdf:predicate ; | 344 | sp:predicate rdf:predicate ; |
| 342 | - sp:subject _:b25 | 345 | + sp:subject _:b27 |
| 343 | - ] [ sp:object _:b23 ; | ||
| 344 | - sp:predicate rdf:object ; | ||
| 345 | - sp:subject _:b25 | ||
| 346 | ] [ sp:object _:b25 ; | 346 | ] [ sp:object _:b25 ; |
| 347 | + sp:predicate rdf:object ; | ||
| 348 | + sp:subject _:b27 | ||
| 349 | + ] [ sp:object _:b27 ; | ||
| 347 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 350 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 348 | - sp:subject _:b23 | 351 | + sp:subject _:b25 |
| 349 | ]) ; | 352 | ]) ; |
| 350 | - sp:where ([ sp:object _:b26 ; | 353 | + sp:where ([ sp:object _:b28 ; |
| 351 | sp:predicate owl:allValuesFrom ; | 354 | sp:predicate owl:allValuesFrom ; |
| 352 | - sp:subject _:b27 | 355 | + sp:subject _:b29 |
| 353 | - ] [ sp:object _:b24 ; | ||
| 354 | - sp:predicate owl:onProperty ; | ||
| 355 | - sp:subject _:b27 | ||
| 356 | ] [ sp:object _:b26 ; | 356 | ] [ sp:object _:b26 ; |
| 357 | + sp:predicate owl:onProperty ; | ||
| 358 | + sp:subject _:b29 | ||
| 359 | + ] [ sp:object _:b28 ; | ||
| 357 | sp:predicate rdf:type ; | 360 | sp:predicate rdf:type ; |
| 358 | - sp:subject _:b23 | 361 | + sp:subject _:b25 |
| 359 | - ] [ sp:object _:b23 ; | 362 | + ] [ sp:object _:b25 ; |
| 360 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 363 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 361 | sp:subject spin:_this | 364 | sp:subject spin:_this |
| 362 | - ] [ sp:object _:b28 ; | 365 | + ] [ sp:object _:b30 ; |
| 363 | sp:predicate rdf:type ; | 366 | sp:predicate rdf:type ; |
| 364 | sp:subject spin:_this | 367 | sp:subject spin:_this |
| 365 | ] [ rdf:type sp:TriplePath ; | 368 | ] [ rdf:type sp:TriplePath ; |
| 366 | - sp:object _:b27 ; | 369 | + sp:object _:b29 ; |
| 367 | sp:path [ rdf:type sp:ModPath ; | 370 | sp:path [ rdf:type sp:ModPath ; |
| 368 | sp:modMax -2 ; | 371 | sp:modMax -2 ; |
| 369 | sp:modMin 0 ; | 372 | sp:modMin 0 ; |
| 370 | sp:subPath rdfs:subClassOf | 373 | sp:subPath rdfs:subClassOf |
| 371 | ] ; | 374 | ] ; |
| 372 | - sp:subject _:b28 | 375 | + sp:subject _:b30 |
| 373 | ]) | 376 | ]) |
| 374 | ] ; | 377 | ] ; |
| 375 | spin:rule | 378 | spin:rule |
| 376 | [ rdf:type sp:Construct ; | 379 | [ rdf:type sp:Construct ; |
| 377 | - rdfs:comment "STEP 004 - Construct UOM values"^^xsd:string ; | 380 | + rdfs:comment "STEP 006 - Construct Enumerated Values"^^xsd:string ; |
| 378 | - sp:templates ([ sp:object _:b29 ; | 381 | + sp:templates ([ sp:object _:b31 ; |
| 379 | - sp:predicate rdf:type ; | 382 | + sp:predicate _:b32 ; |
| 380 | - sp:subject _:b30 | ||
| 381 | - ] [ sp:object _:b31 ; | ||
| 382 | - sp:predicate ddr:uom ; | ||
| 383 | - sp:subject _:b30 | ||
| 384 | - ] [ sp:object _:b32 ; | ||
| 385 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 386 | - sp:subject _:b30 | ||
| 387 | - ] [ sp:object _:b30 ; | ||
| 388 | - sp:predicate _:b33 ; | ||
| 389 | sp:subject spin:_this | 383 | sp:subject spin:_this |
| 390 | ] [ sp:object rdf:Statement ; | 384 | ] [ sp:object rdf:Statement ; |
| 391 | sp:predicate rdf:type ; | 385 | sp:predicate rdf:type ; |
| 392 | - sp:subject _:b34 | 386 | + sp:subject _:b33 |
| 393 | ] [ sp:object spin:_this ; | 387 | ] [ sp:object spin:_this ; |
| 394 | sp:predicate rdf:subject ; | 388 | sp:predicate rdf:subject ; |
| 395 | - sp:subject _:b34 | 389 | + sp:subject _:b33 |
| 396 | - ] [ sp:object _:b33 ; | ||
| 397 | - sp:predicate rdf:predicate ; | ||
| 398 | - sp:subject _:b34 | ||
| 399 | ] [ sp:object _:b32 ; | 390 | ] [ sp:object _:b32 ; |
| 391 | + sp:predicate rdf:predicate ; | ||
| 392 | + sp:subject _:b33 | ||
| 393 | + ] [ sp:object _:b31 ; | ||
| 400 | sp:predicate rdf:object ; | 394 | sp:predicate rdf:object ; |
| 401 | - sp:subject _:b34 | 395 | + sp:subject _:b33 |
| 402 | - ] [ sp:object _:b34 ; | 396 | + ] [ sp:object _:b33 ; |
| 403 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 397 | sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; |
| 404 | - sp:subject _:b35 | 398 | + sp:subject _:b34 |
| 405 | ]) ; | 399 | ]) ; |
| 406 | - sp:where ([ sp:object _:b35 ; | 400 | + sp:where ([ sp:object _:b34 ; |
| 407 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 401 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 408 | sp:subject spin:_this | 402 | sp:subject spin:_this |
| 409 | - ] [ sp:object _:b36 ; | 403 | + ] [ sp:object _:b35 ; |
| 410 | sp:predicate rdf:type ; | 404 | sp:predicate rdf:type ; |
| 411 | - sp:subject _:b35 | 405 | + sp:subject _:b34 |
| 412 | - ] [ sp:object _:b31 ; | ||
| 413 | - sp:predicate ddr:uom ; | ||
| 414 | - sp:subject _:b35 | ||
| 415 | ] [ rdf:type sp:NotExists ; | 406 | ] [ rdf:type sp:NotExists ; |
| 416 | sp:elements ([ sp:object | 407 | sp:elements ([ sp:object |
| 417 | - [ sp:varName "aNode"^^xsd:string | 408 | + [ sp:varName "uom"^^xsd:string |
| 418 | ] ; | 409 | ] ; |
| 419 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#basisFor> ; | 410 | + sp:predicate ddr:uom ; |
| 420 | - sp:subject _:b35 | 411 | + sp:subject _:b34 |
| 421 | ]) | 412 | ]) |
| 422 | ] [ rdf:type sp:Bind ; | 413 | ] [ rdf:type sp:Bind ; |
| 423 | sp:expression | 414 | sp:expression |
| 424 | - [ rdf:type afn:localname ; | 415 | + [ rdf:type smf:titleCase ; |
| 425 | - sp:arg1 _:b36 | 416 | + sp:arg1 [ rdf:type afn:localname ; |
| 417 | + sp:arg1 _:b35 | ||
| 418 | + ] | ||
| 426 | ] ; | 419 | ] ; |
| 427 | - sp:variable _:b37 | 420 | + sp:variable _:b36 |
| 428 | ] [ rdf:type sp:Bind ; | 421 | ] [ rdf:type sp:Bind ; |
| 429 | sp:expression | 422 | sp:expression |
| 430 | [ rdf:type smf:buildURI ; | 423 | [ rdf:type smf:buildURI ; |
| 431 | sp:arg1 [ rdf:type fn:concat ; | 424 | sp:arg1 [ rdf:type fn:concat ; |
| 432 | - sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#has" ; | 425 | + sp:arg1 "http://www.reportinghub.no/ep/schema/ddr#enum" ; |
| 433 | - sp:arg2 [ rdf:type smf:titleCase ; | 426 | + sp:arg2 _:b36 |
| 434 | - sp:arg1 _:b37 | ||
| 435 | - ] | ||
| 436 | ] | 427 | ] |
| 437 | ] ; | 428 | ] ; |
| 438 | - sp:variable _:b33 | 429 | + sp:variable _:b32 |
| 439 | ] [ sp:object owl:ObjectProperty ; | 430 | ] [ sp:object owl:ObjectProperty ; |
| 440 | sp:predicate rdf:type ; | 431 | sp:predicate rdf:type ; |
| 441 | - sp:subject _:b33 | 432 | + sp:subject _:b32 |
| 442 | - ] [ sp:object _:b33 ; | 433 | + ] [ sp:object _:b32 ; |
| 443 | sp:predicate owl:onProperty ; | 434 | sp:predicate owl:onProperty ; |
| 444 | - sp:subject _:b38 | 435 | + sp:subject _:b37 |
| 445 | - ] [ sp:object _:b29 ; | 436 | + ] [ sp:object _:b38 ; |
| 446 | sp:predicate owl:allValuesFrom ; | 437 | sp:predicate owl:allValuesFrom ; |
| 447 | - sp:subject _:b38 | 438 | + sp:subject _:b37 |
| 448 | ] [ sp:object _:b39 ; | 439 | ] [ sp:object _:b39 ; |
| 449 | sp:predicate rdf:type ; | 440 | sp:predicate rdf:type ; |
| 450 | sp:subject spin:_this | 441 | sp:subject spin:_this |
| 451 | ] [ rdf:type sp:TriplePath ; | 442 | ] [ rdf:type sp:TriplePath ; |
| 452 | - sp:object _:b38 ; | 443 | + sp:object _:b37 ; |
| 453 | sp:path [ rdf:type sp:ModPath ; | 444 | sp:path [ rdf:type sp:ModPath ; |
| 454 | sp:modMax -2 ; | 445 | sp:modMax -2 ; |
| 455 | sp:modMin 0 ; | 446 | sp:modMin 0 ; |
| 456 | sp:subPath rdfs:subClassOf | 447 | sp:subPath rdfs:subClassOf |
| 457 | ] ; | 448 | ] ; |
| 458 | sp:subject _:b39 | 449 | sp:subject _:b39 |
| 450 | + ] [ rdf:type sp:TriplePath ; | ||
| 451 | + sp:object <http://www.linkedmodel.org/schema/dtype#EnumeratedValue> ; | ||
| 452 | + sp:path [ rdf:type sp:ModPath ; | ||
| 453 | + sp:modMax -2 ; | ||
| 454 | + sp:modMin 0 ; | ||
| 455 | + sp:subPath rdfs:subClassOf | ||
| 456 | + ] ; | ||
| 457 | + sp:subject _:b38 | ||
| 459 | ] [ sp:object _:b40 ; | 458 | ] [ sp:object _:b40 ; |
| 460 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; | 459 | sp:predicate <http://www.topbraid.org/2007/05/composite.owl#child> ; |
| 461 | - sp:subject _:b35 | 460 | + sp:subject _:b34 |
| 462 | ] [ sp:object sxml:TextNode ; | 461 | ] [ sp:object sxml:TextNode ; |
| 463 | sp:predicate rdf:type ; | 462 | sp:predicate rdf:type ; |
| 464 | sp:subject _:b40 | 463 | sp:subject _:b40 |
| 465 | ] [ sp:object _:b41 ; | 464 | ] [ sp:object _:b41 ; |
| 466 | sp:predicate sxml:text ; | 465 | sp:predicate sxml:text ; |
| 467 | sp:subject _:b40 | 466 | sp:subject _:b40 |
| 468 | - ] [ rdf:type sp:Bind ; | 467 | + ] [ sp:object _:b38 ; |
| 469 | - sp:expression | 468 | + sp:predicate rdf:type ; |
| 470 | - [ rdf:type xsd:double ; | 469 | + sp:subject _:b31 |
| 471 | - sp:arg1 _:b41 | 470 | + ] [ sp:object _:b41 ; |
| 472 | - ] ; | 471 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 473 | - sp:variable _:b32 | 472 | + sp:subject _:b31 |
| 474 | ]) | 473 | ]) |
| 475 | ] ; | 474 | ] ; |
| 476 | spin:rule | 475 | spin:rule |
| ... | @@ -576,7 +575,7 @@ ddr:version | ... | @@ -576,7 +575,7 @@ ddr:version |
| 576 | 575 | ||
| 577 | <http://www.reportinghub.no/ep/transform/1.1/ddr> | 576 | <http://www.reportinghub.no/ep/transform/1.1/ddr> |
| 578 | rdf:type owl:Ontology ; | 577 | rdf:type owl:Ontology ; |
| 579 | - owl:imports <file:///www.reportinghub.no/examples/xml/NPD_110412124707.xml> , <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity> ; | 578 | + owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/ep/schema/1.1.1/ddr> , <http://www.reportinghub.no/ep/schema/1.1/activity> ; |
| 580 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 579 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 581 | 580 | ||
| 582 | owl:Thing | 581 | owl:Thing |
| ... | @@ -686,82 +685,49 @@ owl:Thing | ... | @@ -686,82 +685,49 @@ owl:Thing |
| 686 | ]) | 685 | ]) |
| 687 | ] . | 686 | ] . |
| 688 | 687 | ||
| 689 | -_:b29 | 688 | +_:b25 |
| 690 | - sp:varName "rangeU"^^xsd:string . | ||
| 691 | - | ||
| 692 | -_:b31 | ||
| 693 | - sp:varName "uom"^^xsd:string . | ||
| 694 | - | ||
| 695 | -_:b32 | ||
| 696 | - sp:varName "value"^^xsd:string . | ||
| 697 | - | ||
| 698 | -_:b33 | ||
| 699 | - sp:varName "opnameU"^^xsd:string . | ||
| 700 | - | ||
| 701 | -_:b35 | ||
| 702 | sp:varName "child"^^xsd:string . | 689 | sp:varName "child"^^xsd:string . |
| 703 | 690 | ||
| 704 | -_:b36 | 691 | +_:b26 |
| 705 | - sp:varName "childType"^^xsd:string . | ||
| 706 | - | ||
| 707 | -_:b37 | ||
| 708 | - sp:varName "childLocalName"^^xsd:string . | ||
| 709 | - | ||
| 710 | -_:b38 | ||
| 711 | - sp:varName "allValuesRestriction"^^xsd:string . | ||
| 712 | - | ||
| 713 | -_:b39 | ||
| 714 | - sp:varName "instType"^^xsd:string . | ||
| 715 | - | ||
| 716 | -_:b40 | ||
| 717 | - sp:varName "textNode"^^xsd:string . | ||
| 718 | - | ||
| 719 | -_:b41 | ||
| 720 | - sp:varName "text"^^xsd:string . | ||
| 721 | - | ||
| 722 | -_:b23 | ||
| 723 | - sp:varName "child"^^xsd:string . | ||
| 724 | - | ||
| 725 | -_:b24 | ||
| 726 | sp:varName "formalProperty"^^xsd:string . | 692 | sp:varName "formalProperty"^^xsd:string . |
| 727 | 693 | ||
| 728 | -_:b26 | 694 | +_:b28 |
| 729 | sp:varName "childType"^^xsd:string . | 695 | sp:varName "childType"^^xsd:string . |
| 730 | 696 | ||
| 731 | -_:b27 | 697 | +_:b29 |
| 732 | sp:varName "valuesRestriction"^^xsd:string . | 698 | sp:varName "valuesRestriction"^^xsd:string . |
| 733 | 699 | ||
| 734 | -_:b28 | 700 | +_:b30 |
| 735 | sp:varName "instType"^^xsd:string . | 701 | sp:varName "instType"^^xsd:string . |
| 736 | 702 | ||
| 737 | -_:b12 | 703 | +_:b14 |
| 738 | sp:varName "dateTime"^^xsd:string . | 704 | sp:varName "dateTime"^^xsd:string . |
| 739 | 705 | ||
| 740 | -_:b13 | 706 | +_:b15 |
| 741 | sp:varName "dtpnameU"^^xsd:string . | 707 | sp:varName "dtpnameU"^^xsd:string . |
| 742 | 708 | ||
| 743 | -_:b15 | 709 | +_:b17 |
| 744 | sp:varName "child"^^xsd:string . | 710 | sp:varName "child"^^xsd:string . |
| 745 | 711 | ||
| 746 | -_:b16 | 712 | +_:b18 |
| 747 | sp:varName "childType"^^xsd:string . | 713 | sp:varName "childType"^^xsd:string . |
| 748 | 714 | ||
| 749 | -_:b17 | 715 | +_:b19 |
| 750 | sp:varName "childLocalName"^^xsd:string . | 716 | sp:varName "childLocalName"^^xsd:string . |
| 751 | 717 | ||
| 752 | -_:b18 | 718 | +_:b20 |
| 753 | sp:varName "valuesRestriction"^^xsd:string . | 719 | sp:varName "valuesRestriction"^^xsd:string . |
| 754 | 720 | ||
| 755 | -_:b19 | 721 | +_:b21 |
| 756 | sp:varName "rangeType"^^xsd:string . | 722 | sp:varName "rangeType"^^xsd:string . |
| 757 | 723 | ||
| 758 | -_:b20 | 724 | +_:b22 |
| 759 | sp:varName "textNode"^^xsd:string . | 725 | sp:varName "textNode"^^xsd:string . |
| 760 | 726 | ||
| 761 | -_:b21 | 727 | +_:b23 |
| 762 | sp:varName "text"^^xsd:string . | 728 | sp:varName "text"^^xsd:string . |
| 763 | 729 | ||
| 764 | -_:b22 | 730 | +_:b24 |
| 765 | sp:varName "instType"^^xsd:string . | 731 | sp:varName "instType"^^xsd:string . |
| 766 | 732 | ||
| 767 | _:b42 | 733 | _:b42 |
| ... | @@ -836,24 +802,58 @@ _:b56 | ... | @@ -836,24 +802,58 @@ _:b56 |
| 836 | _:b52 | 802 | _:b52 |
| 837 | sp:varName "c"^^xsd:string . | 803 | sp:varName "c"^^xsd:string . |
| 838 | 804 | ||
| 839 | -_:b4 sp:varName "child"^^xsd:string . | 805 | +_:b34 |
| 806 | + sp:varName "child"^^xsd:string . | ||
| 807 | + | ||
| 808 | +_:b35 | ||
| 809 | + sp:varName "childType"^^xsd:string . | ||
| 840 | 810 | ||
| 841 | -_:b5 sp:varName "childType"^^xsd:string . | 811 | +_:b36 |
| 812 | + sp:varName "childLocalName"^^xsd:string . | ||
| 842 | 813 | ||
| 843 | -_:b6 sp:varName "childLocalName"^^xsd:string . | 814 | +_:b32 |
| 815 | + sp:varName "opnameU"^^xsd:string . | ||
| 844 | 816 | ||
| 845 | -_:b2 sp:varName "opnameU"^^xsd:string . | 817 | +_:b37 |
| 818 | + sp:varName "valuesRestriction"^^xsd:string . | ||
| 846 | 819 | ||
| 847 | -_:b7 sp:varName "valuesRestriction"^^xsd:string . | 820 | +_:b38 |
| 821 | + sp:varName "rangeU"^^xsd:string . | ||
| 822 | + | ||
| 823 | +_:b39 | ||
| 824 | + sp:varName "instType"^^xsd:string . | ||
| 848 | 825 | ||
| 849 | -_:b8 sp:varName "rangeU"^^xsd:string . | 826 | +_:b40 |
| 827 | + sp:varName "textNode"^^xsd:string . | ||
| 850 | 828 | ||
| 851 | -_:b9 sp:varName "instType"^^xsd:string . | 829 | +_:b41 |
| 830 | + sp:varName "text"^^xsd:string . | ||
| 831 | + | ||
| 832 | +_:b31 | ||
| 833 | + sp:varName "enumeratedValue"^^xsd:string . | ||
| 834 | + | ||
| 835 | +_:b7 sp:varName "child"^^xsd:string . | ||
| 836 | + | ||
| 837 | +_:b8 sp:varName "childType"^^xsd:string . | ||
| 838 | + | ||
| 839 | +_:b3 sp:varName "uom"^^xsd:string . | ||
| 840 | + | ||
| 841 | +_:b9 sp:varName "childLocalName"^^xsd:string . | ||
| 842 | + | ||
| 843 | +_:b5 sp:varName "opnameU"^^xsd:string . | ||
| 852 | 844 | ||
| 853 | _:b10 | 845 | _:b10 |
| 854 | - sp:varName "textNode"^^xsd:string . | 846 | + sp:varName "allValuesRestriction"^^xsd:string . |
| 847 | + | ||
| 848 | +_:b1 sp:varName "rangeU"^^xsd:string . | ||
| 855 | 849 | ||
| 856 | _:b11 | 850 | _:b11 |
| 851 | + sp:varName "instType"^^xsd:string . | ||
| 852 | + | ||
| 853 | +_:b12 | ||
| 854 | + sp:varName "textNode"^^xsd:string . | ||
| 855 | + | ||
| 856 | +_:b13 | ||
| 857 | sp:varName "text"^^xsd:string . | 857 | sp:varName "text"^^xsd:string . |
| 858 | 858 | ||
| 859 | -_:b1 sp:varName "enumeratedValue"^^xsd:string . | 859 | +_:b4 sp:varName "value"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Sun Aug 07 17:28:32 PDT 2011 | 1 | +# Saved by TopBraid on Sun Aug 07 17:32:11 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