David Price

Production Test basic info done. Near complete Production Test Results done.

......@@ -1997,6 +1997,602 @@ C"""^^xsd:string """Separator
Pressure
bar"""^^xsd:string) .
dpr-tables:WellProductionTestResults
rdf:type rhspin:TableTemplate ;
rdfs:label "Well Production Test Results"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "wellName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "wellName"^^xsd:string
] [ sp:varName "wellTestTypeName"^^xsd:string
] [ sp:varName "wellTestReasonTypeName"^^xsd:string
] [ sp:varName "activityStart"^^xsd:string
] [ sp:varName "wellTestName"^^xsd:string
] [ sp:varName "oilRate"^^xsd:string
] [ sp:varName "oilVolume"^^xsd:string
] [ sp:varName "gasRate"^^xsd:string
] [ sp:varName "gasVolume"^^xsd:string
] [ sp:varName "waterRate"^^xsd:string
] [ sp:varName "waterVolume"^^xsd:string
] [ sp:varName "sandComponentVolumeValue"^^xsd:string
] [ sp:varName "gasComponentVolumeValue"^^xsd:string
] [ sp:varName "sedimentPercent"^^xsd:string
] [ sp:varName "oilPotentialValue"^^xsd:string
] [ sp:varName "gasPotentialValue"^^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
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wellTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "productionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "productionoperationmethodtype"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationMethodType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionoperationmethodtype"^^xsd:string
]
] [ sp:object
[ sp:varName "operatingMethod"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productionoperationmethodtype"^^xsd:string
]
])
] [ sp:object
[ sp:varName "wellTestPart"^^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/activity#ProductionWellTest> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellTestPart"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "wellTestName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
])
] [ sp:object
[ sp:varName "wellPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
sp:subject
[ sp:varName "wellTest"^^xsd:string
]
] [ sp:object
[ sp:varName "well"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "wellPart"^^xsd:string
]
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "well"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "oilPotential"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#potentialOilProduction> ;
sp:subject
[ sp:varName "wellPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "oilPotential"^^xsd:string
]
] [ sp:object
[ sp:varName "oilPotentialValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#thousandM3_d-1> ;
sp:subject
[ sp:varName "oilPotential"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "gasPotential"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-well#potentialOilProduction> ;
sp:subject
[ sp:varName "wellPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasPotential"^^xsd:string
]
] [ sp:object
[ sp:varName "gasPotentialValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#thousandM3_d-1> ;
sp:subject
[ sp:varName "gasPotential"^^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
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ 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
]
])
] [ 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 "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "wellTestPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "materialThatFlows"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "gasComponent"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "materialThatFlows"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasComponent"^^xsd:string
]
] [ sp:object
[ sp:varName "gasComponentVolume"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasComponent"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasComponentVolume"^^xsd:string
]
] [ sp:object
[ sp:varName "gasComponentVolumeValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "gasComponentVolume"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "sandComponent"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "materialThatFlows"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Sand> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "sandComponent"^^xsd:string
]
] [ sp:object
[ sp:varName "sandComponentVolume"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "sandComponent"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "sandComponentVolume"^^xsd:string
]
] [ sp:object
[ sp:varName "sandComponentVolumeValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "sandComponentVolume"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "sedimentComponent"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "materialThatFlows"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#BasicSedimentAndWater> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "sedimentComponent"^^xsd:string
]
] [ sp:object
[ sp:varName "sedimentComponent"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#firstMaterialOfPair> ;
sp:subject
[ sp:varName "sedimentMaterialPair"^^xsd:string
]
] [ sp:object
[ sp:varName "sedimentRatio"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#volumeRatio> ;
sp:subject
[ sp:varName "sedimentMaterialPair"^^xsd:string
]
] [ sp:object
[ sp:varName "sedimentPercent"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#percent> ;
sp:subject
[ sp:varName "sedimentRatio"^^xsd:string
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "oilPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "oilPart"^^xsd:string
]
] [ sp:object
[ sp:varName "oil"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "oilPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "oil"^^xsd:string
]
] [ sp:object
[ sp:varName "oilPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "oilflowinastandardstate"^^xsd:string
]
] [ sp:object
[ sp:varName "oilvolumetricflowrate"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "oilflowinastandardstate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "oilvolumetricflowrate"^^xsd:string
]
] [ sp:object
[ sp:varName "oilRate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3_hour-1> ;
sp:subject
[ sp:varName "oilvolumetricflowrate"^^xsd:string
]
] [ sp:object
[ sp:varName "oil"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "partOfOil"^^xsd:string
]
] [ sp:object
[ sp:varName "ovolume"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partOfOil"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "ovolume"^^xsd:string
]
] [ sp:object
[ sp:varName "oilVolume"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "ovolume"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "waterPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "waterPart"^^xsd:string
]
] [ sp:object
[ sp:varName "water"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "waterPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Water> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "water"^^xsd:string
]
] [ sp:object
[ sp:varName "waterPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "waterflowinastandardstate"^^xsd:string
]
] [ sp:object
[ sp:varName "watervolumetricflowrate"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "waterflowinastandardstate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "watervolumetricflowrate"^^xsd:string
]
] [ sp:object
[ sp:varName "waterRate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3_hour-1> ;
sp:subject
[ sp:varName "watervolumetricflowrate"^^xsd:string
]
] [ sp:object
[ sp:varName "water"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "partOfWater"^^xsd:string
]
] [ sp:object
[ sp:varName "wvolume"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partOfWater"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wvolume"^^xsd:string
]
] [ sp:object
[ sp:varName "waterVolume"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "wvolume"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "gasPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasPart"^^xsd:string
]
] [ sp:object
[ sp:varName "gas"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "gasPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gas"^^xsd:string
]
] [ sp:object
[ sp:varName "gasPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "gasflowinastandardstate"^^xsd:string
]
] [ sp:object
[ sp:varName "gasvolumetricflowrate"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasflowinastandardstate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gasvolumetricflowrate"^^xsd:string
]
] [ sp:object
[ sp:varName "gasRate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3_hour-1> ;
sp:subject
[ sp:varName "gasvolumetricflowrate"^^xsd:string
]
] [ sp:object
[ sp:varName "gas"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "partOfGas"^^xsd:string
]
] [ sp:object
[ sp:varName "gvolume"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partOfGas"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "gvolume"^^xsd:string
]
] [ sp:object
[ sp:varName "gasVolume"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "gvolume"^^xsd:string
]
])
])
])
] ;
rhspin:tableHeaders ("Well"^^xsd:string "Test Type"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Description"^^xsd:string """Oil Rate
m3/hr"""^^xsd:string """Oil Volume
m3"""^^xsd:string """Gas Rate
m3/hr"""^^xsd:string """Gas Volume
m3"""^^xsd:string """Water Rate
m3/hr"""^^xsd:string """Water Volume
m3"""^^xsd:string """Sand Material
Volume
m3"""^^xsd:string """Gas Material
Volume
m3"""^^xsd:string """Sediment
percent"""^^xsd:string "Oil Potential"^^xsd:string "Gas Potential"^^xsd:string) .
dpr-tables:WellTest
rdf:type rhspin:TableTemplate ;
rdfs:label "Well Test Report Summary"^^xsd:string ;
......
......@@ -70,5 +70,6 @@ WHERE {
<h2>Well Production Test Information</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTest" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTestResults" />
</ui:group>
\ No newline at end of file
......