David Price

Improved Well Injection table and started Well Injection Results table

......@@ -315,9 +315,445 @@ dpr-tables:WellInformation
] ;
rhspin:tableHeaders ("Description"^^xsd:string "Oil Net m3"^^xsd:string "Choke %"^^xsd:string "Prod Hours"^^xsd:string) .
dpr-tables:WellInjectionTest
rdf:type rhspin:TableTemplate ;
rdfs:label "Well Injection Tests"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "wellboreName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
] [ sp:varName "wellTestTypeName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
] [ sp:varName "duration"^^xsd:string
] [ sp:varName "injectionFluidName"^^xsd:string
] [ sp:varName "wellTestReasonTypeName"^^xsd:string
] [ sp:varName "minAnnularPresValue"^^xsd:string
] [ sp:varName "maxAnnularPresValue"^^xsd:string
] [ sp:varName "wellheadFlowingPresValue"^^xsd:string
] [ sp:varName "wellheadMaxPresValue"^^xsd:string
] [ sp:varName "chokeOrificeSizeValue"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "wellTestReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTestReport"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "wellTestReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellborePart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellbore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellborePart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellboreName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTestType"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "wellTestType"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionWellTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "timeDuration"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "timeDuration"^^xsd:string
]
] [ sp:object
[ sp:varName "duration"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hour> ;
sp:subject
[ sp:varName "timeDuration"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionWellTestFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionFluidType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "injectionWellTestFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#InjectionFluidType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "injectionFluidType"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionFluidName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "injectionFluidType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "minAnnularPres"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMinimumAnnularPressure> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "minAnnularPresValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#bar> ;
sp:subject
[ sp:varName "minAnnularPres"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "maxAnnularPres"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMaximumAnnularPressure> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "maxAnnularPresValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#bar> ;
sp:subject
[ sp:varName "maxAnnularPres"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wellheadFlowingPres"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadFlowingPressure> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellheadFlowingPresValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#bar> ;
sp:subject
[ sp:varName "wellheadFlowingPres"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wellheadMaxPres"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadMaximumPressure> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellheadMaxPresValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#bar> ;
sp:subject
[ sp:varName "wellheadMaxPres"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wellTestChoke"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "chokeOrificeSize"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize> ;
sp:subject
[ sp:varName "wellTestChoke"^^xsd:string
]
] [ sp:object
[ sp:varName "chokeOrificeSizeValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#sixtyFourth_Inch> ;
sp:subject
[ sp:varName "chokeOrificeSize"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wellTestReasonType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WellTestReasonType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTestReasonType"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestReasonTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "wellTestReasonType"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "activityStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
])
])
] ;
rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Nominally At"^^xsd:string """Duration
hr"""^^xsd:string "Injected Fluid"^^xsd:string "Reason"^^xsd:string """Min Annular Pressure
bar"""^^xsd:string """Max Annular Pressure
bar"""^^xsd:string """Wellhead Flowing Pressure
bar"""^^xsd:string """Wellhead Max Pressure
bar"""^^xsd:string "Choke 64 inch"^^xsd:string) .
dpr-tables:WellInjectionTestResults
rdf:type rhspin:TableTemplate ;
rdfs:label "Well Injection Test Results"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "wellboreName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
] [ sp:varName "wellTestTypeName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
] [ sp:varName "materialName"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "wellTestReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTestReport"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "wellTestReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellborePart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "wellbore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellborePart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellboreName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "wellbore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTestType"^^xsd:string
]
] [ sp:object
[ sp:varName "wellTestTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "wellTestType"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionWellTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionWellTestFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "injectionWellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "injectionWellTestFlowPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "injectionWellTestFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "injectionWellTestFlowPart"^^xsd:string
]
] [ sp:object
[ sp:varName "materialFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "injectionWellTestFlowPart"^^xsd:string
]
] [ sp:object
[ sp:varName "materialFlowType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "materialFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#FluidComponentType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "materialFlowType"^^xsd:string
]
] [ sp:object
[ sp:varName "materialName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "materialFlowType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "activityStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
])
])
] ;
rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Nominally At"^^xsd:string "Fluid"^^xsd:string) .
dpr-tables:WellTest
rdf:type rhspin:TableTemplate ;
rdfs:label "Well Test8"^^xsd:string ;
rdfs:label "Well Test Report"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
......@@ -327,7 +763,8 @@ dpr-tables:WellTest
sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
] [ sp:varName "wellTestTypeName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
] [ sp:varName "activityFinish"^^xsd:string
] [ sp:varName "predecessorAt"^^xsd:string
] [ sp:varName "validPredecessorAt"^^xsd:string
] [ sp:varName "wellTestReasonTypeName"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
......@@ -434,9 +871,41 @@ dpr-tables:WellTest
[ sp:varName "wellTestReasonType"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "predecessor"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "predecessorAt"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "predecessor"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "validPredecessor"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "validPredecessorAt"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "validPredecessor"^^xsd:string
]
])
])
] ;
rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Started or Nominally At"^^xsd:string "Finished At"^^xsd:string "Reason"^^xsd:string) .
rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Started or Nominally At"^^xsd:string "Predecessor At"^^xsd:string "Last Valid At"^^xsd:string "Reason"^^xsd:string) .
_:b2 sp:varName "dailyProductionActivity"^^xsd:string .
......
......@@ -48,10 +48,14 @@ WHERE {
<tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr>
</ui:forEach>
</table>
<hr />
<h2>General Well Test Information</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellTest" />
<hr />
<h2>Well Injection Test Information</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTest" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTestResults" />
</ui:group>
\ No newline at end of file
......