Showing
1 changed file
with
19 additions
and
19 deletions
... | @@ -8,28 +8,28 @@ | ... | @@ -8,28 +8,28 @@ |
8 | let:statusActivity="{# SELECT ?statusActivity WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-core:hasPart ?statusActivity . ?statusActivity a ep-activity:DailyDrillingActivityToStatus}}" | 8 | let:statusActivity="{# SELECT ?statusActivity WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-core:hasPart ?statusActivity . ?statusActivity a ep-activity:DailyDrillingActivityToStatus}}" |
9 | let:statusActivityWb="{# SELECT ?statusActivityWb WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-core:hasPart ?statusActivity . ?statusActivity a ep-activity:DailyDrillingActivityToStatus . ?statusActivity ep-activity:onWellBore ?statusActivityWb}}" > | 9 | let:statusActivityWb="{# SELECT ?statusActivityWb WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-core:hasPart ?statusActivity . ?statusActivity a ep-activity:DailyDrillingActivityToStatus . ?statusActivity ep-activity:onWellBore ?statusActivityWb}}" > |
10 | <ui:group > | 10 | <ui:group > |
11 | - <h1>Summary report Wellbore: {# SELECT ?wbName WHERE {?wb ep-core:name ?wbName}}</h1> | 11 | + <h1>Summary report Wellbore: {# SELECT ?wbName WHERE {?wb ep-core:npdCode ?wbName}}</h1> |
12 | <div>End time: {= ui:label(spl:object(?activity, ep-activity:finishedAt)) }</div> | 12 | <div>End time: {= ui:label(spl:object(?activity, ep-activity:finishedAt)) }</div> |
13 | <hr /> | 13 | <hr /> |
14 | <table><tr> | 14 | <table><tr> |
15 | <td class="ddrSummaryLeft"> | 15 | <td class="ddrSummaryLeft"> |
16 | <rhswp:NameValuePair arg:name="Report Number:" arg:value="{# SELECT ?repName WHERE {?report ep-core:name ?repName}}" /> | 16 | <rhswp:NameValuePair arg:name="Report Number:" arg:value="{# SELECT ?repName WHERE {?report ep-core:name ?repName}}" /> |
17 | - <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wbName WHERE {?wb ep-core:name ?wbName}}" /> | 17 | + <rhswp:NameValuePair arg:name="Wellbore:" arg:value="{# SELECT ?wbName WHERE {?wb ep-core:npdCode ?wbName}}" /> |
18 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType rdfs:label ?repTypeName}}" /> | 18 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType rdfs:label ?repTypeName}}" /> |
19 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?parentName WHERE {?activity ep-activity:drillingOperator ?opCo . ?opCo ep-core:temporalPartOf ?parentCo . ?parentCo ep-core:name ?parentName }}" /> | 19 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?parentName WHERE {?activity ep-activity:drillingOperator ?opCo . ?opCo ep-core:temporalPartOf ?parentCo . ?parentCo ep-core:name ?parentName }}" /> |
20 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{# SELECT ?rigName WHERE {?rig ep-core:npdName ?rigName}}" /> | 20 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{# SELECT ?rigName WHERE {?rig ep-core:npdName ?rigName}}" /> |
21 | <rhswp:NameValuePair arg:name="Spud date:" arg:value="{# SELECT ?spudDate WHERE {?wb ep-well:wellBoreSpudAt ?spudDate}}" /> | 21 | <rhswp:NameValuePair arg:name="Spud date:" arg:value="{# SELECT ?spudDate WHERE {?wb ep-well:wellBoreSpudAt ?spudDate}}" /> |
22 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevMeas 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}}" /> | 22 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevMeas 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}}" /> |
23 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?wb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> | 23 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?wb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> |
24 | - <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:undefinedScale ?buttHolePresVal}}" /> | 24 | + <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:bar ?buttHolePresVal}}" /> |
25 | <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{# SELECT ?rigTypeName WHERE {?rig a ?rigType . ?rigType rdfs:label ?rigTypeName . ?rigType rdfs:subClassOf ep-fac:Rig}}" /> | 25 | <rhswp:NameValuePair arg:name="Fixed rig:" arg:value="{# SELECT ?rigTypeName WHERE {?rig a ?rigType . ?rigType rdfs:label ?rigTypeName . ?rigType rdfs:subClassOf ep-fac:Rig}}" /> |
26 | - <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{# SELECT ?koDepthM WHERE {?wb ep-core:hasPart ?koWb . ?koWb a ep-well:WellBoreKickOff . ?koWb ep-well:measuredDepth ?measDepth . ?measDepth ep-core:undefinedScale ?koDepthM}}" /> | 26 | + <rhswp:NameValuePair arg:name="Depth at Kick Off mMD:" arg:value="{# SELECT ?koDepthM WHERE {?wb ep-core:hasPart ?koWb . ?koWb a ep-well:WellBoreKickOff . ?koWb ep-well:measuredDepth ?measDepth . ?measDepth ep-core:metre ?koDepthM}}" /> |
27 | - <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{# SELECT ?pbDepthVal WHERE {?statusActivityWb ep-well:measuredDepthOfPlugTop ?pbDepth . ?pbDepth ep-core:undefinedScale ?pbDepthVal}}" /> | 27 | + <rhswp:NameValuePair arg:name="Plug Back Depth mMD:" arg:value="{# SELECT ?pbDepthVal WHERE {?statusActivityWb ep-well:measuredDepthOfPlugTop ?pbDepth . ?pbDepth ep-core:metre ?pbDepthVal}}" /> |
28 | - <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{# SELECT ?penRateVal WHERE {?statusActivity ep-activity:finalRateOfDrilling ?penRate . ?penRate ep-core:undefinedScale ?penRateVal}}" /> | 28 | + <rhswp:NameValuePair arg:name="Penetration Rate m/h:" arg:value="{# SELECT ?penRateVal WHERE {?statusActivity ep-activity:finalRateOfDrilling ?penRate . ?penRate ep-core:metre_hour-1 ?penRateVal}}" /> |
29 | <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{# SELECT ?pTestActTypeText WHERE {?activity ep-core:hasPart ?pTestAct . ?pTestAct a ?pTestActType . ?pTestActType rdfs:subClassOf ep-activity:WellBorePressureTest . ?pTestActType rdfs:label ?pTestActTypeText}}" /> | 29 | <rhswp:NameValuePair arg:name="Pressure Test Type:" arg:value="{# SELECT ?pTestActTypeText WHERE {?activity ep-core:hasPart ?pTestAct . ?pTestAct a ?pTestActType . ?pTestActType rdfs:subClassOf ep-activity:WellBorePressureTest . ?pTestActType rdfs:label ?pTestActTypeText}}" /> |
30 | - <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{# SELECT ?rockFormDepthMmdVal WHERE {?statusActivityWb ep-core:hasPart ?rockFormation . ?rockFormation a ep-well:SurroundingRockFormation . ?rockFormation ep-well:measuredDepth ?rockFormDepthMmd . ?rockFormDepthMmd ep-core:undefinedScale ?rockFormDepthMmdVal}}" /> | 30 | + <rhswp:NameValuePair arg:name="Depth At Formation Strength mMD:" arg:value="{# SELECT ?rockFormDepthMmdVal WHERE {?statusActivityWb ep-core:hasPart ?rockFormation . ?rockFormation a ep-well:SurroundingRockFormation . ?rockFormation ep-well:measuredDepth ?rockFormDepthMmd . ?rockFormDepthMmd ep-core:metre ?rockFormDepthMmdVal}}" /> |
31 | - <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{# SELECT ?lastCasingDiaVal WHERE {?statusActivityWb ep-core:hasPart ?lastCasing . ?lastCasing a ep-eqt:LastCasingOfAWellBore . ?lastCasing ep-eqt:outsideDiameterOfATubular ?lastCasingDia . ?lastCasingDia ep-core:undefinedScale ?lastCasingDiaVal}}" /> | 31 | + <rhswp:NameValuePair arg:name="Dia Last Casing In:" arg:value="{# SELECT ?lastCasingDiaVal WHERE {?statusActivityWb ep-core:hasPart ?lastCasing . ?lastCasing a ep-eqt:LastCasingOfAWellBore . ?lastCasing ep-eqt:outsideDiameterOfATubular ?lastCasingDia . ?lastCasingDia ep-core:inch ?lastCasingDiaVal}}" /> |
32 | - <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{# SELECT ?lastCasingDepthTvdVal WHERE {?statusActivityWb ep-core:hasPart ?lastCasing . ?lastCasing a ep-eqt:LastCasingOfAWellBore . ?lastCasing ep-well:trueVerticalDepth ?lastCasingDepthTvd . ?lastCasingDepthTvd ep-core:undefinedScale ?lastCasingDepthTvdVal}}" /> | 32 | + <rhswp:NameValuePair arg:name="Depth At Last Casing MTVD:" arg:value="{# SELECT ?lastCasingDepthTvdVal WHERE {?statusActivityWb ep-core:hasPart ?lastCasing . ?lastCasing a ep-eqt:LastCasingOfAWellBore . ?lastCasing ep-well:trueVerticalDepth ?lastCasingDepthTvd . ?lastCasingDepthTvd ep-core:metre ?lastCasingDepthTvdVal}}" /> |
33 | </td> | 33 | </td> |
34 | <td class="ddrSummaryRight"> | 34 | <td class="ddrSummaryRight"> |
35 | <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" /> | 35 | <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(ui:label(spl:object(?activity, ep-activity:startedAt)), ' - ', ui:label(spl:object(?activity, ep-activity:finishedAt))) }" /> |
... | @@ -38,18 +38,18 @@ | ... | @@ -38,18 +38,18 @@ |
38 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?parentName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:temporalPartOf ?parentCo . ?parentCo ep-core:name ?parentName}}" /> | 38 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?parentName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:temporalPartOf ?parentCo . ?parentCo ep-core:name ?parentName}}" /> |
39 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?rig, ep-core:npdCode) }" /> | 39 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= spl:object(?rig, ep-core:npdCode) }" /> |
40 | <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{# SELECT ?completeDate WHERE {?wb ep-well:wellBoreCompletedAt ?completeDate}}" /> | 40 | <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{# SELECT ?completeDate WHERE {?wb ep-well:wellBoreCompletedAt ?completeDate}}" /> |
41 | - <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:undefinedScale ?waterDepthVal}}" /> | 41 | + <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}}" /> |
42 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?wb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> | 42 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?wb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> |
43 | - <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:undefinedScale ?buttHoleTempVal}}" /> | 43 | + <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:celsius ?buttHoleTempVal}}" /> |
44 | <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{# SELECT ?wbTypeName WHERE {?wb a ?wbType . ?wbType rdfs:label ?wbTypeName}}" /> | 44 | <rhswp:NameValuePair arg:name="Wellbore type:" arg:value="{# SELECT ?wbTypeName WHERE {?wb a ?wbType . ?wbType rdfs:label ?wbTypeName}}" /> |
45 | - <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{# SELECT ?koDepthT WHERE {?wb ep-core:hasPart ?koWb . ?koWb a ep-well:WellBoreKickOff . ?koWb ep-well:trueVerticalDepth ?measDepth . ?measDepth ep-core:undefinedScale ?koDepthT}}" /> | 45 | + <rhswp:NameValuePair arg:name="Depth at Kick Off mTVD:" arg:value="{# SELECT ?koDepthT WHERE {?wb ep-core:hasPart ?koWb . ?koWb a ep-well:WellBoreKickOff . ?koWb ep-well:trueVerticalDepth ?measDepth . ?measDepth ep-core:metre ?koDepthT}}" /> |
46 | - <rhswp:NameValuePair arg:name="Depth mMD:" arg:value="{# SELECT ?buttHoleMDVal WHERE {?statusActivityWb ep-well:finalBottomHoleMeasuredDepth ?buttHoleMD . ?buttHoleMD ep-core:undefinedScale ?buttHoleMDVal}}" /> | 46 | + <rhswp:NameValuePair arg:name="Depth mMD:" arg:value="{# SELECT ?buttHoleMDVal WHERE {?statusActivityWb ep-well:finalBottomHoleMeasuredDepth ?buttHoleMD . ?buttHoleMD ep-core:metre ?buttHoleMDVal}}" /> |
47 | - <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{# SELECT ?buttHoleTVDVal WHERE {?statusActivityWb ep-well:finalBottomHoleTrueVerticalDepth ?buttHoleTVD . ?buttHoleTVD ep-core:undefinedScale ?buttHoleTVDVal}}" /> | 47 | + <rhswp:NameValuePair arg:name="Depth mTVD:" arg:value="{# SELECT ?buttHoleTVDVal WHERE {?statusActivityWb ep-well:finalBottomHoleTrueVerticalDepth ?buttHoleTVD . ?buttHoleTVD ep-core:metre ?buttHoleTVDVal}}" /> |
48 | - <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{# SELECT ?distDrilledVal WHERE {?statusActivity ep-activity:distanceDrilled ?distDrilled . ?distDrilled ep-core:undefinedScale ?distDrilledVal}}" /> | 48 | + <rhswp:NameValuePair arg:name="Dist Drilled m:" arg:value="{# SELECT ?distDrilledVal WHERE {?statusActivity ep-activity:distanceDrilled ?distDrilled . ?distDrilled ep-core:metre ?distDrilledVal}}" /> |
49 | - <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{# SELECT ?holeDiaVal WHERE {?statusActivityWb ep-core:hasPart ?lowerPartWb . ?lowerPartWb a ep-well:LowerPartOfAWellBore . ?lowerPartWb ep-well:nominalInsideDiameterOfBoreHole ?holeDia . ?holeDia ep-core:undefinedScale ?holeDiaVal}}" /> | 49 | + <rhswp:NameValuePair arg:name="Hole Dia in:" arg:value="{# SELECT ?holeDiaVal WHERE {?statusActivityWb ep-core:hasPart ?lowerPartWb . ?lowerPartWb a ep-well:LowerPartOfAWellBore . ?lowerPartWb ep-well:nominalInsideDiameterOfBoreHole ?holeDia . ?holeDia ep-core:inch ?holeDiaVal}}" /> |
50 | - <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{# SELECT ?rockFormStrengthVal WHERE {?statusActivityWb ep-core:hasPart ?rockFormation . ?rockFormation a ep-well:SurroundingRockFormation . ?rockFormation ep-well:strengthOfRockFormation ?rockFormStrength . ?rockFormStrength ep-core:undefinedScale ?rockFormStrengthVal}}" /> | 50 | + <rhswp:NameValuePair arg:name="Formation Strength g/cm3:" arg:value="{# SELECT ?rockFormStrengthVal WHERE {?statusActivityWb ep-core:hasPart ?rockFormation . ?rockFormation a ep-well:SurroundingRockFormation . ?rockFormation ep-well:strengthOfRockFormation ?rockFormStrength . ?rockFormStrength ep-core:gram_cm-3 ?rockFormStrengthVal}}" /> |
51 | - <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{# SELECT ?rockFormDepthTvdVal WHERE {?statusActivityWb ep-core:hasPart ?rockFormation . ?rockFormation a ep-well:SurroundingRockFormation . ?rockFormation ep-well:trueVerticalDepth ?rockFormDepthTvd . ?rockFormDepthTvd ep-core:undefinedScale ?rockFormDepthTvdVal}}" /> | 51 | + <rhswp:NameValuePair arg:name="Depth At Formation Strength mTVD:" arg:value="{# SELECT ?rockFormDepthTvdVal WHERE {?statusActivityWb ep-core:hasPart ?rockFormation . ?rockFormation a ep-well:SurroundingRockFormation . ?rockFormation ep-well:trueVerticalDepth ?rockFormDepthTvd . ?rockFormDepthTvd ep-core:metre ?rockFormDepthTvdVal}}" /> |
52 | - <rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{# SELECT ?lastCasingDepthMmdVal WHERE {?statusActivityWb ep-core:hasPart ?lastCasing . ?lastCasing a ep-eqt:LastCasingOfAWellBore . ?lastCasing ep-well:measuredDepth ?lastCasingDepthMmd . ?lastCasingDepthMmd ep-core:undefinedScale ?lastCasingDepthMmdVal}}" /> | 52 | + <rhswp:NameValuePair arg:name="Depth At Last Casing mMD:" arg:value="{# SELECT ?lastCasingDepthMmdVal WHERE {?statusActivityWb ep-core:hasPart ?lastCasing . ?lastCasing a ep-eqt:LastCasingOfAWellBore . ?lastCasing ep-well:measuredDepth ?lastCasingDepthMmd . ?lastCasingDepthMmd ep-core:metre ?lastCasingDepthMmdVal}}" /> |
53 | </td> | 53 | </td> |
54 | </tr></table> | 54 | </tr></table> |
55 | <hr /> | 55 | <hr /> | ... | ... |
-
Please register or login to post a comment