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 Leal
2011-11-23 19:24:37 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
28469226de6e213865bed2c45d2e9e75e53bb576
28469226
1 parent
b121b8c2
More work on productVolume transform
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2334 additions
and
722 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-GEOGRAPHY-v1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-CORE-v1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-REPORT-v1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/transform/TRANSFORM_dpr-injectionTestData-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolumeReport-v1.1.1.tbc
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolumeReport-v1.1.1.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-FLOW-v1.0.ttl
View file @
2846922
...
...
@@ -10,141 +10,146 @@
<http://www.reportinghub.no/ep/schema/1.0/flow>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
core>
,
<http://www.reportinghub.no/ep/schema/1.0/facility
>
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
facility>
,
<http://www.reportinghub.no/ep/schema/1.0/core
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-flow:
AllocatedFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"allocated flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
AqueousFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"aqueous flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
BudgetFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"budget flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
CarbonDioxideGasFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"carbon dioxide gas flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
CarbonMonoxideGasFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"carbon monoxide gas flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
ChemicalFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"chemical flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
CondensateFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"condensate flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
ConstraintFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"constraint flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Consume
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Consume-HPflare
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - HP flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume-flare
.
ep-flow:
Consume-LPflare
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - LP flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume-flare
.
ep-flow:
Consume-blackstart
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - blackstart"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-compressor
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - compressor"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-emitted
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - emitted"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-flare
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - flare"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-fuel
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - fuel"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-noncompressor
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - non-compressor"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
Consume-venting
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"consume - venting"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Consume
.
ep-flow:
CuttingsFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdfs:
label
"cuttings flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
DailyProductionFlow
rdf:
type
owl:
Class
;
rdfs:
label
"daily production flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAProductionFlow
.
ep-flow:
DerivedFlow
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdfs:
label
"derived flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
DieselFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"diesel flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
EstimatedFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"estimated flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Ethane-componentFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"ethane - component flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Export
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"export"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Export-nominated
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"export nominated"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Export-requested
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"export requested"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
ep-flow:
Export-shortfall
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"export shortfall"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Export
.
...
...
@@ -154,32 +159,32 @@ ep-flow:Flow
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
FlowDuringDay
rdf:
type
owl:
Class
,
ep-flow:
TemporalPartOfAFlowDurationType
;
rdf:
type
ep-flow:
TemporalPartOfAFlowDurationType
,
owl:
Class
;
rdfs:
label
"flow during day"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
FlowDuringMonth
rdf:
type
ep-flow:
TemporalPartOfAFlowDurationType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
TemporalPartOfAFlowDurationType
;
rdfs:
label
"flow during month"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
FlowDuringMonthToDate
rdf:
type
ep-flow:
TemporalPartOfAFlowDurationType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
TemporalPartOfAFlowDurationType
;
rdfs:
label
"flow during month to date"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
FlowDuringWeek
rdf:
type
ep-flow:
TemporalPartOfAFlowDurationType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
TemporalPartOfAFlowDurationType
;
rdfs:
label
"flow during week"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
FlowDuringYear
rdf:
type
owl:
Class
,
ep-flow:
TemporalPartOfAFlowDurationType
;
rdf:
type
ep-flow:
TemporalPartOfAFlowDurationType
,
owl:
Class
;
rdfs:
label
"flow during year"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
FlowDuringYearToDate
rdf:
type
ep-flow:
TemporalPartOfAFlowDurationType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
TemporalPartOfAFlowDurationType
;
rdfs:
label
"flow during year to date"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
...
...
@@ -199,97 +204,97 @@ ep-flow:FlowOfMaterial
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Gas-componentInOilFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"gas - component in oil flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Gas-richFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"gas - rich flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
GasFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"gas flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Gaslift
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"gas lift"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
I-butane-componentFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"i-butane - component flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Import
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"import"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Injection
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"injection"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Inventory
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"inventory"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
MeasuredFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"measured flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
N-butane-componentFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"n-butane - component flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
NGL-componentInGasFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"NGL - component in gas flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
NaturalGasLiquidFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"natural gas liquid flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
NitrogenOxideGasFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"nitrogen oxide gas flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Oil-componentInWaterFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"oil - component in water flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Oil-netFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"oil - net flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
OilAndGasFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"oil and gas flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
OilFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdfs:
label
"oil flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
OleicFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"oleic flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Overboard
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"overboard"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
...
...
@@ -309,7 +314,7 @@ ep-flow:ProductType
rdfs:
subClassOf
owl:
Class
.
ep-flow:
Production
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowPurposeType
;
rdf:
type
ep-flow:
ProductionFlowPurposeType
,
owl:
Class
;
rdfs:
label
"production"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
...
...
@@ -349,22 +354,22 @@ ep-flow:ProductionTestWellHeadFlow
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Propane-componentFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"propane - component flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
QuotaFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"quota flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
SandFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"sand flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
SimulatedFlow
rdf:
type
owl:
Class
,
ep-flow:
ProductionFlowDefinitionType
;
rdf:
type
ep-flow:
ProductionFlowDefinitionType
,
owl:
Class
;
rdfs:
label
"simulated flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
...
...
@@ -389,27 +394,27 @@ ep-flow:TemporalPartOfAProductionFlow
rdfs:
subClassOf
ep-flow:
TemporalPartOfAFlow
.
ep-flow:
VapourFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"vapour flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Water-dischargeFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"water - discharge flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
Water-processedFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"water - processed flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
WaterFlow
rdf:
type
ep-flow:
ProductType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-flow:
ProductType
;
rdfs:
label
"water flow"
^^
xsd:
string
;
rdfs:
subClassOf
ep-flow:
Flow
.
ep-flow:
dailyAverageAmountOfMaterial
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
label
"daily average amount of material"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial>
.
...
...
@@ -454,6 +459,6 @@ ep-flow:hasNetworkPart
rdfs:
subPropertyOf
<http://www.reportinghub.no/ep/schema/core#hasPart>
.
ep-flow:
totalAmountOfMaterial
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdfs:
label
"total amount of material"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial>
.
...
...
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-GEOGRAPHY-v1.0.ttl
View file @
2846922
# Saved by TopBraid on Tue Oct 11 17:12:54 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
...
...
@@ -12,20 +11,20 @@
<http://www.reportinghub.no/ep/schema/1.0/geography>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
facility>
,
<http://www.reportinghub.no/ep/schema/1.0/core
>
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
core>
,
<http://www.reportinghub.no/ep/schema/1.0/facility
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-geo:
Country
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdfs:
label
"country"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
County
,
ep-geo:
State
.
owl:
disjointWith
ep-geo:
State
,
ep-geo:
County
.
ep-geo:
County
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdfs:
label
"county"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
State
,
ep-geo:
Country
.
owl:
disjointWith
ep-geo:
Country
,
ep-geo:
State
.
ep-geo:
PartOfTheSurfaceOfTheEarth
rdf:
type
owl:
Class
;
...
...
@@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/core#PhysicalObject>
.
ep-geo:
State
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdfs:
label
"state"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
Count
y
,
ep-geo:
Countr
y
.
owl:
disjointWith
ep-geo:
Count
ry
,
ep-geo:
Count
y
.
ep-geo:
locatedWithin
rdf:
type
owl:
ObjectProperty
;
rdfs:
domain
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
;
rdfs:
label
"located within"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/core#PhysicalObject>
.
ep-geo:
nominallyLocatedAt
rdf:
type
owl:
ObjectProperty
;
rdfs:
domain
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
;
rdfs:
label
"nominally located at"
^^
xsd:
string
;
rdfs:
range
<http://www.reportinghub.no/ep/schema/core#PhysicalObject>
.
...
...
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-CORE-v1.0.ttl
View file @
2846922
This diff could not be displayed because it is too large.
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-REPORT-v1.0.ttl
View file @
2846922
# Saved by TopBraid on Fri Oct 14 18:36:52 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/np/schema/1.0/npd
...
...
@@ -11,9 +10,14 @@
<http://www.reportinghub.no/ep/schema/1.0/production-report>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/
np/schema/1.0/npd>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
;
owl:
imports
<http://www.reportinghub.no/
ep/schema/1.0/report>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-prodreport:
DailyProductVolumeReport
rdf:
type
owl:
Class
,
ep-prodreport:
ProductVolumeReportPeriodType
;
rdfs:
label
"daily product volume report"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodreport:
DailyProductionReport
.
ep-prodreport:
DailyProductionReport
rdf:
type
owl:
Class
;
rdfs:
label
"Daily Production Report"
^^
xsd:
string
;
...
...
@@ -24,6 +28,16 @@ ep-prodreport:MonthlyProductionReport
rdfs:
label
"Monthly Production Report"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodreport:
ProductionReport
.
ep-prodreport:
ProductVolumeReport
rdf:
type
owl:
Class
;
rdfs:
label
"product volume report"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodreport:
ProductionReport
.
ep-prodreport:
ProductVolumeReportPeriodType
rdf:
type
rdfs:
Class
;
rdfs:
label
"product volume report period type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-prodreport:
ProductionReport
rdf:
type
owl:
Class
;
rdfs:
label
"Production Report"
^^
xsd:
string
;
...
...
@@ -34,8 +48,8 @@ ep-prodreport:ReportAliasIdentifier
rdfs:
subClassOf
owl:
Thing
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
minCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-prodreport:
aliasName
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-prodreport:
isAliasFor
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
...
...
@@ -44,10 +58,15 @@ ep-prodreport:ReportAliasIdentifier
]
;
rdfs:
subClassOf
[
rdf:
type
owl:
Restriction
;
owl:
cardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-prodreport:
isAliasFor
owl:
minCardinality
"1"
^^
xsd:
nonNegativeInteger
;
owl:
onProperty
ep-prodreport:
aliasName
]
.
ep-prodreport:
ReportType
rdf:
type
rdfs:
Class
;
rdfs:
label
"report type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-prodreport:
aliasName
rdf:
type
owl:
DatatypeProperty
;
rdfs:
range
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
2846922
...
...
@@ -48,7 +48,7 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<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.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-dpr-spin-lib:
BuildDailyProductionReportURI
...
...
@@ -4242,6 +4242,93 @@ ep-dpr-spin-lib:selectProductType
])
]
.
ep-dpr-spin-lib:
selectProductVolumeReportPeriodType
rdf:
type
spin:
Function
;
rdfs:
label
"select ProductVolumeReportPeriodType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_dailymonthtodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportMonthToDate>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_dailyyeartodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_day>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_monthtodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportMonthToDate>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_month>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#MonthlyProductVolumeReport>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_report>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportToDate>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_week>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#WeeklyProductVolumeReport>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_yeartodate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReportYearToDate>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#RP_year>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-report#YearlyProductVolumeReport>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/production-report#ProductVolumeReport>
]
]
]
]
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
]
])
]
.
ep-dpr-spin-lib:
selectProductionActivityDurationType
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
...
...
@@ -5383,6 +5470,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b29
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#fractionByVolume>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
;
sp:
variable
_:
b29
])
]
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
...
...
@@ -5462,22 +5565,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b29
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#fractionByVolume>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
;
sp:
variable
_:
b29
])
]
.
ep-dpr-spin-lib:
selectTemperatureScale
...
...
@@ -7006,89 +7093,89 @@ ep-dpr-spin-lib:selectWorkScale
])
]
.
_:
b32
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b31
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b30
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b29
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b28
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b27
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b3
sp:
varName
"UUID"
^^
xsd:
string
.
_:
b26
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b25
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b24
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b23
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b22
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b21
sp:
varName
"productType"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
densityScale"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
uri"
^^
xsd:
string
.
_:
b1
9
_:
b1
1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
8
_:
b1
2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
7
_:
b1
3
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
6
_:
b1
4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b15
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
4
_:
b1
6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
3
_:
b1
7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
2
_:
b1
8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
1
_:
b1
9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b
10
sp:
varName
"
uri"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
densityScale"
^^
xsd:
string
.
_:
b9
sp:
varName
"uri"
^^
xsd:
string
.
_:
b21
sp:
varName
"productType"
^^
xsd:
string
.
_:
b8
sp:
varName
"uri"
^^
xsd:
string
.
_:
b22
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b7
sp:
varName
"uri"
^^
xsd:
string
.
_:
b23
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b6
sp:
varName
"uri"
^^
xsd:
string
.
_:
b24
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b5
sp:
varName
"uri"
^^
xsd:
string
.
_:
b25
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b4
sp:
varName
"uri"
^^
xsd:
string
.
_:
b26
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b3
sp:
varName
"UUID"
^^
xsd:
string
.
_:
b27
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b28
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b29
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b30
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b31
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b32
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_dpr-injectionTestData-v1.1.1.ttl
View file @
2846922
...
...
@@ -21,25 +21,41 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
www.reportinghub.no/ep/schema/1.0/production-well>
,
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://spinrdf.org/spin
>
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
,
<http://www.reportinghub.no/ep/schema/1.0/activity>
,
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production-well
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3014
2 Set the injected fluid type
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/
well#Fluid
>
;
rdfs:
comment
"STEP 3014
0 Classify as an Injection test and set duration
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/
production-activity#InjectionWellTest
>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest
InjectedFluid
"
^^
xsd:
string
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectedFluidType"
^^
xsd:
string
]
;
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b2
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest
InjectedFluid
"
^^
xsd:
string
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
[
sp:
varName
"realDuration"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"durationScale"
^^
xsd:
string
]
;
sp:
subject
_:
b2
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -89,67 +105,109 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
wellTestInjectedFluid
"
^^
xsd:
string
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/activity#hasFlow
>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#injectionTestRef
>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
[
sp:
varName
"wellTest
Ref
"
^^
xsd:
string
]
]
[
sp:
object
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testDurationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDurationRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realDuration"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef
>
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value
>
;
sp:
subject
[
sp:
varName
"wellTest
Ref"
^^
xsd:
string
[
sp:
varName
"testDuration
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectedFluidRef
"
^^
xsd:
string
[
sp:
varName
"uomDuration
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectedFluid
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uom
Ref>
;
sp:
subject
[
sp:
varName
"injectionTest
Ref"
^^
xsd:
string
[
sp:
varName
"testDuration
Ref"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
InjectedFluidTyp
e
;
sp:
arg1
[
sp:
varName
"
injectedFluidRef
"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
DurationScal
e
;
sp:
arg1
[
sp:
varName
"
uomDuration
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
injectedFluidTyp
e"
^^
xsd:
string
[
sp:
varName
"
durationScal
e"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3014
3c Set the cumulative fluid flow - water amount
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
flow#hasMixedPart
>
;
rdfs:
comment
"STEP 3014
4 Set the injection test pressures
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
production-activity#injectionWellTestMinimumAnnularPressure
>
;
sp:
subject
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"
wellTest
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
flow#WaterFlow
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
core#Pressure
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
_:
b2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial>
;
sp:
subject
_:
b1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Water>
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"realMinimumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleMinimumAnnularPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMaximumAnnularPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"realMaximumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleMaximumAnnularPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadFlowingPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
subject
_:
b5
]
[
sp:
object
[
sp:
varName
"realWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadMaximumPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
3
sp:
subject
_:
b
6
]
[
sp:
object
[
sp:
varName
"real
Volum
e"
^^
xsd:
string
[
sp:
varName
"real
WellheadMaximumPressur
e"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
volumeScal
e"
^^
xsd:
string
[
sp:
varName
"
pressureScaleWellheadMaximumPressur
e"
^^
xsd:
string
]
;
sp:
subject
_:
b
3
sp:
subject
_:
b
6
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -199,123 +257,206 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
temporalPartOfAWellBore
"
^^
xsd:
string
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/activity#onWellBore
>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#injectionTestRef
>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
[
sp:
varName
"wellTest
Ref
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"minimumAnnularPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#minimumAnnularPressureRef
>
;
sp:
subject
[
sp:
varName
"wellTest
"
^^
xsd:
string
[
sp:
varName
"injectionTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBo
re"
^^
xsd:
string
[
sp:
varName
"realMinimumAnnularPressu
re"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf
>
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value
>
;
sp:
subject
[
sp:
varName
"temporalPartOfAWellBore
"
^^
xsd:
string
[
sp:
varName
"minimumAnnularPressureRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBo
re"
^^
xsd:
string
[
sp:
varName
"uomMinimumAnnularPressu
re"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOutO
f>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRe
f>
;
sp:
subject
[
sp:
varName
"productionFlow
"
^^
xsd:
string
[
sp:
varName
"minimumAnnularPressureRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow"
^^
xsd:
string
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"maximumAnnularPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartO
f>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#maximumAnnularPressureRe
f>
;
sp:
subject
[
sp:
varName
"productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"injectionTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDat
e"
^^
xsd:
string
[
sp:
varName
"realMaximumAnnularPressur
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt
>
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value
>
;
sp:
subject
[
sp:
varName
"productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"maximumAnnularPressureRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectionTestRef
"
^^
xsd:
string
[
sp:
varName
"uomMaximumAnnularPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTest
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uom
Ref>
;
sp:
subject
[
sp:
varName
"wellTest
Ref"
^^
xsd:
string
[
sp:
varName
"maximumAnnularPressure
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestCumulativeRef"
^^
xsd:
string
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wellheadFlowingPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativ
eRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadFlowingPressur
eRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cumulativeWaterRef
"
^^
xsd:
string
[
sp:
varName
"realWellheadFlowingPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#cumulativeWaterRef
>
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value
>
;
sp:
subject
[
sp:
varName
"wellTestCumulativ
eRef"
^^
xsd:
string
[
sp:
varName
"wellheadFlowingPressur
eRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
[
sp:
varName
"uomWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"wellheadFlowingPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wellheadMaximumPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadMaximumPressureRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realWellheadMaximumPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"cumulativeWater
Ref"
^^
xsd:
string
[
sp:
varName
"wellheadMaximumPressure
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomVolum
e"
^^
xsd:
string
[
sp:
varName
"uomWellheadMaximumPressur
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"cumulativeWater
Ref"
^^
xsd:
string
[
sp:
varName
"wellheadMaximumPressure
Ref"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
Length
Scale
;
sp:
arg1
[
sp:
varName
"uom
Volum
e"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
Pressure
Scale
;
sp:
arg1
[
sp:
varName
"uom
MinimumAnnularPressur
e"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"volumeScale"
^^
xsd:
string
[
sp:
varName
"pressureScaleMinimumAnnularPressure"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomMaximumAnnularPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleMaximumAnnularPressure"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomWellheadFlowingPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleWellheadFlowingPressure"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomWellheadMaximumPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleWellheadMaximumPressure"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3014
3b Set the cumulative fluid flow - oil amount
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
rdfs:
comment
"STEP 3014
1 Set the tested WellBoreSection
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"
wellTest
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#OilFlow>
;
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#PhysicalObject>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
4
]
[
sp:
object
_:
b
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
flow#totalAmountOfMaterial
>
;
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#
Oil
>
;
sp:
subject
_:
b
7
]
[
sp:
object
_:
b
8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#temporalPartOf
>
;
sp:
subject
_:
b
7
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#
WellBoreSection
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b6
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
_:
b8
]
[
sp:
object
_:
b9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore>
;
sp:
subject
_:
b8
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
subject
_:
b9
]
[
sp:
object
[
sp:
varName
"realMdTop"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleMdTop"
^^
xsd:
string
]
;
sp:
subject
_:
b9
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore>
;
sp:
subject
_:
b8
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
6
sp:
subject
_:
b
10
]
[
sp:
object
[
sp:
varName
"real
Volum
e"
^^
xsd:
string
[
sp:
varName
"real
MdBas
e"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
volumeScal
e"
^^
xsd:
string
[
sp:
varName
"
lengthScaleMdBas
e"
^^
xsd:
string
]
;
sp:
subject
_:
b6
sp:
subject
_:
b10
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
_:
b8
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b11
]
[
sp:
object
[
sp:
varName
"testedFormation"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b11
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -372,13 +513,6 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
...
...
@@ -386,102 +520,119 @@
[
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
wellBore
"
^^
xsd:
string
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/flow#flowOutO
f>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#injectionTestRe
f>
;
sp:
subject
[
sp:
varName
"
productionFlow
"
^^
xsd:
string
[
sp:
varName
"
wellTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionFlow
"
^^
xsd:
string
[
sp:
varName
"
testIntervalRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/core#temporalPartO
f>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#testIntervalRe
f>
;
sp:
subject
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"mdTopRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#mdTopRef
>
;
sp:
subject
[
sp:
varName
"productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"testIntervalRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectionTestRef
"
^^
xsd:
string
[
sp:
varName
"realMdTop
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef
>
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value
>
;
sp:
subject
[
sp:
varName
"wellTest
Ref"
^^
xsd:
string
[
sp:
varName
"mdTop
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestCumulativeRef
"
^^
xsd:
string
[
sp:
varName
"uomMdTop
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulative
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uom
Ref>
;
sp:
subject
[
sp:
varName
"injectionTest
Ref"
^^
xsd:
string
[
sp:
varName
"mdTop
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cumulativeOilRef"
^^
xsd:
string
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"mdBaseRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#cumulativeOil
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#mdBase
Ref>
;
sp:
subject
[
sp:
varName
"wellTestCumulative
Ref"
^^
xsd:
string
[
sp:
varName
"testInterval
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realVolum
e"
^^
xsd:
string
[
sp:
varName
"realMdBas
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"cumulativeOil
Ref"
^^
xsd:
string
[
sp:
varName
"mdBase
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomVolum
e"
^^
xsd:
string
[
sp:
varName
"uomMdBas
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"cumulativeOilRef"
^^
xsd:
string
[
sp:
varName
"mdBaseRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testedFormation"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testedFormation>
;
sp:
subject
[
sp:
varName
"testIntervalRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uom
Volume
"
^^
xsd:
string
sp:
arg1
[
sp:
varName
"uom
MdTop
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"volumeScale"
^^
xsd:
string
[
sp:
varName
"lengthScaleMdTop"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomMdBase"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"lengthScaleMdBase"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30143a Set the cumulative fluid flow - gas amount"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#GasFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial>
;
sp:
subject
_:
b7
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Gas>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
_:
b9
;
rdfs:
comment
"STEP 30143 Set the cumulative fluid flow"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/well#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
8
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
core#Volume
>
;
sp:
subject
_:
b
12
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
flow#ProductionFlow
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
9
sp:
subject
_:
b
12
]
[
sp:
object
[
sp:
varName
"
realVolum
e"
^^
xsd:
string
[
sp:
varName
"
wellBor
e"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"volumeScale"
^^
xsd:
string
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOutOf>
;
sp:
subject
_:
b12
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
]
[
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b13
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
subject
_:
b9
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
_:
b13
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -552,60 +703,175 @@
[
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
wellBore
"
^^
xsd:
string
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/flow#flowOutO
f>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#injectionTestRe
f>
;
sp:
subject
[
sp:
varName
"
productionFlow
"
^^
xsd:
string
[
sp:
varName
"
wellTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionFlow
"
^^
xsd:
string
[
sp:
varName
"
wellTestCumulativeRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/core#temporalPartO
f>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#wellTestCumulativeRe
f>
;
sp:
subject
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
])
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30143a Set the cumulative fluid flow - gas amount"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b14
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#GasFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b14
]
[
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial>
;
sp:
subject
_:
b14
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Gas>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b16
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
[
sp:
varName
"
realVolume
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
sp:
predicate
[
sp:
varName
"volumeScale"
^^
xsd:
string
]
;
sp:
subject
_:
b16
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"well
TestCumulative
Ref"
^^
xsd:
string
[
sp:
varName
"wellRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#well
TestCumulative
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellRef>
;
sp:
subject
[
sp:
varName
"
injectionTes
tRef"
^^
xsd:
string
[
sp:
varName
"
wellSe
tRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
cumulativeGas
Ref"
^^
xsd:
string
[
sp:
varName
"
wellboreSet
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
cumulativeGas
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
wellboreSet
Ref>
;
sp:
subject
[
sp:
varName
"well
TestCumulative
Ref"
^^
xsd:
string
[
sp:
varName
"wellRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
realVolume
"
^^
xsd:
string
[
sp:
varName
"
wellboreRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
linkedmodel.org/schema/dtype#value
>
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#wellboreRef
>
;
sp:
subject
[
sp:
varName
"
cumulativeGas
Ref"
^^
xsd:
string
[
sp:
varName
"
wellboreSet
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
uomVolume
"
^^
xsd:
string
[
sp:
varName
"
wellTestSetRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
uom
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
wellTestSet
Ref>
;
sp:
subject
[
sp:
varName
"cumulativeGasRef"
^^
xsd:
string
[
sp:
varName
"wellboreRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestRef>
;
sp:
subject
[
sp:
varName
"wellTestSetRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
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
"temporalPartOfAWellBore"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOutOf>
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestCumulativeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativeRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cumulativeGasRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#cumulativeGasRef>
;
sp:
subject
[
sp:
varName
"wellTestCumulativeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"cumulativeGasRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"cumulativeGasRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
...
...
@@ -620,29 +886,34 @@
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30143 Set the cumulative fluid flow"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/well#Fluid>
;
rdfs:
comment
"STEP 30143b Set the cumulative fluid flow - oil amount"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#OilFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial>
;
sp:
subject
_:
b17
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Oil>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOutOf>
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate>
;
sp:
subject
_:
b18
]
[
sp:
object
_:
b19
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
1
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b1
1
sp:
subject
_:
b1
8
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
9
]
[
sp:
object
[
sp:
varName
"
testDat
e"
^^
xsd:
string
[
sp:
varName
"
realVolum
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
_:
b11
sp:
predicate
[
sp:
varName
"volumeScale"
^^
xsd:
string
]
;
sp:
subject
_:
b19
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -713,6 +984,27 @@
[
sp:
varName
"temporalPartOfAWellBore"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOutOf>
;
sp:
subject
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef>
;
...
...
@@ -726,39 +1018,68 @@
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"cumulativeOilRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#cumulativeOilRef>
;
sp:
subject
[
sp:
varName
"wellTestCumulativeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"cumulativeOilRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"cumulativeOilRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomVolume"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"volumeScale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30140 Classify as an Injection test and set duration"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
rdfs:
comment
"STEP 30143c Set the cumulative fluid flow - water amount"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b20
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasMixedPart>
;
sp:
subject
[
sp:
varName
"
wellTest
"
^^
xsd:
string
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#
FlowOfMaterial
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#
WaterFlow
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b13
;
sp:
subject
_:
b20
]
[
sp:
object
_:
b21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#totalAmountOfMaterial>
;
sp:
subject
_:
b20
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Water>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b22
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
sp:
subject
_:
b21
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Volume>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b22
]
[
sp:
object
[
sp:
varName
"real
Duration
"
^^
xsd:
string
[
sp:
varName
"real
Volume
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
duration
Scale"
^^
xsd:
string
[
sp:
varName
"
volume
Scale"
^^
xsd:
string
]
;
sp:
subject
_:
b
13
sp:
subject
_:
b
22
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -808,156 +1129,46 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
injectionTestRef
"
^^
xsd:
string
[
sp:
varName
"
temporalPartOfAWellBore
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
witsml.org/schemas/131/addendum/combo#injectionTestRef
>
;
sp:
predicate
<http://www.
reportinghub.no/ep/schema/activity#onWellBore
>
;
sp:
subject
[
sp:
varName
"wellTest
Ref
"
^^
xsd:
string
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testDurationRef"
^^
xsd:
string
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDurationRef
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt
>
;
sp:
subject
[
sp:
varName
"productionTestRef
"
^^
xsd:
string
[
sp:
varName
"wellTest
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realDuration
"
^^
xsd:
string
[
sp:
varName
"wellBore
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf
>
;
sp:
subject
[
sp:
varName
"testDurationRef
"
^^
xsd:
string
[
sp:
varName
"temporalPartOfAWellBore
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomDuration
"
^^
xsd:
string
[
sp:
varName
"wellBore
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRe
f>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#flowOutO
f>
;
sp:
subject
[
sp:
varName
"testDurationRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectDurationScale
;
sp:
arg1
[
sp:
varName
"uomDuration"
^^
xsd:
string
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlow"
^^
xsd:
string
]
;
sp:
variable
[
sp:
varName
"durationScale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30144 Set the injection test pressures"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b14
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMinimumAnnularPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b14
]
[
sp:
object
[
sp:
varName
"realMinimumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleMinimumAnnularPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b14
]
[
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMaximumAnnularPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
[
sp:
varName
"realMaximumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleMaximumAnnularPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b16
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadFlowingPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
[
sp:
varName
"realWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadMaximumPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
[
sp:
varName
"realWellheadMaximumPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleWellheadMaximumPressure"
^^
xsd:
string
]
;
sp:
subject
_:
b17
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"wellRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellRef>
;
sp:
subject
[
sp:
varName
"wellSetRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellboreSetRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellboreSetRef>
;
sp:
subject
[
sp:
varName
"wellRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellboreRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellboreRef>
;
sp:
subject
[
sp:
varName
"wellboreSetRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestSetRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestSetRef>
;
sp:
subject
[
sp:
varName
"wellboreRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestRef>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"
wellTestSetRef
"
^^
xsd:
string
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
wellTestRef
"
^^
xsd:
string
[
sp:
varName
"
testDate
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#derivedFrom
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
activity#finishedAt
>
;
sp:
subject
[
sp:
varName
"
wellTest
"
^^
xsd:
string
[
sp:
varName
"
productionFlowToDate
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
...
...
@@ -966,200 +1177,60 @@
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"minimumAnnularPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#minimumAnnularPressureRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realMinimumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"minimumAnnularPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomMinimumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"minimumAnnularPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"maximumAnnularPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#maximumAnnularPressureRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realMaximumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"maximumAnnularPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomMaximumAnnularPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"maximumAnnularPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wellheadFlowingPressureRef"
^^
xsd:
string
[
sp:
varName
"wellTestCumulativeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadFlowingPressur
eRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellTestCumulativ
eRef>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"wellheadFlowingPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomWellheadFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"wellheadFlowingPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wellheadMaximumPressureRef"
^^
xsd:
string
[
sp:
varName
"cumulativeWaterRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadMaximumPressure
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#cumulativeWater
Ref>
;
sp:
subject
[
sp:
varName
"injectionTest
Ref"
^^
xsd:
string
[
sp:
varName
"wellTestCumulative
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realWellheadMaximumPressur
e"
^^
xsd:
string
[
sp:
varName
"realVolum
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"wellheadMaximumPressure
Ref"
^^
xsd:
string
[
sp:
varName
"cumulativeWater
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomWellheadMaximumPressur
e"
^^
xsd:
string
[
sp:
varName
"uomVolum
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"wellheadMaximumPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomMinimumAnnularPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleMinimumAnnularPressure"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomMaximumAnnularPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleMaximumAnnularPressure"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomWellheadFlowingPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleWellheadFlowingPressure"
^^
xsd:
string
[
sp:
varName
"cumulativeWaterRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
Pressure
Scale
;
sp:
arg1
[
sp:
varName
"uom
WellheadMaximumPressur
e"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
Length
Scale
;
sp:
arg1
[
sp:
varName
"uom
Volum
e"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
pressureScaleWellheadMaximumPressur
e"
^^
xsd:
string
[
sp:
varName
"
volumeScal
e"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3014
1 Set the tested WellBoreSection
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/
production-activity#InjectionWellTest
>
;
rdfs:
comment
"STEP 3014
2 Set the injected fluid type
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/
well#Fluid
>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#testedWellBoreInterval>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
[
sp:
varName
"wellTestInjectedFluid"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#PhysicalObject>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b18
]
[
sp:
object
_:
b19
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b18
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBoreSection>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b19
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
_:
b19
]
[
sp:
object
_:
b20
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#measuredDepthToTheTopOfAPartOfAWellBore>
;
sp:
subject
_:
b19
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b20
]
[
sp:
object
[
sp:
varName
"realMdTop"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleMdTop"
^^
xsd:
string
]
;
sp:
subject
_:
b20
]
[
sp:
object
_:
b21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/well#measuredDepthToTheBottomOfAPartOfAWellBore>
;
sp:
subject
_:
b19
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b21
]
[
sp:
object
[
sp:
varName
"realMdBase"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleMdBase"
^^
xsd:
string
[
sp:
varName
"injectedFluidType"
^^
xsd:
string
]
;
sp:
subject
_:
b21
]
[
sp:
object
_:
b22
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
_:
b19
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#SurroundingRockFormation>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b22
]
[
sp:
object
[
sp:
varName
"testedFormation"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b22
sp:
subject
[
sp:
varName
"wellTestInjectedFluid"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -1209,20 +1280,13 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
temporalPartOfAWellBore
"
^^
xsd:
string
[
sp:
varName
"
wellTestInjectedFluid
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#
onWellBore
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#
hasFlow
>
;
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
"temporalPartOfAWellBore"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#injectionTestRef>
;
...
...
@@ -1230,84 +1294,20 @@
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
testInterval
Ref"
^^
xsd:
string
[
sp:
varName
"
injectedFluid
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testInterval
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
injectedFluid
Ref>
;
sp:
subject
[
sp:
varName
"injectionTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"mdTopRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#mdTopRef>
;
sp:
subject
[
sp:
varName
"testIntervalRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realMdTop"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"mdTopRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomMdTop"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"mdTopRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"mdBaseRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#mdBaseRef>
;
sp:
subject
[
sp:
varName
"testIntervalRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realMdBase"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"mdBaseRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomMdBase"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"mdBaseRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testedFormation"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testedFormation>
;
sp:
subject
[
sp:
varName
"testIntervalRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomMdTop"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"lengthScaleMdTop"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomMdBase"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
selectInjectedFluidType
;
sp:
arg1
[
sp:
varName
"injectedFluidRef"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
lengthScaleMdBas
e"
^^
xsd:
string
[
sp:
varName
"
injectedFluidTyp
e"
^^
xsd:
string
]
])
]
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolume-v1.1.1.ttl
View file @
2846922
This diff could not be displayed because it is too large.
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolumeReport-v1.1.1.tbc
0 → 100644
View file @
2846922
# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
@prefix
forms:
<http://www.topbraid.org/2007/01/forms.owl#>
.
@prefix
inference:
<http://www.topbraid.org/2007/06/inference.owl#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
visual:
<http://topbraid.org/visual#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
composite:
index
"0"
^^
xsd:
int
]
.
www.reportinghub.no/ep/transform/TRANSFORM_dpr-productVolumeReport-v1.1.1.ttl
0 → 100644
View file @
2846922
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix
:
<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport#>
.
@prefix
afn:
<http://jena.hpl.hp.com/ARQ/function#>
.
@prefix
arg:
<http://spinrdf.org/arg#>
.
@prefix
ep-dpr-spin-lib:
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib#>
.
@prefix
ep-spin-lib:
<http://www.reportinghub.no/ep/spin/lib#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
rhspin:
<http://www.reportinghub.no/spin/rh#>
.
@prefix
smf:
<http://topbraid.org/sparqlmotionfunctions#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.witsml.org/schemas/131/addendum/combo>
,
<http://www.reportinghub.no/ep/schema/1.0/production-facility>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20006a Set the geographic context - installation or context facility exist"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt>
;
sp:
subject
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-core#PointInSpace>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"field"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#locatedWithin>
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"country"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#locatedWithin>
;
sp:
subject
_:
b1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/geography#Country>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"country"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"countryName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"country"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"state"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#locatedWithin>
;
sp:
subject
_:
b1
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/geography#State>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"state"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"stateName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"state"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"comment"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
comment
;
sp:
subject
_:
b1
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"fieldRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#fieldRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fieldName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"fieldRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"countryName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#country>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"stateName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#state>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"comment"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#comment>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"fieldName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedFieldName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
[
sp:
varName
"normalizedFieldName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"field"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"countryName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedCountryName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildCountryURI
;
sp:
arg1
[
sp:
varName
"normalizedCountryName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"country"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"stateName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedStateName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildStateURI
;
sp:
arg1
[
sp:
varName
"normalizedStateName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"state"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20006b Set the geographic context- installation or context facility do not exist"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt>
;
sp:
subject
_:
b3
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-core#PointInSpace>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"field"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#locatedWithin>
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"country"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#locatedWithin>
;
sp:
subject
[]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/geography#Country>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"country"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"countryName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"country"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"state"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#locatedWithin>
;
sp:
subject
_:
b4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/geography#State>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"state"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"stateName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"state"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"comment"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
comment
;
sp:
subject
_:
b4
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"fieldRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#fieldRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fieldName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"fieldRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"countryName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#country>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"stateName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#state>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"comment"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#comment>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"fieldName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedFieldName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
[
sp:
varName
"normalizedFieldName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"field"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"countryName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedCountryName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildCountryURI
;
sp:
arg1
[
sp:
varName
"normalizedCountryName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"country"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"stateName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedStateName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildStateURI
;
sp:
arg1
[
sp:
varName
"normalizedStateName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"state"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20002a Record the end date-time"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTimStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dTimEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimEnd>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20002b Record the end date"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"dateStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#startedAt>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dateEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dateEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#finishedAt>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dateStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimStart>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dateEnd"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#dTimEnd>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20008 Set the geographic context - offshore location - blockId"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"blockId"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#hasOffshoreBlockId>
;
sp:
subject
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"blockId"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#blockID>
;
sp:
subject
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt>
;
sp:
subject
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20001 Create the DailyProductVolumeReport, the DailyProductionFlow and the ProductionFlowToDate ."
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/production-report#DailyProductVolumeReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
[
sp:
varName
"dailyProductionReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
_:
b5
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b6
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-report#ReportType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
[
sp:
varName
"kind"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b6
]
[
sp:
object
[
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
_:
b5
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#DailyProductionFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b7
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionFlowToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"title"
^^
xsd:
string
]
;
sp:
predicate
<http://purl.org/dc/elements/1.1/title>
;
sp:
subject
_:
b5
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"dailyProductionReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"kind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kind>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"periodKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#periodKindRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"titleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#titleRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"title"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"titleRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductVolumeReportPeriodType
;
sp:
arg1
[
sp:
varName
"periodKindRef"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20007 Set the geographic context - offshore location"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"quadrant"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId>
;
sp:
subject
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"blockSuffix"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId>
;
sp:
subject
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"areaName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#hasAreaName>
;
sp:
subject
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"areaNameNorthSeaOffshore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName>
;
sp:
subject
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"commentOffshoreLocation"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment>
;
sp:
subject
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#geographicContextRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#offshoreLocationRef>
;
sp:
subject
[
sp:
varName
"geographicContextRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"northSeaOffshoreRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#northSeaOffshoreRef>
;
sp:
subject
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"quadrant"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#quadrant>
;
sp:
subject
[
sp:
varName
"northSeatOffshoreRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"areaNameNorthSeaOffshore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#areaName>
;
sp:
subject
[
sp:
varName
"northSeaOffshoreRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"blockSuffix"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#blockSuffix>
;
sp:
subject
[
sp:
varName
"northSeaOffshoreRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"areaName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#areaName>
;
sp:
subject
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"commentOffshoreLocation"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#comment>
;
sp:
subject
[
sp:
varName
"offshoreLocationRef"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"locationOfProductionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt>
;
sp:
subject
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20003 Set the installation"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b9
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b9
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacilityType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
_:
b9
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"installationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#installationRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"installationName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"installationRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"installationKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
[
sp:
varName
"installationRef"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"dailyProductionFlow"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"installationName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedInstallationName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
[
sp:
varName
"normalizedInstallationName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFacilityType
;
sp:
arg1
[
sp:
varName
"installationKind"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productionFacilityType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20004b Set the context facility - installation does not exist"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b11
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionContextFacilityType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"contextFacilityRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"contextFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"contextFacilityRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"contextFacilityKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
[
sp:
varName
"contextFacilityRef"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"contextFacilityName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedContextFacilityName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
[
sp:
varName
"normalizedContextFacilityName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFacilityType
;
sp:
arg1
[
sp:
varName
"contextFacilityKind"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productionContextFacilityType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 20004a Set the context facility - installation exists"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionContextFacilityType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"contextFacilityRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#contextFacilityRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"contextFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"contextFacilityRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"contextFacilityKind"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#kindRef>
;
sp:
subject
[
sp:
varName
"contextFacilityRef"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"contextFacilityName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedContextFacilityName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
buildProductionFacilityURI
;
sp:
arg1
[
sp:
varName
"normalizedContextFacilityName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productionContextFacility"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectProductionFacilityType
;
sp:
arg1
[
sp:
varName
"contextFacilityKind"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"productionContextFacilityType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 20005a Set the facility operator- installation or context facility exist
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "
operator
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "
productionFacility
"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "
productVolumeSet
"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef> ;
sp:subject
[ sp:varName "
productVolumeSet
"^^xsd:string
]
] [ sp:object
[ sp:varName "
operatorRef
"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
sp:subject
[ sp:varName "
productVolumeRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
operatorName
"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject
[ sp:varName "
operatorRef
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productVolumeRef
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "
productionFlowToDate
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productionFlowToDate
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^xsd:string
]
] [ sp:object
[ sp:varName "
productionFacility
"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "
productionFacilityToDate
"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "
operatorName
"^^xsd:string
]
] ;
sp:variable
[ sp:varName "
normalizedOperatorName
"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "
normalizedOperatorName
"^^xsd:string
]
] ;
sp:variable
[ sp:varName "
operator
"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """
STEP
20005
b
Set
the
facility
operator-
installation
or
context
facility
do
not
exist
role
is
ignored,
because
it
is
implicitly
\
"operator\""""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b13
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
_:
b12
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
]
[
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
_:
b12
]
[
sp:
object
[
sp:
varName
"operator"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/facility#facilityOperator>
;
sp:
subject
_:
b13
])
;
sp:
where
([
sp:
object
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeSetRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productVolumeRef>
;
sp:
subject
[
sp:
varName
"productVolumeSet"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"operatorRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#operatorRef>
;
sp:
subject
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"operatorName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
[
sp:
varName
"operatorRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productVolumeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"productionFlowToDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionFacility"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"productionFacilityToDate"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"operatorName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"normalizedOperatorName"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
rhspin:
companyById
;
arg:
id
[
sp:
varName
"normalizedOperatorName"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"operator"
^^
xsd:
string
]
])
]
.
Please
register
or
login
to post a comment