Showing
6 changed files
with
313 additions
and
620 deletions
| 1 | -# Saved by TopBraid on Sat Oct 08 12:07:59 BST 2011 | 1 | +# Saved by TopBraid on Sun Oct 09 11:03:49 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow | 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 4 | 4 | ||
| ... | @@ -13,7 +13,117 @@ | ... | @@ -13,7 +13,117 @@ |
| 13 | owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ; | 13 | owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ; |
| 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 15 | 15 | ||
| 16 | +ep-flow:Consume | ||
| 17 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 18 | + rdfs:label "consume"^^xsd:string ; | ||
| 19 | + rdfs:subClassOf ep-flow:Flow . | ||
| 20 | + | ||
| 21 | +ep-flow:Consume-HPflare | ||
| 22 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 23 | + rdfs:label "consume - HP flare"^^xsd:string ; | ||
| 24 | + rdfs:subClassOf ep-flow:Consume-flare . | ||
| 25 | + | ||
| 26 | +ep-flow:Consume-LPflare | ||
| 27 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 28 | + rdfs:label "consume - LP flare"^^xsd:string ; | ||
| 29 | + rdfs:subClassOf ep-flow:Consume-flare . | ||
| 30 | + | ||
| 31 | +ep-flow:Consume-blackstart | ||
| 32 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 33 | + rdfs:label "consume - blackstart"^^xsd:string ; | ||
| 34 | + rdfs:subClassOf ep-flow:Consume . | ||
| 35 | + | ||
| 36 | +ep-flow:Consume-compressor | ||
| 37 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 38 | + rdfs:label "consume - compressor"^^xsd:string ; | ||
| 39 | + rdfs:subClassOf ep-flow:Consume . | ||
| 40 | + | ||
| 41 | +ep-flow:Consume-emitted | ||
| 42 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 43 | + rdfs:label "consume - emitted"^^xsd:string ; | ||
| 44 | + rdfs:subClassOf ep-flow:Consume . | ||
| 45 | + | ||
| 46 | +ep-flow:Consume-flare | ||
| 47 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 48 | + rdfs:label "consume - flare"^^xsd:string ; | ||
| 49 | + rdfs:subClassOf ep-flow:Consume . | ||
| 50 | + | ||
| 51 | +ep-flow:Consume-fuel | ||
| 52 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 53 | + rdfs:label "consume - fuel"^^xsd:string ; | ||
| 54 | + rdfs:subClassOf ep-flow:Consume . | ||
| 55 | + | ||
| 56 | +ep-flow:Consume-noncompressor | ||
| 57 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 58 | + rdfs:label "consume - non-compressor"^^xsd:string ; | ||
| 59 | + rdfs:subClassOf ep-flow:Consume . | ||
| 60 | + | ||
| 61 | +ep-flow:Consume-venting | ||
| 62 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 63 | + rdfs:label "consume - venting"^^xsd:string ; | ||
| 64 | + rdfs:subClassOf ep-flow:Consume . | ||
| 65 | + | ||
| 66 | +ep-flow:Export | ||
| 67 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 68 | + rdfs:label "export"^^xsd:string ; | ||
| 69 | + rdfs:subClassOf ep-flow:Flow . | ||
| 70 | + | ||
| 71 | +ep-flow:Export-nominated | ||
| 72 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 73 | + rdfs:label "export nominated"^^xsd:string ; | ||
| 74 | + rdfs:subClassOf ep-flow:Export . | ||
| 75 | + | ||
| 76 | +ep-flow:Export-requested | ||
| 77 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 78 | + rdfs:label "export requested"^^xsd:string ; | ||
| 79 | + rdfs:subClassOf ep-flow:Export . | ||
| 80 | + | ||
| 81 | +ep-flow:Export-shortfall | ||
| 82 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 83 | + rdfs:label "export shortfall"^^xsd:string ; | ||
| 84 | + rdfs:subClassOf ep-flow:Export . | ||
| 85 | + | ||
| 16 | ep-flow:Flow | 86 | ep-flow:Flow |
| 17 | rdf:type owl:Class ; | 87 | rdf:type owl:Class ; |
| 18 | rdfs:label "flow"^^xsd:string ; | 88 | rdfs:label "flow"^^xsd:string ; |
| 19 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . | 89 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . |
| 90 | + | ||
| 91 | +ep-flow:Gaslift | ||
| 92 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 93 | + rdfs:label "gas lift"^^xsd:string ; | ||
| 94 | + rdfs:subClassOf ep-flow:Flow . | ||
| 95 | + | ||
| 96 | +ep-flow:Import | ||
| 97 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 98 | + rdfs:label "import"^^xsd:string ; | ||
| 99 | + rdfs:subClassOf ep-flow:Flow . | ||
| 100 | + | ||
| 101 | +ep-flow:Injection | ||
| 102 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 103 | + rdfs:label "injection"^^xsd:string ; | ||
| 104 | + rdfs:subClassOf ep-flow:Flow . | ||
| 105 | + | ||
| 106 | +ep-flow:Inventory | ||
| 107 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 108 | + rdfs:label "inventory"^^xsd:string ; | ||
| 109 | + rdfs:subClassOf ep-flow:Flow . | ||
| 110 | + | ||
| 111 | +ep-flow:Overboard | ||
| 112 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 113 | + rdfs:label "overboard"^^xsd:string ; | ||
| 114 | + rdfs:subClassOf ep-flow:Flow . | ||
| 115 | + | ||
| 116 | +ep-flow:Production | ||
| 117 | + rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; | ||
| 118 | + rdfs:label "production"^^xsd:string ; | ||
| 119 | + rdfs:subClassOf ep-flow:Flow . | ||
| 120 | + | ||
| 121 | +ep-flow:ProductionFlow | ||
| 122 | + rdf:type owl:Class ; | ||
| 123 | + rdfs:label "production flow"^^xsd:string ; | ||
| 124 | + rdfs:subClassOf ep-flow:Flow . | ||
| 125 | + | ||
| 126 | +ep-flow:ProductionFlowPurposeType | ||
| 127 | + rdf:type rdfs:Class ; | ||
| 128 | + rdfs:label " production flow purpose type"^^xsd:string ; | ||
| 129 | + rdfs:subClassOf rdfs:Class . | ... | ... |
| 1 | -# Saved by TopBraid on Sun Oct 09 10:30:44 BST 2011 | 1 | +# Saved by TopBraid on Sun Oct 09 10:52:21 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 2 | # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/geography | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/geography |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/well | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/flow | ||
| 6 | # imports: http://spinrdf.org/spin | 7 | # imports: http://spinrdf.org/spin |
| 7 | # imports: http://www.witsml.org/schemas/131/addendum/combo | 8 | # imports: http://www.witsml.org/schemas/131/addendum/combo |
| 8 | 9 | ||
| ... | @@ -21,7 +22,7 @@ | ... | @@ -21,7 +22,7 @@ |
| 21 | 22 | ||
| 22 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> | 23 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> |
| 23 | rdf:type owl:Ontology ; | 24 | rdf:type owl:Ontology ; |
| 24 | - owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/geography> ; | 25 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ; |
| 25 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 26 | 27 | ||
| 27 | ep-dpr-spin-lib:Function | 28 | ep-dpr-spin-lib:Function |
| ... | @@ -268,158 +269,130 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -268,158 +269,130 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
| 268 | [ rdf:type sp:if ; | 269 | [ rdf:type sp:if ; |
| 269 | sp:arg1 [ rdf:type sp:eq ; | 270 | sp:arg1 [ rdf:type sp:eq ; |
| 270 | sp:arg1 spin:_arg1 ; | 271 | sp:arg1 spin:_arg1 ; |
| 271 | - sp:arg2 combo:RF_field | 272 | + sp:arg2 combo:RF_consume-HPflare |
| 272 | - ] ; | ||
| 273 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Field> ; | ||
| 274 | - sp:arg3 [ rdf:type sp:if ; | ||
| 275 | - sp:arg1 [ rdf:type sp:eq ; | ||
| 276 | - sp:arg1 spin:_arg1 ; | ||
| 277 | - sp:arg2 combo:RF_country | ||
| 278 | - ] ; | ||
| 279 | - sp:arg2 ep-geog:Country ; | ||
| 280 | - sp:arg3 [ rdf:type sp:if ; | ||
| 281 | - sp:arg1 [ rdf:type sp:eq ; | ||
| 282 | - sp:arg1 spin:_arg1 ; | ||
| 283 | - sp:arg2 combo:RF_controller--lift | ||
| 284 | - ] ; | ||
| 285 | - sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Controller-lift> ; | ||
| 286 | - sp:arg3 [ rdf:type sp:if ; | ||
| 287 | - sp:arg1 [ rdf:type sp:eq ; | ||
| 288 | - sp:arg1 spin:_arg1 ; | ||
| 289 | - sp:arg2 combo:RF_unknown | ||
| 290 | ] ; | 273 | ] ; |
| 291 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 274 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-HPflare> ; |
| 292 | sp:arg3 [ rdf:type sp:if ; | 275 | sp:arg3 [ rdf:type sp:if ; |
| 293 | sp:arg1 [ rdf:type sp:eq ; | 276 | sp:arg1 [ rdf:type sp:eq ; |
| 294 | sp:arg1 spin:_arg1 ; | 277 | sp:arg1 spin:_arg1 ; |
| 295 | - sp:arg2 combo:RF_completion | 278 | + sp:arg2 combo:RF_consume-LPflare |
| 296 | ] ; | 279 | ] ; |
| 297 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Completion> ; | 280 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-LPflare> ; |
| 298 | - sp:arg3 [ rdf:type sp:if ; | ||
| 299 | - sp:arg1 [ rdf:type sp:eq ; | ||
| 300 | - sp:arg1 spin:_arg1 ; | ||
| 301 | - sp:arg2 combo:RF_manifold--production | ||
| 302 | - ] ; | ||
| 303 | - sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Manifold-production> ; | ||
| 304 | sp:arg3 [ rdf:type sp:if ; | 281 | sp:arg3 [ rdf:type sp:if ; |
| 305 | sp:arg1 [ rdf:type sp:eq ; | 282 | sp:arg1 [ rdf:type sp:eq ; |
| 306 | sp:arg1 spin:_arg1 ; | 283 | sp:arg1 spin:_arg1 ; |
| 307 | - sp:arg2 combo:RF_wellbore | 284 | + sp:arg2 combo:RF_consume-blackstart |
| 308 | ] ; | 285 | ] ; |
| 309 | - sp:arg2 <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 286 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-blackstart> ; |
| 310 | sp:arg3 [ rdf:type sp:if ; | 287 | sp:arg3 [ rdf:type sp:if ; |
| 311 | sp:arg1 [ rdf:type sp:eq ; | 288 | sp:arg1 [ rdf:type sp:eq ; |
| 312 | sp:arg1 spin:_arg1 ; | 289 | sp:arg1 spin:_arg1 ; |
| 313 | - sp:arg2 combo:RF_template | 290 | + sp:arg2 combo:RF_consume-compressor |
| 314 | ] ; | 291 | ] ; |
| 315 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Template> ; | 292 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-compressor> ; |
| 316 | sp:arg3 [ rdf:type sp:if ; | 293 | sp:arg3 [ rdf:type sp:if ; |
| 317 | sp:arg1 [ rdf:type sp:eq ; | 294 | sp:arg1 [ rdf:type sp:eq ; |
| 318 | sp:arg1 spin:_arg1 ; | 295 | sp:arg1 spin:_arg1 ; |
| 319 | - sp:arg2 combo:RF_platform | 296 | + sp:arg2 combo:RF_consume-emitted |
| 320 | ] ; | 297 | ] ; |
| 321 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Platform> ; | 298 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-emitted> ; |
| 322 | sp:arg3 [ rdf:type sp:if ; | 299 | sp:arg3 [ rdf:type sp:if ; |
| 323 | sp:arg1 [ rdf:type sp:eq ; | 300 | sp:arg1 [ rdf:type sp:eq ; |
| 324 | sp:arg1 spin:_arg1 ; | 301 | sp:arg1 spin:_arg1 ; |
| 325 | - sp:arg2 combo:RF_zone | 302 | + sp:arg2 combo:RF_consume-flare |
| 326 | ] ; | 303 | ] ; |
| 327 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Zone> ; | 304 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-flare> ; |
| 328 | sp:arg3 [ rdf:type sp:if ; | 305 | sp:arg3 [ rdf:type sp:if ; |
| 329 | sp:arg1 [ rdf:type sp:eq ; | 306 | sp:arg1 [ rdf:type sp:eq ; |
| 330 | sp:arg1 spin:_arg1 ; | 307 | sp:arg1 spin:_arg1 ; |
| 331 | - sp:arg2 combo:RF_wellhead | 308 | + sp:arg2 combo:RF_consume-fuel |
| 332 | ] ; | 309 | ] ; |
| 333 | - sp:arg2 <http://www.reportinghub.no/ep/schema/well#WellHead> ; | 310 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-fuel> ; |
| 334 | sp:arg3 [ rdf:type sp:if ; | 311 | sp:arg3 [ rdf:type sp:if ; |
| 335 | sp:arg1 [ rdf:type sp:eq ; | 312 | sp:arg1 [ rdf:type sp:eq ; |
| 336 | sp:arg1 spin:_arg1 ; | 313 | sp:arg1 spin:_arg1 ; |
| 337 | - sp:arg2 combo:RF_state | 314 | + sp:arg2 combo:RF_consume-noncompressor |
| 338 | ] ; | 315 | ] ; |
| 339 | - sp:arg2 ep-geog:State ; | 316 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-noncompressor> ; |
| 340 | sp:arg3 [ rdf:type sp:if ; | 317 | sp:arg3 [ rdf:type sp:if ; |
| 341 | sp:arg1 [ rdf:type sp:eq ; | 318 | sp:arg1 [ rdf:type sp:eq ; |
| 342 | sp:arg1 spin:_arg1 ; | 319 | sp:arg1 spin:_arg1 ; |
| 343 | - sp:arg2 combo:RF_wellgroup | 320 | + sp:arg2 combo:RF_consume-venting |
| 344 | ] ; | 321 | ] ; |
| 345 | - sp:arg2 <http://www.reportinghub.no/ep/schema/well#WellGroup> ; | 322 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume-venting> ; |
| 346 | sp:arg3 [ rdf:type sp:if ; | 323 | sp:arg3 [ rdf:type sp:if ; |
| 347 | sp:arg1 [ rdf:type sp:eq ; | 324 | sp:arg1 [ rdf:type sp:eq ; |
| 348 | sp:arg1 spin:_arg1 ; | 325 | sp:arg1 spin:_arg1 ; |
| 349 | - sp:arg2 combo:RF_flowline--production | 326 | + sp:arg2 combo:RF_consume |
| 350 | ] ; | 327 | ] ; |
| 351 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Flowline-production> ; | 328 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Consume> ; |
| 352 | sp:arg3 [ rdf:type sp:if ; | 329 | sp:arg3 [ rdf:type sp:if ; |
| 353 | sp:arg1 [ rdf:type sp:eq ; | 330 | sp:arg1 [ rdf:type sp:eq ; |
| 354 | sp:arg1 spin:_arg1 ; | 331 | sp:arg1 spin:_arg1 ; |
| 355 | - sp:arg2 combo:RF_cluster | 332 | + sp:arg2 combo:RF_export-nominated |
| 356 | ] ; | 333 | ] ; |
| 357 | - sp:arg2 <http://www.reportinghub.no/ep/schema/well#Cluster> ; | 334 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export-nominated> ; |
| 358 | sp:arg3 [ rdf:type sp:if ; | 335 | sp:arg3 [ rdf:type sp:if ; |
| 359 | sp:arg1 [ rdf:type sp:eq ; | 336 | sp:arg1 [ rdf:type sp:eq ; |
| 360 | sp:arg1 spin:_arg1 ; | 337 | sp:arg1 spin:_arg1 ; |
| 361 | - sp:arg2 combo:RF_bottomhole | 338 | + sp:arg2 combo:RF_export-requested |
| 362 | ] ; | 339 | ] ; |
| 363 | - sp:arg2 <http://www.reportinghub.no/ep/schema/well#WellBoreBottom> ; | 340 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export-requested> ; |
| 364 | sp:arg3 [ rdf:type sp:if ; | 341 | sp:arg3 [ rdf:type sp:if ; |
| 365 | sp:arg1 [ rdf:type sp:eq ; | 342 | sp:arg1 [ rdf:type sp:eq ; |
| 366 | sp:arg1 spin:_arg1 ; | 343 | sp:arg1 spin:_arg1 ; |
| 367 | - sp:arg2 combo:RF_manifold--injection | 344 | + sp:arg2 combo:RF_export-shortfall |
| 368 | ] ; | 345 | ] ; |
| 369 | - sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Manifold-injection> ; | 346 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export-shortfall> ; |
| 370 | sp:arg3 [ rdf:type sp:if ; | 347 | sp:arg3 [ rdf:type sp:if ; |
| 371 | sp:arg1 [ rdf:type sp:eq ; | 348 | sp:arg1 [ rdf:type sp:eq ; |
| 372 | sp:arg1 spin:_arg1 ; | 349 | sp:arg1 spin:_arg1 ; |
| 373 | - sp:arg2 combo:RF_tank | 350 | + sp:arg2 combo:RF_export |
| 374 | ] ; | 351 | ] ; |
| 375 | - sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Tank> ; | 352 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export> ; |
| 376 | sp:arg3 [ rdf:type sp:if ; | 353 | sp:arg3 [ rdf:type sp:if ; |
| 377 | sp:arg1 [ rdf:type sp:eq ; | 354 | sp:arg1 [ rdf:type sp:eq ; |
| 378 | sp:arg1 spin:_arg1 ; | 355 | sp:arg1 spin:_arg1 ; |
| 379 | - sp:arg2 combo:RF_county | 356 | + sp:arg2 combo:RF_gaslift |
| 380 | ] ; | 357 | ] ; |
| 381 | - sp:arg2 ep-geog:County ; | 358 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Gaslift> ; |
| 382 | sp:arg3 [ rdf:type sp:if ; | 359 | sp:arg3 [ rdf:type sp:if ; |
| 383 | sp:arg1 [ rdf:type sp:eq ; | 360 | sp:arg1 [ rdf:type sp:eq ; |
| 384 | sp:arg1 spin:_arg1 ; | 361 | sp:arg1 spin:_arg1 ; |
| 385 | - sp:arg2 combo:RF_separator | 362 | + sp:arg2 combo:RF_import |
| 386 | ] ; | 363 | ] ; |
| 387 | - sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Separator> ; | 364 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import> ; |
| 388 | sp:arg3 [ rdf:type sp:if ; | 365 | sp:arg3 [ rdf:type sp:if ; |
| 389 | sp:arg1 [ rdf:type sp:eq ; | 366 | sp:arg1 [ rdf:type sp:eq ; |
| 390 | sp:arg1 spin:_arg1 ; | 367 | sp:arg1 spin:_arg1 ; |
| 391 | - sp:arg2 combo:RF_lease | 368 | + sp:arg2 combo:RF_injection |
| 392 | ] ; | 369 | ] ; |
| 393 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Lease> ; | 370 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> ; |
| 394 | sp:arg3 [ rdf:type sp:if ; | 371 | sp:arg3 [ rdf:type sp:if ; |
| 395 | sp:arg1 [ rdf:type sp:eq ; | 372 | sp:arg1 [ rdf:type sp:eq ; |
| 396 | sp:arg1 spin:_arg1 ; | 373 | sp:arg1 spin:_arg1 ; |
| 397 | - sp:arg2 combo:RF_flowline | 374 | + sp:arg2 combo:RF_inventory |
| 398 | ] ; | 375 | ] ; |
| 399 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Flowline> ; | 376 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Inventory> ; |
| 400 | sp:arg3 [ rdf:type sp:if ; | 377 | sp:arg3 [ rdf:type sp:if ; |
| 401 | sp:arg1 [ rdf:type sp:eq ; | 378 | sp:arg1 [ rdf:type sp:eq ; |
| 402 | sp:arg1 spin:_arg1 ; | 379 | sp:arg1 spin:_arg1 ; |
| 403 | - sp:arg2 combo:RF_reservoir | 380 | + sp:arg2 combo:RF_overboard |
| 404 | ] ; | 381 | ] ; |
| 405 | - sp:arg2 <http://www.reportinghub.no/ep/schema/facility#Reservoir> ; | 382 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Overboard> ; |
| 406 | sp:arg3 [ rdf:type sp:if ; | 383 | sp:arg3 [ rdf:type sp:if ; |
| 407 | sp:arg1 [ rdf:type sp:eq ; | 384 | sp:arg1 [ rdf:type sp:eq ; |
| 408 | sp:arg1 spin:_arg1 ; | 385 | sp:arg1 spin:_arg1 ; |
| 409 | - sp:arg2 combo:RF_well | 386 | + sp:arg2 combo:RF_production |
| 410 | ] ; | 387 | ] ; |
| 411 | - sp:arg2 <http://www.reportinghub.no/ep/schema/well#Well> ; | 388 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> ; |
| 412 | sp:arg3 [ rdf:type sp:if ; | 389 | sp:arg3 [ rdf:type sp:if ; |
| 413 | sp:arg1 [ rdf:type sp:eq ; | 390 | sp:arg1 [ rdf:type sp:eq ; |
| 414 | sp:arg1 spin:_arg1 ; | 391 | sp:arg1 spin:_arg1 ; |
| 415 | - sp:arg2 combo:RF_compressor | 392 | + sp:arg2 combo:ReportingFlow_RF_unknown |
| 416 | ] ; | 393 | ] ; |
| 417 | - sp:arg2 <http://www.reportinghub.no/ep/schema/equipment#Compressor> ; | 394 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
| 418 | - sp:arg3 <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> | 395 | + sp:arg3 <http://www.reportinghub.no/ep/schema/flow#Flow> |
| 419 | - ] | ||
| 420 | - ] | ||
| 421 | - ] | ||
| 422 | - ] | ||
| 423 | ] | 396 | ] |
| 424 | ] | 397 | ] |
| 425 | ] | 398 | ] |
| ... | @@ -445,10 +418,10 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -445,10 +418,10 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
| 445 | ]) | 418 | ]) |
| 446 | ] . | 419 | ] . |
| 447 | 420 | ||
| 448 | -_:b4 sp:varName "productionFlowPurposeType"^^xsd:string . | 421 | +_:b3 sp:varName "productionFacilityType"^^xsd:string . |
| 449 | 422 | ||
| 450 | _:b2 sp:varName "uri"^^xsd:string . | 423 | _:b2 sp:varName "uri"^^xsd:string . |
| 451 | 424 | ||
| 452 | _:b1 sp:varName "uri"^^xsd:string . | 425 | _:b1 sp:varName "uri"^^xsd:string . |
| 453 | 426 | ||
| 454 | -_:b3 sp:varName "productionFacilityType"^^xsd:string . | 427 | +_:b4 sp:varName "productionFlowPurposeType"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Sun Oct 09 10:30:44 BST 2011 | 1 | +# Saved by TopBraid on Sun Oct 09 10:52:22 BST 2011 |
| 2 | # baseURI: null | 2 | # baseURI: null |
| 3 | 3 | ||
| 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
| 1 | -# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011 | ||
| 2 | -# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume | ||
| 3 | -# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/facility | ||
| 6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/flow | ||
| 7 | -# imports: http://spinrdf.org/spin | ||
| 8 | -# imports: http://www.witsml.org/schemas/131/addendum/combo | ||
| 9 | - | ||
| 10 | -@prefix : <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> . | ||
| 11 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
| 12 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 13 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 14 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 15 | -@prefix sp: <http://spinrdf.org/sp#> . | ||
| 16 | -@prefix spin: <http://spinrdf.org/spin#> . | ||
| 17 | -@prefix spl: <http://spinrdf.org/spl#> . | ||
| 18 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 19 | - | ||
| 20 | -<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> | ||
| 21 | - rdf:type owl:Ontology ; | ||
| 22 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | ||
| 23 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 24 | - | ||
| 25 | -<http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> | ||
| 26 | - spin:rule | ||
| 27 | - [ rdf:type sp:Construct ; | ||
| 28 | - rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ; | ||
| 29 | - sp:templates () ; | ||
| 30 | - sp:where ([ sp:object _:b1 ; | ||
| 31 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 32 | - sp:subject spin:_this | ||
| 33 | - ] [ sp:object _:b2 ; | ||
| 34 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 35 | - sp:subject _:b1 | ||
| 36 | - ] [ sp:object | ||
| 37 | - [ sp:varName "facilityName"^^xsd:string | ||
| 38 | - ] ; | ||
| 39 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 40 | - sp:subject _:b2 | ||
| 41 | - ] [ rdf:type sp:Optional ; | ||
| 42 | - sp:elements ([ sp:object | ||
| 43 | - [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 44 | - ] ; | ||
| 45 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | ||
| 46 | - sp:subject _:b2 | ||
| 47 | - ]) | ||
| 48 | - ] [ rdf:type sp:Optional ; | ||
| 49 | - sp:elements ([ sp:object | ||
| 50 | - [ sp:varName "facilityKind"^^xsd:string | ||
| 51 | - ] ; | ||
| 52 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 53 | - sp:subject _:b2 | ||
| 54 | - ]) | ||
| 55 | - ] [ sp:object _:b3 ; | ||
| 56 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 57 | - sp:subject _:b1 | ||
| 58 | - ] [ sp:object | ||
| 59 | - [ sp:varName "flowName"^^xsd:string | ||
| 60 | - ] ; | ||
| 61 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 62 | - sp:subject _:b3 | ||
| 63 | - ] [ sp:object | ||
| 64 | - [ sp:varName "flowKind"^^xsd:string | ||
| 65 | - ] ; | ||
| 66 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 67 | - sp:subject _:b3 | ||
| 68 | - ] [ sp:object | ||
| 69 | - [ sp:varName "flowDirection"^^xsd:string | ||
| 70 | - ] ; | ||
| 71 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | ||
| 72 | - sp:subject _:b3 | ||
| 73 | - ] [ sp:object | ||
| 74 | - [ sp:varName "flowQualifier"^^xsd:string | ||
| 75 | - ] ; | ||
| 76 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | ||
| 77 | - sp:subject _:b3 | ||
| 78 | - ] [ sp:object _:b4 ; | ||
| 79 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; | ||
| 80 | - sp:subject _:b3 | ||
| 81 | - ] [ sp:object _:b5 ; | ||
| 82 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 83 | - sp:subject _:b4 | ||
| 84 | - ] [ sp:object | ||
| 85 | - [ sp:varName "productName"^^xsd:string | ||
| 86 | - ] ; | ||
| 87 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 88 | - sp:subject _:b5 | ||
| 89 | - ] [ rdf:type sp:Optional ; | ||
| 90 | - sp:elements ([ sp:object | ||
| 91 | - [ sp:varName "productNamingSystem"^^xsd:string | ||
| 92 | - ] ; | ||
| 93 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | ||
| 94 | - sp:subject _:b5 | ||
| 95 | - ]) | ||
| 96 | - ] [ rdf:type sp:Optional ; | ||
| 97 | - sp:elements ([ sp:object _:b6 ; | ||
| 98 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 99 | - sp:subject _:b5 | ||
| 100 | - ]) | ||
| 101 | - ] [ sp:object _:b6 ; | ||
| 102 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 103 | - sp:subject _:b4 | ||
| 104 | - ] [ sp:object _:b7 ; | ||
| 105 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; | ||
| 106 | - sp:subject _:b4 | ||
| 107 | - ] [ sp:object | ||
| 108 | - [ sp:varName "periodKind"^^xsd:string | ||
| 109 | - ] ; | ||
| 110 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 111 | - sp:subject _:b7 | ||
| 112 | - ] [ sp:object | ||
| 113 | - [ sp:varName "startTime"^^xsd:string | ||
| 114 | - ] ; | ||
| 115 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | ||
| 116 | - sp:subject _:b7 | ||
| 117 | - ] [ sp:object | ||
| 118 | - [ sp:varName "endTime"^^xsd:string | ||
| 119 | - ] ; | ||
| 120 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | ||
| 121 | - sp:subject _:b7 | ||
| 122 | - ] [ rdf:type sp:Optional ; | ||
| 123 | - sp:elements ([ sp:object _:b8 ; | ||
| 124 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; | ||
| 125 | - sp:subject _:b7 | ||
| 126 | - ] [ sp:object | ||
| 127 | - [ sp:varName "realVolume"^^xsd:string | ||
| 128 | - ] ; | ||
| 129 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 130 | - sp:subject _:b8 | ||
| 131 | - ] [ sp:object | ||
| 132 | - [ sp:varName "uomVolume"^^xsd:string | ||
| 133 | - ] ; | ||
| 134 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
| 135 | - sp:subject _:b8 | ||
| 136 | - ]) | ||
| 137 | - ] [ rdf:type sp:Optional ; | ||
| 138 | - sp:elements ([ sp:object _:b9 ; | ||
| 139 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; | ||
| 140 | - sp:subject _:b7 | ||
| 141 | - ] [ sp:object | ||
| 142 | - [ sp:varName "realVolumeStd"^^xsd:string | ||
| 143 | - ] ; | ||
| 144 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 145 | - sp:subject _:b9 | ||
| 146 | - ] [ sp:object | ||
| 147 | - [ sp:varName "uomVolumeStd"^^xsd:string | ||
| 148 | - ] ; | ||
| 149 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | ||
| 150 | - sp:subject _:b9 | ||
| 151 | - ]) | ||
| 152 | - ]) | ||
| 153 | - ] ; | ||
| 154 | - spin:rule | ||
| 155 | - [ rdf:type sp:Construct ; | ||
| 156 | - rdfs:comment """STEP 20101 Record the Facility that has the flows | ||
| 157 | -Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 158 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | ||
| 159 | - sp:predicate rdf:type ; | ||
| 160 | - sp:subject _:b10 | ||
| 161 | - ] [ sp:object _:b11 ; | ||
| 162 | - sp:predicate rdf:type ; | ||
| 163 | - sp:subject _:b10 | ||
| 164 | - ] [ sp:object _:b12 ; | ||
| 165 | - sp:predicate rdfs:label ; | ||
| 166 | - sp:subject _:b10 | ||
| 167 | - ]) ; | ||
| 168 | - sp:where ([ sp:object _:b13 ; | ||
| 169 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 170 | - sp:subject spin:_this | ||
| 171 | - ] [ sp:object _:b14 ; | ||
| 172 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 173 | - sp:subject _:b13 | ||
| 174 | - ] [ sp:object _:b12 ; | ||
| 175 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 176 | - sp:subject _:b14 | ||
| 177 | - ] [ rdf:type sp:Optional ; | ||
| 178 | - sp:elements ([ sp:object | ||
| 179 | - [ sp:varName "facilityNamingSystem"^^xsd:string | ||
| 180 | - ] ; | ||
| 181 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | ||
| 182 | - sp:subject _:b14 | ||
| 183 | - ]) | ||
| 184 | - ] [ rdf:type sp:Optional ; | ||
| 185 | - sp:elements ([ sp:object _:b15 ; | ||
| 186 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 187 | - sp:subject _:b14 | ||
| 188 | - ]) | ||
| 189 | - ] [ rdf:type sp:Bind ; | ||
| 190 | - sp:expression | ||
| 191 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 192 | - sp:arg1 _:b12 | ||
| 193 | - ] ; | ||
| 194 | - sp:variable _:b16 | ||
| 195 | - ] [ rdf:type sp:Bind ; | ||
| 196 | - sp:expression | ||
| 197 | - [ rdf:type ep-spin-lib:buildProductionFacilityURI ; | ||
| 198 | - sp:arg1 _:b16 | ||
| 199 | - ] ; | ||
| 200 | - sp:variable _:b10 | ||
| 201 | - ] [ rdf:type sp:Bind ; | ||
| 202 | - sp:expression | ||
| 203 | - [ rdf:type ep-spin-lib:selectProductionFacilityType ; | ||
| 204 | - sp:arg1 _:b15 | ||
| 205 | - ] ; | ||
| 206 | - sp:variable _:b11 | ||
| 207 | - ]) | ||
| 208 | - ] ; | ||
| 209 | - spin:rule | ||
| 210 | - [ rdf:type sp:Construct ; | ||
| 211 | - rdfs:comment "STEP 20102 record the flows"^^xsd:string ; | ||
| 212 | - sp:templates ([ sp:object _:b17 ; | ||
| 213 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
| 214 | - sp:subject _:b18 | ||
| 215 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | ||
| 216 | - sp:predicate rdf:type ; | ||
| 217 | - sp:subject _:b17 | ||
| 218 | - ] [ sp:object _:b19 ; | ||
| 219 | - sp:predicate rdf:type ; | ||
| 220 | - sp:subject _:b17 | ||
| 221 | - ] [ sp:object | ||
| 222 | - [ sp:varName "productionFlowType"^^xsd:string | ||
| 223 | - ] ; | ||
| 224 | - sp:predicate rdf:type ; | ||
| 225 | - sp:subject _:b17 | ||
| 226 | - ] [ sp:object _:b20 ; | ||
| 227 | - sp:predicate rdfs:label ; | ||
| 228 | - sp:subject _:b17 | ||
| 229 | - ]) ; | ||
| 230 | - sp:where ([ sp:object _:b21 ; | ||
| 231 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | ||
| 232 | - sp:subject spin:_this | ||
| 233 | - ] [ sp:object _:b22 ; | ||
| 234 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | ||
| 235 | - sp:subject _:b21 | ||
| 236 | - ] [ sp:object _:b23 ; | ||
| 237 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 238 | - sp:subject _:b22 | ||
| 239 | - ] [ sp:object _:b24 ; | ||
| 240 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 241 | - sp:subject _:b21 | ||
| 242 | - ] [ sp:object _:b20 ; | ||
| 243 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 244 | - sp:subject _:b24 | ||
| 245 | - ] [ sp:object _:b25 ; | ||
| 246 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 247 | - sp:subject _:b24 | ||
| 248 | - ] [ rdf:type sp:Optional ; | ||
| 249 | - sp:elements ([ sp:object | ||
| 250 | - [ sp:varName "flowDirection"^^xsd:string | ||
| 251 | - ] ; | ||
| 252 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | ||
| 253 | - sp:subject _:b24 | ||
| 254 | - ]) | ||
| 255 | - ] [ rdf:type sp:Optional ; | ||
| 256 | - sp:elements ([ sp:object | ||
| 257 | - [ sp:varName "flowQualifier"^^xsd:string | ||
| 258 | - ] ; | ||
| 259 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | ||
| 260 | - sp:subject _:b24 | ||
| 261 | - ]) | ||
| 262 | - ] [ rdf:type sp:Bind ; | ||
| 263 | - sp:expression | ||
| 264 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 265 | - sp:arg1 _:b23 | ||
| 266 | - ] ; | ||
| 267 | - sp:variable _:b26 | ||
| 268 | - ] [ rdf:type sp:Bind ; | ||
| 269 | - sp:expression | ||
| 270 | - [ rdf:type ep-spin-lib:buildProductionFacilityURI ; | ||
| 271 | - sp:arg1 _:b26 | ||
| 272 | - ] ; | ||
| 273 | - sp:variable _:b18 | ||
| 274 | - ] [ rdf:type sp:Bind ; | ||
| 275 | - sp:expression | ||
| 276 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 277 | - sp:arg1 _:b20 | ||
| 278 | - ] ; | ||
| 279 | - sp:variable _:b27 | ||
| 280 | - ] [ rdf:type sp:Bind ; | ||
| 281 | - sp:expression | ||
| 282 | - [ rdf:type ep-spin-lib:buildProductionFlowURI ; | ||
| 283 | - sp:arg1 _:b27 | ||
| 284 | - ] ; | ||
| 285 | - sp:variable _:b17 | ||
| 286 | - ] [ rdf:type sp:Bind ; | ||
| 287 | - sp:expression | ||
| 288 | - [ rdf:type ep-spin-lib:selectProductionFlowPurposeType ; | ||
| 289 | - sp:arg1 _:b25 | ||
| 290 | - ] ; | ||
| 291 | - sp:variable _:b19 | ||
| 292 | - ] [ rdf:type sp:Bind ; | ||
| 293 | - sp:expression | ||
| 294 | - [ rdf:type ep-spin-lib:selectProductionFlowQualifierType ; | ||
| 295 | - sp:arg1 _:b25 | ||
| 296 | - ] ; | ||
| 297 | - sp:variable | ||
| 298 | - [ sp:varName "productionFlowQualitierType"^^xsd:string | ||
| 299 | - ] | ||
| 300 | - ]) | ||
| 301 | - ] . | ||
| 302 | - | ||
| 303 | -_:b9 sp:varName "volumeStdRef"^^xsd:string . | ||
| 304 | - | ||
| 305 | -_:b8 sp:varName "volumeRef"^^xsd:string . | ||
| 306 | - | ||
| 307 | -_:b7 sp:varName "period"^^xsd:string . | ||
| 308 | - | ||
| 309 | -_:b6 sp:varName "productKind"^^xsd:string . | ||
| 310 | - | ||
| 311 | -_:b5 sp:varName "productNameRef"^^xsd:string . | ||
| 312 | - | ||
| 313 | -_:b4 sp:varName "product"^^xsd:string . | ||
| 314 | - | ||
| 315 | -_:b3 sp:varName "flow"^^xsd:string . | ||
| 316 | - | ||
| 317 | -_:b2 sp:varName "facilityNameRef"^^xsd:string . | ||
| 318 | - | ||
| 319 | -_:b1 sp:varName "facility"^^xsd:string . | ||
| 320 | - | ||
| 321 | -_:b16 | ||
| 322 | - sp:varName "normalizedFacilityName"^^xsd:string . | ||
| 323 | - | ||
| 324 | -_:b15 | ||
| 325 | - sp:varName "facilityKind"^^xsd:string . | ||
| 326 | - | ||
| 327 | -_:b14 | ||
| 328 | - sp:varName "facilityNameRef"^^xsd:string . | ||
| 329 | - | ||
| 330 | -_:b13 | ||
| 331 | - sp:varName "facilityRef"^^xsd:string . | ||
| 332 | - | ||
| 333 | -_:b12 | ||
| 334 | - sp:varName "facilityName"^^xsd:string . | ||
| 335 | - | ||
| 336 | -_:b11 | ||
| 337 | - sp:varName "productionFacilityType"^^xsd:string . | ||
| 338 | - | ||
| 339 | -_:b10 | ||
| 340 | - sp:varName "productionFacility"^^xsd:string . | ||
| 341 | - | ||
| 342 | -_:b27 | ||
| 343 | - sp:varName "normalizedFlowName"^^xsd:string . | ||
| 344 | - | ||
| 345 | -_:b26 | ||
| 346 | - sp:varName "normalizedFacilityName"^^xsd:string . | ||
| 347 | - | ||
| 348 | -_:b25 | ||
| 349 | - sp:varName "flowKind"^^xsd:string . | ||
| 350 | - | ||
| 351 | -_:b24 | ||
| 352 | - sp:varName "flowRef"^^xsd:string . | ||
| 353 | - | ||
| 354 | -_:b23 | ||
| 355 | - sp:varName "facilityName"^^xsd:string . | ||
| 356 | - | ||
| 357 | -_:b22 | ||
| 358 | - sp:varName "facilityNameRef"^^xsd:string . | ||
| 359 | - | ||
| 360 | -_:b21 | ||
| 361 | - sp:varName "facilityRef"^^xsd:string . | ||
| 362 | - | ||
| 363 | -_:b20 | ||
| 364 | - sp:varName "flowName"^^xsd:string . | ||
| 365 | - | ||
| 366 | -_:b19 | ||
| 367 | - sp:varName "productionFlowPurposeType"^^xsd:string . | ||
| 368 | - | ||
| 369 | -_:b18 | ||
| 370 | - sp:varName "productionFacility"^^xsd:string . | ||
| 371 | - | ||
| 372 | -_:b17 | ||
| 373 | - sp:varName "productionFlow"^^xsd:string . |
| 1 | -# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011 | ||
| 2 | -# baseURI: null | ||
| 3 | - | ||
| 4 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
| 5 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
| 6 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
| 7 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 8 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 9 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 10 | -@prefix visual: <http://topbraid.org/visual#> . | ||
| 11 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 12 | - | ||
| 13 | -[] rdf:type inference:Configuration ; | ||
| 14 | - composite:child | ||
| 15 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
| 16 | - composite:index "0"^^xsd:int | ||
| 17 | - ] . |
| 1 | -# Saved by TopBraid on Sun Oct 09 10:35:53 BST 2011 | 1 | +# Saved by TopBraid on Sun Oct 09 10:52:18 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume | 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume |
| 3 | # imports: http://www.reportinghub.no/ep/spin/1.1/lib | 3 | # imports: http://www.reportinghub.no/ep/spin/1.1/lib |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 5 | # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 4 | # imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
| 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| 7 | # imports: http://spinrdf.org/spin | 7 | # imports: http://spinrdf.org/spin |
| 8 | # imports: http://www.witsml.org/schemas/131/addendum/combo | 8 | # imports: http://www.witsml.org/schemas/131/addendum/combo |
| ... | @@ -20,355 +20,355 @@ | ... | @@ -20,355 +20,355 @@ |
| 20 | 20 | ||
| 21 | <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> | 21 | <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> |
| 22 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
| 23 | - owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | 23 | + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; |
| 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 25 | 25 | ||
| 26 | <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> | 26 | <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> |
| 27 | spin:rule | 27 | spin:rule |
| 28 | [ rdf:type sp:Construct ; | 28 | [ rdf:type sp:Construct ; |
| 29 | - rdfs:comment """STEP 20101 Record the Facility that has the flows | 29 | + rdfs:comment "STEP 20102 record the flows"^^xsd:string ; |
| 30 | -Nothing is done with the namingSystem!"""^^xsd:string ; | 30 | + sp:templates ([ sp:object _:b1 ; |
| 31 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; | 31 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 32 | + sp:subject _:b2 | ||
| 33 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 32 | sp:predicate rdf:type ; | 34 | sp:predicate rdf:type ; |
| 33 | sp:subject _:b1 | 35 | sp:subject _:b1 |
| 34 | - ] [ sp:object _:b2 ; | 36 | + ] [ sp:object _:b3 ; |
| 35 | sp:predicate rdf:type ; | 37 | sp:predicate rdf:type ; |
| 36 | sp:subject _:b1 | 38 | sp:subject _:b1 |
| 37 | - ] [ sp:object _:b3 ; | 39 | + ] [ sp:object |
| 40 | + [ sp:varName "productionFlowType"^^xsd:string | ||
| 41 | + ] ; | ||
| 42 | + sp:predicate rdf:type ; | ||
| 43 | + sp:subject _:b1 | ||
| 44 | + ] [ sp:object _:b4 ; | ||
| 38 | sp:predicate rdfs:label ; | 45 | sp:predicate rdfs:label ; |
| 39 | sp:subject _:b1 | 46 | sp:subject _:b1 |
| 40 | ]) ; | 47 | ]) ; |
| 41 | - sp:where ([ sp:object _:b4 ; | 48 | + sp:where ([ sp:object _:b5 ; |
| 42 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 49 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 43 | sp:subject spin:_this | 50 | sp:subject spin:_this |
| 44 | - ] [ sp:object _:b5 ; | 51 | + ] [ sp:object _:b6 ; |
| 45 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 52 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 46 | - sp:subject _:b4 | 53 | + sp:subject _:b5 |
| 47 | - ] [ sp:object _:b3 ; | 54 | + ] [ sp:object _:b7 ; |
| 48 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 55 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 56 | + sp:subject _:b6 | ||
| 57 | + ] [ sp:object _:b8 ; | ||
| 58 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 49 | sp:subject _:b5 | 59 | sp:subject _:b5 |
| 60 | + ] [ sp:object _:b4 ; | ||
| 61 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 62 | + sp:subject _:b8 | ||
| 63 | + ] [ sp:object _:b9 ; | ||
| 64 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 65 | + sp:subject _:b8 | ||
| 50 | ] [ rdf:type sp:Optional ; | 66 | ] [ rdf:type sp:Optional ; |
| 51 | sp:elements ([ sp:object | 67 | sp:elements ([ sp:object |
| 52 | - [ sp:varName "facilityNamingSystem"^^xsd:string | 68 | + [ sp:varName "flowDirection"^^xsd:string |
| 53 | ] ; | 69 | ] ; |
| 54 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | 70 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; |
| 55 | - sp:subject _:b5 | 71 | + sp:subject _:b8 |
| 56 | ]) | 72 | ]) |
| 57 | ] [ rdf:type sp:Optional ; | 73 | ] [ rdf:type sp:Optional ; |
| 58 | - sp:elements ([ sp:object _:b6 ; | 74 | + sp:elements ([ sp:object |
| 59 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 75 | + [ sp:varName "flowQualifier"^^xsd:string |
| 60 | - sp:subject _:b5 | 76 | + ] ; |
| 77 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | ||
| 78 | + sp:subject _:b8 | ||
| 61 | ]) | 79 | ]) |
| 62 | ] [ rdf:type sp:Bind ; | 80 | ] [ rdf:type sp:Bind ; |
| 63 | sp:expression | 81 | sp:expression |
| 64 | [ rdf:type ep-spin-lib:normalizeString ; | 82 | [ rdf:type ep-spin-lib:normalizeString ; |
| 65 | - sp:arg1 _:b3 | 83 | + sp:arg1 _:b7 |
| 66 | ] ; | 84 | ] ; |
| 67 | - sp:variable _:b7 | 85 | + sp:variable _:b10 |
| 68 | ] [ rdf:type sp:Bind ; | 86 | ] [ rdf:type sp:Bind ; |
| 69 | sp:expression | 87 | sp:expression |
| 70 | [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | 88 | [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 71 | - sp:arg1 _:b7 | 89 | + sp:arg1 _:b10 |
| 90 | + ] ; | ||
| 91 | + sp:variable _:b2 | ||
| 92 | + ] [ rdf:type sp:Bind ; | ||
| 93 | + sp:expression | ||
| 94 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
| 95 | + sp:arg1 _:b4 | ||
| 96 | + ] ; | ||
| 97 | + sp:variable _:b11 | ||
| 98 | + ] [ rdf:type sp:Bind ; | ||
| 99 | + sp:expression | ||
| 100 | + [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | ||
| 101 | + sp:arg1 _:b11 | ||
| 72 | ] ; | 102 | ] ; |
| 73 | sp:variable _:b1 | 103 | sp:variable _:b1 |
| 74 | ] [ rdf:type sp:Bind ; | 104 | ] [ rdf:type sp:Bind ; |
| 75 | sp:expression | 105 | sp:expression |
| 76 | - [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; | 106 | + [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; |
| 77 | - sp:arg1 _:b6 | 107 | + sp:arg1 _:b9 |
| 78 | ] ; | 108 | ] ; |
| 79 | - sp:variable _:b2 | 109 | + sp:variable _:b3 |
| 110 | + ] [ rdf:type sp:Bind ; | ||
| 111 | + sp:expression | ||
| 112 | + [ rdf:type ep-dpr-spin-lib:selectProductionFlowQualifierType ; | ||
| 113 | + sp:arg1 _:b9 | ||
| 114 | + ] ; | ||
| 115 | + sp:variable | ||
| 116 | + [ sp:varName "productionFlowQualitierType"^^xsd:string | ||
| 117 | + ] | ||
| 80 | ]) | 118 | ]) |
| 81 | ] ; | 119 | ] ; |
| 82 | spin:rule | 120 | spin:rule |
| 83 | [ rdf:type sp:Construct ; | 121 | [ rdf:type sp:Construct ; |
| 84 | rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ; | 122 | rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ; |
| 85 | sp:templates () ; | 123 | sp:templates () ; |
| 86 | - sp:where ([ sp:object _:b8 ; | 124 | + sp:where ([ sp:object _:b12 ; |
| 87 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 125 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 88 | sp:subject spin:_this | 126 | sp:subject spin:_this |
| 89 | - ] [ sp:object _:b9 ; | 127 | + ] [ sp:object _:b13 ; |
| 90 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 128 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 91 | - sp:subject _:b8 | 129 | + sp:subject _:b12 |
| 92 | ] [ sp:object | 130 | ] [ sp:object |
| 93 | [ sp:varName "facilityName"^^xsd:string | 131 | [ sp:varName "facilityName"^^xsd:string |
| 94 | ] ; | 132 | ] ; |
| 95 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 133 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 96 | - sp:subject _:b9 | 134 | + sp:subject _:b13 |
| 97 | ] [ rdf:type sp:Optional ; | 135 | ] [ rdf:type sp:Optional ; |
| 98 | sp:elements ([ sp:object | 136 | sp:elements ([ sp:object |
| 99 | [ sp:varName "facilityNamingSystem"^^xsd:string | 137 | [ sp:varName "facilityNamingSystem"^^xsd:string |
| 100 | ] ; | 138 | ] ; |
| 101 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | 139 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; |
| 102 | - sp:subject _:b9 | 140 | + sp:subject _:b13 |
| 103 | ]) | 141 | ]) |
| 104 | ] [ rdf:type sp:Optional ; | 142 | ] [ rdf:type sp:Optional ; |
| 105 | sp:elements ([ sp:object | 143 | sp:elements ([ sp:object |
| 106 | [ sp:varName "facilityKind"^^xsd:string | 144 | [ sp:varName "facilityKind"^^xsd:string |
| 107 | ] ; | 145 | ] ; |
| 108 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 146 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 109 | - sp:subject _:b9 | 147 | + sp:subject _:b13 |
| 110 | ]) | 148 | ]) |
| 111 | - ] [ sp:object _:b10 ; | 149 | + ] [ sp:object _:b14 ; |
| 112 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | 150 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; |
| 113 | - sp:subject _:b8 | 151 | + sp:subject _:b12 |
| 114 | ] [ sp:object | 152 | ] [ sp:object |
| 115 | [ sp:varName "flowName"^^xsd:string | 153 | [ sp:varName "flowName"^^xsd:string |
| 116 | ] ; | 154 | ] ; |
| 117 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | 155 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; |
| 118 | - sp:subject _:b10 | 156 | + sp:subject _:b14 |
| 119 | ] [ sp:object | 157 | ] [ sp:object |
| 120 | [ sp:varName "flowKind"^^xsd:string | 158 | [ sp:varName "flowKind"^^xsd:string |
| 121 | ] ; | 159 | ] ; |
| 122 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 160 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 123 | - sp:subject _:b10 | 161 | + sp:subject _:b14 |
| 124 | ] [ sp:object | 162 | ] [ sp:object |
| 125 | [ sp:varName "flowDirection"^^xsd:string | 163 | [ sp:varName "flowDirection"^^xsd:string |
| 126 | ] ; | 164 | ] ; |
| 127 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | 165 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; |
| 128 | - sp:subject _:b10 | 166 | + sp:subject _:b14 |
| 129 | ] [ sp:object | 167 | ] [ sp:object |
| 130 | [ sp:varName "flowQualifier"^^xsd:string | 168 | [ sp:varName "flowQualifier"^^xsd:string |
| 131 | ] ; | 169 | ] ; |
| 132 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | 170 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; |
| 133 | - sp:subject _:b10 | 171 | + sp:subject _:b14 |
| 134 | - ] [ sp:object _:b11 ; | 172 | + ] [ sp:object _:b15 ; |
| 135 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; | 173 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ; |
| 136 | - sp:subject _:b10 | 174 | + sp:subject _:b14 |
| 137 | - ] [ sp:object _:b12 ; | 175 | + ] [ sp:object _:b16 ; |
| 138 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 176 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 139 | - sp:subject _:b11 | 177 | + sp:subject _:b15 |
| 140 | ] [ sp:object | 178 | ] [ sp:object |
| 141 | [ sp:varName "productName"^^xsd:string | 179 | [ sp:varName "productName"^^xsd:string |
| 142 | ] ; | 180 | ] ; |
| 143 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 181 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 144 | - sp:subject _:b12 | 182 | + sp:subject _:b16 |
| 145 | ] [ rdf:type sp:Optional ; | 183 | ] [ rdf:type sp:Optional ; |
| 146 | sp:elements ([ sp:object | 184 | sp:elements ([ sp:object |
| 147 | [ sp:varName "productNamingSystem"^^xsd:string | 185 | [ sp:varName "productNamingSystem"^^xsd:string |
| 148 | ] ; | 186 | ] ; |
| 149 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; | 187 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; |
| 150 | - sp:subject _:b12 | 188 | + sp:subject _:b16 |
| 151 | ]) | 189 | ]) |
| 152 | ] [ rdf:type sp:Optional ; | 190 | ] [ rdf:type sp:Optional ; |
| 153 | - sp:elements ([ sp:object _:b13 ; | 191 | + sp:elements ([ sp:object _:b17 ; |
| 154 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 192 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 155 | - sp:subject _:b12 | 193 | + sp:subject _:b16 |
| 156 | ]) | 194 | ]) |
| 157 | - ] [ sp:object _:b13 ; | 195 | + ] [ sp:object _:b17 ; |
| 158 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 196 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 159 | - sp:subject _:b11 | 197 | + sp:subject _:b15 |
| 160 | - ] [ sp:object _:b14 ; | 198 | + ] [ sp:object _:b18 ; |
| 161 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; | 199 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; |
| 162 | - sp:subject _:b11 | 200 | + sp:subject _:b15 |
| 163 | ] [ sp:object | 201 | ] [ sp:object |
| 164 | [ sp:varName "periodKind"^^xsd:string | 202 | [ sp:varName "periodKind"^^xsd:string |
| 165 | ] ; | 203 | ] ; |
| 166 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | 204 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 167 | - sp:subject _:b14 | 205 | + sp:subject _:b18 |
| 168 | ] [ sp:object | 206 | ] [ sp:object |
| 169 | [ sp:varName "startTime"^^xsd:string | 207 | [ sp:varName "startTime"^^xsd:string |
| 170 | ] ; | 208 | ] ; |
| 171 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; | 209 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; |
| 172 | - sp:subject _:b14 | 210 | + sp:subject _:b18 |
| 173 | ] [ sp:object | 211 | ] [ sp:object |
| 174 | [ sp:varName "endTime"^^xsd:string | 212 | [ sp:varName "endTime"^^xsd:string |
| 175 | ] ; | 213 | ] ; |
| 176 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; | 214 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; |
| 177 | - sp:subject _:b14 | 215 | + sp:subject _:b18 |
| 178 | ] [ rdf:type sp:Optional ; | 216 | ] [ rdf:type sp:Optional ; |
| 179 | - sp:elements ([ sp:object _:b15 ; | 217 | + sp:elements ([ sp:object _:b19 ; |
| 180 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; | 218 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; |
| 181 | - sp:subject _:b14 | 219 | + sp:subject _:b18 |
| 182 | ] [ sp:object | 220 | ] [ sp:object |
| 183 | [ sp:varName "realVolume"^^xsd:string | 221 | [ sp:varName "realVolume"^^xsd:string |
| 184 | ] ; | 222 | ] ; |
| 185 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 223 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 186 | - sp:subject _:b15 | 224 | + sp:subject _:b19 |
| 187 | ] [ sp:object | 225 | ] [ sp:object |
| 188 | [ sp:varName "uomVolume"^^xsd:string | 226 | [ sp:varName "uomVolume"^^xsd:string |
| 189 | ] ; | 227 | ] ; |
| 190 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 228 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
| 191 | - sp:subject _:b15 | 229 | + sp:subject _:b19 |
| 192 | ]) | 230 | ]) |
| 193 | ] [ rdf:type sp:Optional ; | 231 | ] [ rdf:type sp:Optional ; |
| 194 | - sp:elements ([ sp:object _:b16 ; | 232 | + sp:elements ([ sp:object _:b20 ; |
| 195 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; | 233 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; |
| 196 | - sp:subject _:b14 | 234 | + sp:subject _:b18 |
| 197 | ] [ sp:object | 235 | ] [ sp:object |
| 198 | [ sp:varName "realVolumeStd"^^xsd:string | 236 | [ sp:varName "realVolumeStd"^^xsd:string |
| 199 | ] ; | 237 | ] ; |
| 200 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 238 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 201 | - sp:subject _:b16 | 239 | + sp:subject _:b20 |
| 202 | ] [ sp:object | 240 | ] [ sp:object |
| 203 | [ sp:varName "uomVolumeStd"^^xsd:string | 241 | [ sp:varName "uomVolumeStd"^^xsd:string |
| 204 | ] ; | 242 | ] ; |
| 205 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; | 243 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; |
| 206 | - sp:subject _:b16 | 244 | + sp:subject _:b20 |
| 207 | ]) | 245 | ]) |
| 208 | ]) | 246 | ]) |
| 209 | ] ; | 247 | ] ; |
| 210 | spin:rule | 248 | spin:rule |
| 211 | [ rdf:type sp:Construct ; | 249 | [ rdf:type sp:Construct ; |
| 212 | - rdfs:comment "STEP 20102 record the flows"^^xsd:string ; | 250 | + rdfs:comment """STEP 20101 Record the Facility that has the flows |
| 213 | - sp:templates ([ sp:object _:b17 ; | 251 | +Nothing is done with the namingSystem!"""^^xsd:string ; |
| 214 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 252 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; |
| 215 | - sp:subject _:b18 | ||
| 216 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | ||
| 217 | - sp:predicate rdf:type ; | ||
| 218 | - sp:subject _:b17 | ||
| 219 | - ] [ sp:object _:b19 ; | ||
| 220 | sp:predicate rdf:type ; | 253 | sp:predicate rdf:type ; |
| 221 | - sp:subject _:b17 | 254 | + sp:subject _:b21 |
| 222 | - ] [ sp:object | 255 | + ] [ sp:object _:b22 ; |
| 223 | - [ sp:varName "productionFlowType"^^xsd:string | ||
| 224 | - ] ; | ||
| 225 | sp:predicate rdf:type ; | 256 | sp:predicate rdf:type ; |
| 226 | - sp:subject _:b17 | 257 | + sp:subject _:b21 |
| 227 | - ] [ sp:object _:b20 ; | 258 | + ] [ sp:object _:b23 ; |
| 228 | sp:predicate rdfs:label ; | 259 | sp:predicate rdfs:label ; |
| 229 | - sp:subject _:b17 | 260 | + sp:subject _:b21 |
| 230 | ]) ; | 261 | ]) ; |
| 231 | - sp:where ([ sp:object _:b21 ; | 262 | + sp:where ([ sp:object _:b24 ; |
| 232 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; | 263 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; |
| 233 | sp:subject spin:_this | 264 | sp:subject spin:_this |
| 234 | - ] [ sp:object _:b22 ; | 265 | + ] [ sp:object _:b25 ; |
| 235 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; | 266 | sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; |
| 236 | - sp:subject _:b21 | 267 | + sp:subject _:b24 |
| 237 | ] [ sp:object _:b23 ; | 268 | ] [ sp:object _:b23 ; |
| 238 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 269 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 239 | - sp:subject _:b22 | 270 | + sp:subject _:b25 |
| 240 | - ] [ sp:object _:b24 ; | ||
| 241 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; | ||
| 242 | - sp:subject _:b21 | ||
| 243 | - ] [ sp:object _:b20 ; | ||
| 244 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; | ||
| 245 | - sp:subject _:b24 | ||
| 246 | - ] [ sp:object _:b25 ; | ||
| 247 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; | ||
| 248 | - sp:subject _:b24 | ||
| 249 | ] [ rdf:type sp:Optional ; | 271 | ] [ rdf:type sp:Optional ; |
| 250 | sp:elements ([ sp:object | 272 | sp:elements ([ sp:object |
| 251 | - [ sp:varName "flowDirection"^^xsd:string | 273 | + [ sp:varName "facilityNamingSystem"^^xsd:string |
| 252 | ] ; | 274 | ] ; |
| 253 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; | 275 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; |
| 254 | - sp:subject _:b24 | 276 | + sp:subject _:b25 |
| 255 | ]) | 277 | ]) |
| 256 | ] [ rdf:type sp:Optional ; | 278 | ] [ rdf:type sp:Optional ; |
| 257 | - sp:elements ([ sp:object | 279 | + sp:elements ([ sp:object _:b26 ; |
| 258 | - [ sp:varName "flowQualifier"^^xsd:string | 280 | + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; |
| 259 | - ] ; | 281 | + sp:subject _:b25 |
| 260 | - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; | ||
| 261 | - sp:subject _:b24 | ||
| 262 | ]) | 282 | ]) |
| 263 | ] [ rdf:type sp:Bind ; | 283 | ] [ rdf:type sp:Bind ; |
| 264 | sp:expression | 284 | sp:expression |
| 265 | [ rdf:type ep-spin-lib:normalizeString ; | 285 | [ rdf:type ep-spin-lib:normalizeString ; |
| 266 | sp:arg1 _:b23 | 286 | sp:arg1 _:b23 |
| 267 | ] ; | 287 | ] ; |
| 268 | - sp:variable _:b26 | ||
| 269 | - ] [ rdf:type sp:Bind ; | ||
| 270 | - sp:expression | ||
| 271 | - [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; | ||
| 272 | - sp:arg1 _:b26 | ||
| 273 | - ] ; | ||
| 274 | - sp:variable _:b18 | ||
| 275 | - ] [ rdf:type sp:Bind ; | ||
| 276 | - sp:expression | ||
| 277 | - [ rdf:type ep-spin-lib:normalizeString ; | ||
| 278 | - sp:arg1 _:b20 | ||
| 279 | - ] ; | ||
| 280 | sp:variable _:b27 | 288 | sp:variable _:b27 |
| 281 | ] [ rdf:type sp:Bind ; | 289 | ] [ rdf:type sp:Bind ; |
| 282 | sp:expression | 290 | sp:expression |
| 283 | - [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; | 291 | + [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; |
| 284 | sp:arg1 _:b27 | 292 | sp:arg1 _:b27 |
| 285 | ] ; | 293 | ] ; |
| 286 | - sp:variable _:b17 | 294 | + sp:variable _:b21 |
| 287 | ] [ rdf:type sp:Bind ; | 295 | ] [ rdf:type sp:Bind ; |
| 288 | sp:expression | 296 | sp:expression |
| 289 | - [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; | 297 | + [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; |
| 290 | - sp:arg1 _:b25 | 298 | + sp:arg1 _:b26 |
| 291 | - ] ; | ||
| 292 | - sp:variable _:b19 | ||
| 293 | - ] [ rdf:type sp:Bind ; | ||
| 294 | - sp:expression | ||
| 295 | - [ rdf:type ep-dpr-spin-lib:selectProductionFlowQualifierType ; | ||
| 296 | - sp:arg1 _:b25 | ||
| 297 | ] ; | 299 | ] ; |
| 298 | - sp:variable | 300 | + sp:variable _:b22 |
| 299 | - [ sp:varName "productionFlowQualitierType"^^xsd:string | ||
| 300 | - ] | ||
| 301 | ]) | 301 | ]) |
| 302 | ] . | 302 | ] . |
| 303 | 303 | ||
| 304 | -_:b7 sp:varName "normalizedFacilityName"^^xsd:string . | 304 | +_:b3 sp:varName "productionFlowPurposeType"^^xsd:string . |
| 305 | 305 | ||
| 306 | -_:b6 sp:varName "facilityKind"^^xsd:string . | 306 | +_:b1 sp:varName "productionFlow"^^xsd:string . |
| 307 | 307 | ||
| 308 | -_:b5 sp:varName "facilityNameRef"^^xsd:string . | 308 | +_:b11 |
| 309 | + sp:varName "normalizedFlowName"^^xsd:string . | ||
| 309 | 310 | ||
| 310 | -_:b4 sp:varName "facilityRef"^^xsd:string . | 311 | +_:b2 sp:varName "productionFacility"^^xsd:string . |
| 311 | 312 | ||
| 312 | -_:b3 sp:varName "facilityName"^^xsd:string . | 313 | +_:b10 |
| 314 | + sp:varName "normalizedFacilityName"^^xsd:string . | ||
| 313 | 315 | ||
| 314 | -_:b2 sp:varName "productionFacilityType"^^xsd:string . | 316 | +_:b9 sp:varName "flowKind"^^xsd:string . |
| 315 | 317 | ||
| 316 | -_:b1 sp:varName "productionFacility"^^xsd:string . | 318 | +_:b4 sp:varName "flowName"^^xsd:string . |
| 317 | 319 | ||
| 318 | -_:b16 | 320 | +_:b8 sp:varName "flowRef"^^xsd:string . |
| 321 | + | ||
| 322 | +_:b7 sp:varName "facilityName"^^xsd:string . | ||
| 323 | + | ||
| 324 | +_:b6 sp:varName "facilityNameRef"^^xsd:string . | ||
| 325 | + | ||
| 326 | +_:b5 sp:varName "facilityRef"^^xsd:string . | ||
| 327 | + | ||
| 328 | +_:b20 | ||
| 319 | sp:varName "volumeStdRef"^^xsd:string . | 329 | sp:varName "volumeStdRef"^^xsd:string . |
| 320 | 330 | ||
| 321 | -_:b15 | 331 | +_:b19 |
| 322 | sp:varName "volumeRef"^^xsd:string . | 332 | sp:varName "volumeRef"^^xsd:string . |
| 323 | 333 | ||
| 324 | -_:b14 | 334 | +_:b18 |
| 325 | sp:varName "period"^^xsd:string . | 335 | sp:varName "period"^^xsd:string . |
| 326 | 336 | ||
| 327 | -_:b13 | 337 | +_:b17 |
| 328 | sp:varName "productKind"^^xsd:string . | 338 | sp:varName "productKind"^^xsd:string . |
| 329 | 339 | ||
| 330 | -_:b12 | 340 | +_:b16 |
| 331 | sp:varName "productNameRef"^^xsd:string . | 341 | sp:varName "productNameRef"^^xsd:string . |
| 332 | 342 | ||
| 333 | -_:b11 | 343 | +_:b15 |
| 334 | sp:varName "product"^^xsd:string . | 344 | sp:varName "product"^^xsd:string . |
| 335 | 345 | ||
| 336 | -_:b10 | 346 | +_:b14 |
| 337 | sp:varName "flow"^^xsd:string . | 347 | sp:varName "flow"^^xsd:string . |
| 338 | 348 | ||
| 339 | -_:b9 sp:varName "facilityNameRef"^^xsd:string . | 349 | +_:b13 |
| 350 | + sp:varName "facilityNameRef"^^xsd:string . | ||
| 340 | 351 | ||
| 341 | -_:b8 sp:varName "facility"^^xsd:string . | 352 | +_:b12 |
| 353 | + sp:varName "facility"^^xsd:string . | ||
| 342 | 354 | ||
| 343 | _:b27 | 355 | _:b27 |
| 344 | - sp:varName "normalizedFlowName"^^xsd:string . | 356 | + sp:varName "normalizedFacilityName"^^xsd:string . |
| 345 | 357 | ||
| 346 | _:b26 | 358 | _:b26 |
| 347 | - sp:varName "normalizedFacilityName"^^xsd:string . | 359 | + sp:varName "facilityKind"^^xsd:string . |
| 348 | 360 | ||
| 349 | _:b25 | 361 | _:b25 |
| 350 | - sp:varName "flowKind"^^xsd:string . | 362 | + sp:varName "facilityNameRef"^^xsd:string . |
| 351 | 363 | ||
| 352 | _:b24 | 364 | _:b24 |
| 353 | - sp:varName "flowRef"^^xsd:string . | 365 | + sp:varName "facilityRef"^^xsd:string . |
| 354 | 366 | ||
| 355 | _:b23 | 367 | _:b23 |
| 356 | sp:varName "facilityName"^^xsd:string . | 368 | sp:varName "facilityName"^^xsd:string . |
| 357 | 369 | ||
| 358 | _:b22 | 370 | _:b22 |
| 359 | - sp:varName "facilityNameRef"^^xsd:string . | 371 | + sp:varName "productionFacilityType"^^xsd:string . |
| 360 | 372 | ||
| 361 | _:b21 | 373 | _:b21 |
| 362 | - sp:varName "facilityRef"^^xsd:string . | ||
| 363 | - | ||
| 364 | -_:b20 | ||
| 365 | - sp:varName "flowName"^^xsd:string . | ||
| 366 | - | ||
| 367 | -_:b19 | ||
| 368 | - sp:varName "productionFlowPurposeType"^^xsd:string . | ||
| 369 | - | ||
| 370 | -_:b18 | ||
| 371 | sp:varName "productionFacility"^^xsd:string . | 374 | sp:varName "productionFacility"^^xsd:string . |
| 372 | - | ||
| 373 | -_:b17 | ||
| 374 | - sp:varName "productionFlow"^^xsd:string . | ... | ... |
-
Please register or login to post a comment