Showing
6 changed files
with
18 additions
and
14 deletions
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
1 | -# Saved by TopBraid on Fri Oct 14 12:02:45 BST 2011 | ||
2 | # baseURI: http://www.reportinghub.no/np/schema/1.0/npd | 1 | # baseURI: http://www.reportinghub.no/np/schema/1.0/npd |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/organization | ||
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
5 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 2 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
6 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/organization | ||
5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
7 | 6 | ||
8 | @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . | 7 | @prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . |
9 | @prefix npd: <http://www.reportinghub.no/np/schema/npd#> . | 8 | @prefix npd: <http://www.reportinghub.no/np/schema/npd#> . |
... | @@ -31,13 +30,13 @@ | ... | @@ -31,13 +30,13 @@ |
31 | 30 | ||
32 | <http://www.reportinghub.no/np/schema/1.0/npd> | 31 | <http://www.reportinghub.no/np/schema/1.0/npd> |
33 | rdf:type owl:Ontology ; | 32 | rdf:type owl:Ontology ; |
34 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> ; | 33 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ; |
35 | owl:versionInfo "0.1.0"^^xsd:string . | 34 | owl:versionInfo "0.1.0"^^xsd:string . |
36 | 35 | ||
37 | npd:BusinessArrangementArea | 36 | npd:BusinessArrangementArea |
38 | rdf:type owl:Class ; | 37 | rdf:type owl:Class ; |
39 | rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; | 38 | rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; |
40 | - rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual . | 39 | + rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner . |
41 | 40 | ||
42 | npd:DAS_DecidedByTheLicensees | 41 | npd:DAS_DecidedByTheLicensees |
43 | rdf:type npd:DiscoveryActivityStatus ; | 42 | rdf:type npd:DiscoveryActivityStatus ; |
... | @@ -290,7 +289,7 @@ npd:LS_Inactive | ... | @@ -290,7 +289,7 @@ npd:LS_Inactive |
290 | npd:Licence | 289 | npd:Licence |
291 | rdf:type owl:Class ; | 290 | rdf:type owl:Class ; |
292 | rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; | 291 | rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; |
293 | - rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual . | 292 | + rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:Owner . |
294 | 293 | ||
295 | npd:LicenceStatus | 294 | npd:LicenceStatus |
296 | rdf:type owl:Class ; | 295 | rdf:type owl:Class ; |
... | @@ -325,7 +324,7 @@ npd:NPDIndividual | ... | @@ -325,7 +324,7 @@ npd:NPDIndividual |
325 | 324 | ||
326 | npd:OperatingCompany | 325 | npd:OperatingCompany |
327 | rdf:type owl:Class ; | 326 | rdf:type owl:Class ; |
328 | - rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/organization#Company> . | 327 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual . |
329 | 328 | ||
330 | npd:Owner | 329 | npd:Owner |
331 | rdf:type owl:Class ; | 330 | rdf:type owl:Class ; |
... | @@ -365,7 +364,7 @@ npd:SlidingScaleBAA | ... | @@ -365,7 +364,7 @@ npd:SlidingScaleBAA |
365 | npd:TUF | 364 | npd:TUF |
366 | rdf:type owl:Class ; | 365 | rdf:type owl:Class ; |
367 | rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; | 366 | rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; |
368 | - rdfs:subClassOf npd:FixedFacilityParent , <http://www.reportinghub.no/ep/schema/facility#Facility> . | 367 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent . |
369 | 368 | ||
370 | npd:TUFPart | 369 | npd:TUFPart |
371 | rdf:type owl:Class ; | 370 | rdf:type owl:Class ; |
... | @@ -543,6 +542,12 @@ npd:endDate | ... | @@ -543,6 +542,12 @@ npd:endDate |
543 | rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 542 | rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
544 | rdfs:range xsd:date . | 543 | rdfs:range xsd:date . |
545 | 544 | ||
545 | +npd:facilityFunctions | ||
546 | + rdf:type owl:DatatypeProperty ; | ||
547 | + rdfs:comment "corresponds to Functions field in both the fixed and moveable facility tables"^^xsd:string ; | ||
548 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; | ||
549 | + rdfs:range xsd:string . | ||
550 | + | ||
546 | npd:facilityKind | 551 | npd:facilityKind |
547 | rdf:type owl:DatatypeProperty ; | 552 | rdf:type owl:DatatypeProperty ; |
548 | rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ; | 553 | rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ; | ... | ... |
... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
16 | let:completeDate="{# SELECT ?completeDate WHERE {?wb ep-well:wellBoreCompletedAt ?completeDate}}" | 16 | let:completeDate="{# SELECT ?completeDate WHERE {?wb ep-well:wellBoreCompletedAt ?completeDate}}" |
17 | > | 17 | > |
18 | 18 | ||
19 | - <h1>Summary report Wellbore: {# SELECT ?wbName WHERE {?wb ep-core:npdCode ?wbName}}</h1> | 19 | + <h1>Summary report Wellbore: {# SELECT ?wbName WHERE {?wb npd:name ?wbName}}</h1> |
20 | <div>End time: <ui:if ui:condition="{= bound(?activityEnd) }">{= spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm') }</ui:if></div> | 20 | <div>End time: <ui:if ui:condition="{= bound(?activityEnd) }">{= spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm') }</ui:if></div> |
21 | <hr /> | 21 | <hr /> |
22 | <table> | 22 | <table> |
... | @@ -24,10 +24,10 @@ | ... | @@ -24,10 +24,10 @@ |
24 | <tr> | 24 | <tr> |
25 | <td class="ddrSummaryLeft"> | 25 | <td class="ddrSummaryLeft"> |
26 | <rhswp:NameValuePair arg:name="Report Number:" arg:value="{# SELECT ?repNum WHERE {?report ep-report:dailyDrillingReportNumber ?repNum}}" /> | 26 | <rhswp:NameValuePair arg:name="Report Number:" arg:value="{# SELECT ?repNum WHERE {?report ep-report:dailyDrillingReportNumber ?repNum}}" /> |
27 | - <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wbName WHERE {?wb ep-core:npdCode ?wbName}}" /> | 27 | + <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wbName WHERE {?wb npd:name ?wbName}}" /> |
28 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType rdfs:label ?repTypeName}}" /> | 28 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType rdfs:label ?repTypeName}}" /> |
29 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> | 29 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> |
30 | - <rhswp:NameValuePair arg:name="Rig name:" arg:value="{# SELECT ?rigName WHERE {?rig ep-core:npdName ?rigName}}" /> | 30 | + <rhswp:NameValuePair arg:name="Rig name:" arg:value="{# SELECT ?rigName WHERE {?rig npd:name ?rigName}}" /> |
31 | <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }" /> | 31 | <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }" /> |
32 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevVMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> | 32 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevVMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> |
33 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> | 33 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> |
... | @@ -46,10 +46,10 @@ | ... | @@ -46,10 +46,10 @@ |
46 | <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(spif:dateFormat(?activityStart, 'yyyy-MM-dd HH:mm'), ' - ', spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm')) }" /> | 46 | <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(spif:dateFormat(?activityStart, 'yyyy-MM-dd HH:mm'), ' - ', spif:dateFormat(?activityEnd, 'yyyy-MM-dd HH:mm')) }" /> |
47 | 47 | ||
48 | 48 | ||
49 | - <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{# SELECT DISTINCT ?wbID WHERE {?wb ep-core:npdNumber ?wbID}}" /> | 49 | + <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{# SELECT DISTINCT ?wbID WHERE {?wb npd:id ?wbID}}" /> |
50 | <rhswp:NameValuePair arg:name="Created date:" arg:value="{= IF(bound(?createdAt), spif:dateFormat(?createdAt, 'yyyy-MM-dd HH:mm'), ?unbound) }" /> | 50 | <rhswp:NameValuePair arg:name="Created date:" arg:value="{= IF(bound(?createdAt), spif:dateFormat(?createdAt, 'yyyy-MM-dd HH:mm'), ?unbound) }" /> |
51 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> | 51 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> |
52 | - <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?rig, ep-core:npdCode) }" /> | 52 | + <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?rig, npd:id) }" /> |
53 | <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }" /> | 53 | <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }" /> |
54 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> | 54 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> |
55 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> | 55 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> | ... | ... |
-
Please register or login to post a comment