Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Price
2012-08-25 19:21:25 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75fdf23641300655af3cb0e1e5db83ecaf1be13e
75fdf236
1 parent
11e5e404
Redid product volumes summary table
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
221 additions
and
11 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
www.reportinghub.no/swp/DailyProductionReport.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
View file @
75fdf23
...
...
@@ -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
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
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
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
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
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
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
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionR
eport"
^^
xsd:
string
[
sp:
varName
"
r
eport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
...
...
www.reportinghub.no/swp/DailyProductionReport.uispin.html
View file @
75fdf23
...
...
@@ -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>
...
...
Please
register
or
login
to post a comment