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-07-18 11:15:08 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
14ac0b23e4b6425600d2362f68d327ee1709c3da
14ac0b23
1 parent
96822a3c
Production nearly working, start Well Production
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
112 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/swp/MPRG.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
14ac0b2
...
...
@@ -1485,7 +1485,7 @@ mpr-tables:ProductionFlows
mpr-tables:
ProductionFlowsAll
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Production"
^^
xsd:
string
;
rdfs:
label
"Production
5
"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
...
...
@@ -1591,6 +1591,11 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
...
...
@@ -1608,13 +1613,20 @@ mpr-tables:ProductionFlowsAll
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowInMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#materialThatFlows>
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"materialQuantityValue"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
flowDuring
MonthMaterial"
^^
xsd:
string
[
sp:
varName
"
productFlowIn
MonthMaterial"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mass>
;
sp:
predicate
rdf:
type
;
...
...
@@ -1661,7 +1673,7 @@ mpr-tables:ProductionFlowsAll
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
flowDuring
MonthMaterial"
^^
xsd:
string
[
sp:
varName
"
productFlowIn
MonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
...
...
@@ -1719,7 +1731,7 @@ mpr-tables:ProductionFlowsAll
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
flowDuring
MonthMaterial"
^^
xsd:
string
[
sp:
varName
"
productFlowIn
MonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
...
...
@@ -1819,11 +1831,23 @@ mpr-tables:ProductionFlowsAll
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productFlowWhole"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowMaterialType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"product
ionFlowMixedPart
"
^^
xsd:
string
[
sp:
varName
"product
FlowWhole
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductMaterialType>
;
sp:
predicate
rdf:
type
;
...
...
@@ -2422,6 +2446,7 @@ mpr-tables:WellProductionFlows
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
[
sp:
varName
"materialTypeName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"wellStatus"
^^
xsd:
string
...
...
@@ -2452,23 +2477,23 @@ mpr-tables:WellProductionFlows
[
sp:
varName
"productVolumeReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow
sInReportingPeriod
"
^^
xsd:
string
[
sp:
varName
"productionFlow
Network
"
^^
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#ProductionFlow>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow
Network
>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlow
sInReportingPeriod
"
^^
xsd:
string
[
sp:
varName
"productionFlow
Network
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#has
Part>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
flow#hasNetwork
Part>
;
sp:
subject
[
sp:
varName
"productionFlow
sInReportingPeriod
"
^^
xsd:
string
[
sp:
varName
"productionFlow
Network
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
predicate
rdf:
type
;
...
...
@@ -2487,13 +2512,13 @@ mpr-tables:WellProductionFlows
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/flow#Sale>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowWhole"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
...
...
@@ -2513,6 +2538,42 @@ mpr-tables:WellProductionFlows
sp:
subject
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowInMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#materialThatFlows>
;
sp:
subject
[
sp:
varName
"productFlowInMonth"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
...
...
@@ -2543,110 +2604,23 @@ mpr-tables:WellProductionFlows
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"producingWell"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellStatusType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"producingWell"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-well#WellStatusType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellStatusType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellStatus"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"wellStatusType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
[
sp:
varName
"productFlowInMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productFlowMixedPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowInReportingPeriod"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowMixedPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowMixedPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"flowDuringMonth"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"flowDuringMonth"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"flowDuringMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#materialThatFlows>
;
sp:
subject
[
sp:
varName
"flowDuringMonth"
^^
xsd:
string
[
sp:
varName
"stateOfMaterialThatFlowsInPeriodVolume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"flowDuringMonthMaterial"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"temperature"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod"
^^
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
"temperatureInCelcius"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#celsius>
;
sp:
subject
[
sp:
varName
"temperature"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"volume"
^^
xsd:
string
[
sp:
varName
"stateVolume"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod"
^^
xsd:
string
[
sp:
varName
"stateOfMaterialThatFlowsInPeriod
Volume
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
v
olume"
^^
xsd:
string
[
sp:
varName
"
stateV
olume"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"volumeValue"
^^
xsd:
string
...
...
@@ -2655,7 +2629,7 @@ mpr-tables:WellProductionFlows
[
sp:
varName
"volumePredicate"
^^
xsd:
string
]
;
sp:
subject
[
sp:
varName
"
v
olume"
^^
xsd:
string
[
sp:
varName
"
stateV
olume"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Scale>
;
sp:
predicate
rdf:
type
;
...
...
@@ -2730,11 +2704,23 @@ mpr-tables:WellProductionFlows
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productFlowWhole"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFlowMixedPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productFlowWhole"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productFlowMaterialType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"product
ionFlowMixedPart
"
^^
xsd:
string
[
sp:
varName
"product
FlowWhole
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductMaterialType>
;
sp:
predicate
rdf:
type
;
...
...
www.reportinghub.no/swp/MPRG.uispin.html
View file @
14ac0b2
...
...
@@ -173,7 +173,7 @@ OPTIONAL {
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:GasSales"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellProductionFlows"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellProductionFlows"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:Cargo"
/>
...
...
Please
register
or
login
to post a comment