David Price

Redid product volumes summary table

......@@ -33,10 +33,10 @@ dpr-tables:PersonnelInformation
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
......@@ -129,6 +129,211 @@ dpr-tables:PersonnelInformation
] ;
rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) .
dpr-tables:ProductVolumes
rdf:type rhspin:TableTemplate ;
rdfs:label "Product Volume List"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
]) ;
sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
] [ sp:varName "flowInOutFacilityName"^^xsd:string
] [ sp:varName "flowPurposeName"^^xsd:string
] [ sp:varName "flowDefinitionName"^^xsd:string
] [ sp:varName "densityValue"^^xsd:string
] [ sp:varName "temperatureValue"^^xsd:string
] [ sp:varName "pressureValue"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionflownetwork"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productvolumereport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
sp:subject
[ sp:varName "productionflownetwork"^^xsd:string
]
] [ sp:object
[ sp:varName "productionflownetwork"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionflownetworkFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "containingWholeFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "containingWholeFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "flowWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "flowInOutFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "flowInOutFacilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "flowInOutFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "flowPurpose"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ sp:object
[ sp:varName "flowPurposeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowPurpose"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinition"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "flowDefinitionName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "density"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "temperatureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kelvin> ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "pressureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object
[ sp:varName "densityValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ;
sp:subject
[ sp:varName "density"^^xsd:string
]
])
] ;
rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Density"^^xsd:string "Pressure"^^xsd:string "Temperature"^^xsd:string) .
dpr-tables:ProductionOperationActivity
rdf:type rhspin:TableTemplate ;
rdfs:label "Production Operation Activities"^^xsd:string ;
......@@ -147,10 +352,10 @@ dpr-tables:ProductionOperationActivity
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
......@@ -339,10 +544,10 @@ dpr-tables:WellInjectionTest
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
......@@ -613,10 +818,10 @@ dpr-tables:WellInjectionTestResults
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
......
......@@ -23,10 +23,9 @@ WHERE {
?submittingField npd:name ?submittingFieldName .
} }</h2>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
<table>
<tr><th>Facility</th><th>Total Beds Available</th></tr>
<ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds
......@@ -48,6 +47,12 @@ WHERE {
<tr><td>{= ?facilityName }</td><td>{= ?beds}</td></tr>
</ui:forEach>
</table>
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductVolumes" />
<hr />
<h2>General Well Test Information</h2>
......