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-11-15 23:32:26 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ef33593c1b34a6d597d79cd32d7b7ef4dcb0c4a5
ef33593c
1 parent
eb311050
Added fluid and well test clones of dpr tables to mprp
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1323 additions
and
22 deletions
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
www.reportinghub.no/swp/DailyProductionReport.uispin.html
www.reportinghub.no/swp/MPRP.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-MPR-tables-v1.0.spin.ttl
View file @
ef33593
...
...
@@ -20,7 +20,7 @@
<http://www.reportinghub.no/ep/spin/mpr-tables>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/transform/transform-helper-schema>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://spinrdf.org/spin>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/transform/transform-helper-schema>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
mpr-tables:
Cargo
...
...
@@ -789,6 +789,363 @@ mpr-tables:CargoOwnership
]
;
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Cargo Number"
^^
xsd:
string
"Cargo Batch"
^^
xsd:
string
"Owner"
^^
xsd:
string
"Share"
^^
xsd:
string
)
.
mpr-tables:
FluidSampleAnalysisResults
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Fluid Sample Analysis Results"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
distinct
"true"
^^
xsd:
boolean
;
sp:
orderBy
([
sp:
varName
"sampledFluidName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"sampledFluidName"
^^
xsd:
string
]
[
sp:
varName
"componentName"
^^
xsd:
string
]
[
sp:
varName
"moleRatioPercent"
^^
xsd:
string
]
[
sp:
varName
"massRatioPercent"
^^
xsd:
string
]
[
sp:
varName
"isPrimary"
^^
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
"fluidSampleReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#FluidSampleReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"fluidSampleReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#sampledFluid>
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampledFluidName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
[
sp:
varName
"component"
^^
xsd:
string
]
;
sp:
path
[
rdf:
type
sp:
AltPath
;
sp:
path1
<http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent>
;
sp:
path2
<http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent>
]
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"firstOfPair"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"component"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"firstOfPair"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#firstOfPair>
;
sp:
subject
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#MolePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mole>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"firstOfPair"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"secondOfPair"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#secondOfPair>
;
sp:
subject
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mole>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"secondOfPair"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ratio"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#divide>
;
sp:
subject
[
sp:
varName
"molePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"ratio"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"ratio"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"moleRatioPercent"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"firstOfPairMass"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"component"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"firstOfPairMass"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#firstOfPair>
;
sp:
subject
[
sp:
varName
"massPair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#MassPair>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"massPair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mass>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"firstOfPairMass"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"secondOfPairMass"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#secondOfPair>
;
sp:
subject
[
sp:
varName
"massPair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Mass>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"secondOfPairMass"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"ratioMass"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#divide>
;
sp:
subject
[
sp:
varName
"massPair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"ratioMass"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"ratioMass"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"massRatioPercent"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"component"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
ne
;
sp:
arg1
[
sp:
varName
"componentType"
^^
xsd:
string
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/material#Fluid>
]
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
ne
;
sp:
arg1
[
sp:
varName
"componentType"
^^
xsd:
string
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/material#FluidFraction>
]
]
[
sp:
object
[
sp:
varName
"componentName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"componentType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"component"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
"True"
;
sp:
variable
[
sp:
varName
"isPrimary"
^^
xsd:
string
]
])
])
]
;
rhspin:
tableHeaders
(
"Fluid Sample Name"
^^
xsd:
string
"Component"
^^
xsd:
string
"Mole Ratio"
^^
xsd:
string
"Mass Ratio"
^^
xsd:
string
"Is Primary"
^^
xsd:
string
)
.
mpr-tables:
FluidSamples
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Fluid Sample Report"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"sampledFluidName"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"fluidSamplingType"
^^
xsd:
string
]
[
sp:
varName
"sampleDate"
^^
xsd:
string
]
[
sp:
varName
"samplePerformedAt"
^^
xsd:
string
]
[
sp:
varName
"sampledFluidName"
^^
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
"fluidSampleReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#FluidSampleReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"fluidSampleReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidsamplingandanalysisType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysisType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSamplingType"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysisType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampleDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#sampledFluid>
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampledFluidName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"temporalpartofaproductionfacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt>
;
sp:
subject
[
sp:
varName
"fluidsamplingandanalysis"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionfacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"temporalpartofaproductionfacility"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"temporalpartofaproductionfacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"samplePerformedAt"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
subject
[
sp:
varName
"productionfacility"
^^
xsd:
string
]
])
]
;
rhspin:
tableHeaders
(
"Sample Type"
^^
xsd:
string
"Aquisition Date"
^^
xsd:
string
"Sampling Facility"
^^
xsd:
string
"Fluid Sample Name"
^^
xsd:
string
)
.
mpr-tables:
GasSales
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Gas Sales"
^^
xsd:
string
;
...
...
@@ -2701,17 +3058,737 @@ mpr-tables:ProductionSales
]
;
rhspin:
tableHeaders
(
"Facility"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Mass"
^^
xsd:
string
"Volume"
^^
xsd:
string
"Density"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Flow subtype"
^^
xsd:
string
"Gross/Net"
^^
xsd:
string
)
.
mpr-tables:
Well
ProductionFlows
mpr-tables:
Well
InjectionTest
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Well
Production"
^^
xsd:
string
;
rdfs:
label
"Well
Injection Tests"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
[
sp:
varName
"materialTypeName"
^^
xsd:
string
sp:
orderBy
([
sp:
varName
"welName"
^^
xsd:
string
]
[
sp:
varName
"activityStart"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"facilityName"
^^
xsd:
string
sp:
resultVariables
([
sp:
varName
"wellName"
^^
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
"report"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"report"
^^
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
"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
<http://www.reportinghub.no/ep/schema/well#Well>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"well"
^^
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
]
]
[
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
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"timeDuration"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"duration"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
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/well#FluidComponentType>
;
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"minAnnularPres"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"minAnnularPresValue"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"maxAnnularPres"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"maxAnnularPresValue"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"wellheadFlowingPres"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"wellheadFlowingPresValue"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"wellheadMaxPres"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"wellheadMaxPresValue"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"chokeOrificeSize"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"chokeOrificeSizeValue"
^^
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
(
"Well"
^^
xsd:
string
"Test Type"
^^
xsd:
string
"Nominally At"
^^
xsd:
string
"Duration"
^^
xsd:
string
"""Injected
Fluid"""
^^
xsd:
string
"Reason"
^^
xsd:
string
"""Min
Annular
Pressure"""
^^
xsd:
string
"""Max
Annular
Pressure"""
^^
xsd:
string
"""Wellhead
Flowing
Pressure"""
^^
xsd:
string
"""Wellhead
Max
Pressure"""
^^
xsd:
string
"Choke"
^^
xsd:
string
)
.
mpr-tables:
WellInjectionTestResults
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Well Injection Test Results"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
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
"activityStart"
^^
xsd:
string
]
[
sp:
varName
"oilRate"
^^
xsd:
string
]
[
sp:
varName
"oilVolume"
^^
xsd:
string
]
[
sp:
varName
"oilDensity"
^^
xsd:
string
]
[
sp:
varName
"gasRate"
^^
xsd:
string
]
[
sp:
varName
"gasVolume"
^^
xsd:
string
]
[
sp:
varName
"gasDensity"
^^
xsd:
string
]
[
sp:
varName
"waterRate"
^^
xsd:
string
]
[
sp:
varName
"waterVolume"
^^
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
"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
"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
<http://www.reportinghub.no/ep/schema/well#Well>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"well"
^^
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
]
]
[
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
]
]
[
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
"flow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
sp:
subject
[
sp:
varName
"injectionWellTest"
^^
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
"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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"oilvolumetricflowrate"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"oilRate"
^^
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
"odensity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"partOfOil"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Density>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"odensity"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"odensity"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"oilDensity"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"ovolume"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"oilVolume"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"watervolumetricflowrate"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"waterRate"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"wvolume"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"waterVolume"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"gasvolumetricflowrate"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"gasRate"
^^
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
"gdensity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"partOfGas"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Density>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"gdensity"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"gdensity"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"gasDensity"
^^
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
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"gvolume"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"gasVolume"
^^
xsd:
string
]
])
])
])
]
;
rhspin:
tableHeaders
(
"Well"
^^
xsd:
string
"Test Type"
^^
xsd:
string
"Nominally At"
^^
xsd:
string
"Oil Rate"
^^
xsd:
string
"Oil Volume"
^^
xsd:
string
"Oil Density"
^^
xsd:
string
"Gas Rate"
^^
xsd:
string
"Gas Volume"
^^
xsd:
string
"Gas Density"
^^
xsd:
string
"Water Rate"
^^
xsd:
string
"Water Volume"
^^
xsd:
string
)
.
mpr-tables:
WellProductionFlows
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Well Production"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
spin:
body
[
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
]
[
sp:
varName
"purposeTypeName"
^^
xsd:
string
]
[
sp:
varName
"materialTypeName"
^^
xsd:
string
...
...
@@ -3042,3 +4119,219 @@ mpr-tables:WellProductionFlows
])
]
;
rhspin:
tableHeaders
(
"Wellbore"
^^
xsd:
string
"Status"
^^
xsd:
string
"Purpose"
^^
xsd:
string
"Material"
^^
xsd:
string
"Volume"
^^
xsd:
string
"Days"
^^
xsd:
string
"Flow type"
^^
xsd:
string
"Flow subtype"
^^
xsd:
string
"Gross/Net"
^^
xsd:
string
)
.
mpr-tables:
WellTest
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Well Test Report Summary"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
MPRGTableTemplates
;
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
"wellTestPartActiivityName"
^^
xsd:
string
]
[
sp:
varName
"wellTestReasonTypeName"
^^
xsd:
string
]
[
sp:
varName
"activityStart"
^^
xsd:
string
]
[
sp:
varName
"durationValue"
^^
xsd:
string
]
[
sp:
varName
"wellTestName"
^^
xsd:
string
]
[
sp:
varName
"predecessorAt"
^^
xsd:
string
]
[
sp:
varName
"validPredecessorAt"
^^
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
]
]
[
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
<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#onWell>
;
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
[
sp:
varName
"wellboreName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
subject
[
sp:
varName
"wellbore"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wellTestPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"duration"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTestPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"duration"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizePropertyUnitAndValue
;
sp:
arg1
[
sp:
varName
"duration"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"durationValue"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionActivity"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTestPart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
;
sp:
predicate
rdfs:
subClassOf
;
sp:
subject
[
sp:
varName
"productionActivity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestPartActiivityName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"productionActivity"
^^
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
]
])
]
[
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
"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
(
"Well"
^^
xsd:
string
"Test Type"
^^
xsd:
string
"Activity"
^^
xsd:
string
"Reason"
^^
xsd:
string
"Started or Nominally At"
^^
xsd:
string
"Duration"
^^
xsd:
string
"Description "
^^
xsd:
string
"Predecessor At"
^^
xsd:
string
"Last Valid At"
^^
xsd:
string
)
.
...
...
www.reportinghub.no/swp/DailyProductionReport.uispin.html
View file @
ef33593
...
...
@@ -40,9 +40,6 @@ WHERE {
<dprswp:Table
arg:report=
"{= ?report }"
arg:template=
"dpr-tables:PersonnelInformation"
/>
<table>
<ui:forEach
ui:resultSet=
"{# SELECT ?facilityName ?beds
...
...
www.reportinghub.no/swp/MPRP.uispin.html
View file @
ef33593
...
...
@@ -18,37 +18,48 @@ WHERE {
<h1>
Monthly Partner Report : {= ?reportedFieldName } Field, Month Ending {= ?activityEnd}
</h1>
<h2>
Report title : {# SELECT ?title WHERE { ?report a ep-report:MonthlyProductionReportPartner . ?report ep-core:name ?title . } }
</h2>
<h2>
Report Status : {# SELECT ?reportStatusLabel
WHERE {
?report rdf:type ep-report:ProductionReport .
?report a ?reportStatus .
?reportStatus a ep-report:ReportVersionStatus .
?reportStatus rdfs:label ?reportStatusLabel .
}}
</h2>
<h2>
Submitted by : {# SELECT ?submittingFieldName WHERE
{
?report a ep-report:MonthlyProductionReportPartner .
?report ep-report:reportSubmittedFrom ?submittingFieldState .
?report a ep-report:ProductionReport .
?reportIssueActivity ep-report:issuedReport ?report .
?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
?submittingFieldState ep-core:temporalPartOf ?submittingField .
?submittingField npd:name ?submittingFieldName .
} }
</h2>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:GasSales"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellProductionFlows"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:Cargo"
/>
<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:Cargo"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:CargoOwnership"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:CargoOwnership
"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionSales
"
/>
<mpr
gswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionSales
"
/>
<mpr
pswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionFlowsAll
"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionFlowsAll
"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionInventory
"
/>
<mpr
gswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionInventory"
/>
<mpr
pswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionInventoryOwnership"
/>
<mprgswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:ProductionInventoryOwnership"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:FluidSamples"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:FluidSampleAnalysisResults"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellTest"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellInjectionTest"
/>
<mprpswp:Table
arg:report=
"{= ?report }"
arg:template=
"mpr-tables:WellInjectionTestResults"
/>
</ui:group>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment