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-08 13:10:26 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7ddea9419acbf4f92360abc88843b15f067aa664
7ddea941
1 parent
4edfa66a
Added Fluid level test
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
704 additions
and
501 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-WELL-v1.0.ttl
www.reportinghub.no/ep/transform/TRANSFORM_dpr-wellTest-v1.1.1.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
View file @
7ddea94
...
...
@@ -34,7 +34,7 @@
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
rdf:
type
owl:
Class
;
rdfs:
label
"production well test"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#
ProductionActivity>
,
<http://www.reportinghub.no/ep/schema/activity#WellTest
>
.
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#
WellTest>
,
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity
>
.
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
.
...
...
@@ -49,7 +49,7 @@
rdfs:
range
<http://www.reportinghub.no/ep/schema/flow#Flow>
.
ep-core:
Mass
rdf:
type
rdfs:
Class
,
ep-core:
PropertySpace
;
rdf:
type
ep-core:
PropertySpace
,
rdfs:
Class
;
rdfs:
label
"mass"
^^
xsd:
string
;
rdfs:
subClassOf
ep-core:
MeasureOfAmountOfMaterial
.
...
...
@@ -90,13 +90,13 @@ ep-core:Mass
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/equipment#Equipment>
.
ep-prodact:
AdministerFirstAid
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
AirTrafficOperation
rdf:
type
owl:
Class
,
ep-prodact:
ProductionActivityType
;
rdf:
type
ep-prodact:
ProductionActivityType
,
owl:
Class
;
rdfs:
label
"air traffic operation"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodact:
TransportationActivity
,
ep-prodact:
PartOfProduc
tionActivity
.
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
,
ep-prodact:
Transporta
tionActivity
.
ep-prodact:
Alarm
rdf:
type
owl:
Class
;
...
...
@@ -115,49 +115,49 @@ ep-prodact:AmountOfSubstance
rdfs:
subClassOf
ep-core:
PhysicalObject
.
ep-prodact:
AnnualProductionActivity
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
.
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
ep-prodact:
AnnualProductionActivity
.
ep-prodact:
AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
,
ep-prodact:
ProductionOperationsActivity
.
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
ep-prodact:
ProductionOperationsActivity
,
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
.
ep-prodact:
AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
,
ep-prodact:
ProductionVolumeActivity
.
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
ep-prodact:
ProductionVolumeActivity
,
ep-prodact:
AnnualProductionActivityToEndOfReportingPeriod
.
ep-prodact:
CargoShipOperation
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
TransportationActivity
,
ep-prodact:
PartOfProduc
tionActivity
.
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
,
ep-prodact:
Transporta
tionActivity
.
ep-prodact:
ConstructionOperation
rdf:
type
owl:
Class
,
ep-prodact:
ProductionActivityType
;
rdf:
type
ep-prodact:
ProductionActivityType
,
owl:
Class
;
rdfs:
label
"construction operation"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
.
ep-prodact:
CumulativeProductionActivitySinceProductionBegan
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
.
ep-prodact:
DailyProductionOperationsActivity
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
,
ep-prodact:
ProductionOperationsActivity
.
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
ep-prodact:
ProductionOperationsActivity
,
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
.
ep-prodact:
DailyProductionVolumeActivity
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
,
ep-prodact:
ProductionVolumeActivity
.
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
ep-prodact:
ProductionVolumeActivity
,
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
.
ep-prodact:
Deviation
rdf:
type
owl:
Class
,
ep-prodact:
ProductionActivityType
;
rdf:
type
ep-prodact:
ProductionActivityType
,
owl:
Class
;
rdfs:
label
"deviation"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
.
ep-prodact:
DrillOrExcercise
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
Fire
...
...
@@ -176,6 +176,11 @@ ep-prodact:FlowLine-Production
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
FlowLine
.
ep-prodact:
FluidLevelTest
rdf:
type
owl:
Class
;
rdfs:
label
"fluid level test"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
,
<http://www.reportinghub.no/ep/schema/activity#WellTest>
.
ep-prodact:
FusionOfHSEActivitiesOverPeriod
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
FusionOfPartsOfProductionActivityOverPeriod
.
...
...
@@ -193,16 +198,16 @@ ep-prodact:Incident
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
InitialWellTest
rdf:
type
ep-prodact:
WellTestReasonType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
WellTestReasonType
;
rdfs:
label
"initial"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#WellTest>
.
ep-prodact:
Injury
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
IssueWorkPermit
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
JobObservation
...
...
@@ -222,20 +227,20 @@ ep-prodact:LostTimeIncident
rdfs:
subClassOf
ep-prodact:
Incident
.
ep-prodact:
MaintenanceActivity
rdf:
type
owl:
Class
,
ep-prodact:
ProductionActivityType
;
rdf:
type
ep-prodact:
ProductionActivityType
,
owl:
Class
;
rdfs:
label
"maintenance activity"
^^
xsd:
string
;
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
.
ep-prodact:
MarineOperation
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
TransportationActivity
,
ep-prodact:
PartOfProduc
tionActivity
.
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
,
ep-prodact:
Transporta
tionActivity
.
ep-prodact:
MedicalTreatmentInjury
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
Injury
.
ep-prodact:
MonthlyProductionActivityToEndOfReportingPeriod
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity>
.
ep-prodact:
NearMiss
...
...
@@ -247,7 +252,7 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:
subClassOf
ep-prodact:
PartOfProductionActivity
.
ep-prodact:
OtherReasonWellTest
rdf:
type
ep-prodact:
WellTestReasonType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
WellTestReasonType
;
rdfs:
label
"other"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#WellTest>
.
...
...
@@ -262,17 +267,17 @@ ep-prodact:Participation
rdfs:
subPropertyOf
ep-prodact:
involvement
.
ep-prodact:
PeriodicWellTest
rdf:
type
ep-prodact:
WellTestReasonType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
WellTestReasonType
;
rdfs:
label
"periodic"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#WellTest>
.
ep-prodact:
PowerStationFailure
rdf:
type
owl:
Class
,
ep-prodact:
ProductionActivityType
;
rdf:
type
ep-prodact:
ProductionActivityType
,
owl:
Class
;
rdfs:
label
"power station failure"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#Activity>
.
ep-prodact:
ProductionActivityLastingLessThanAYear
rdf:
type
ep-prodact:
ProductionOperationClassByDuration
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
ProductionOperationClassByDuration
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
.
ep-prodact:
ProductionActivityType
...
...
@@ -285,7 +290,7 @@ ep-prodact:ProductionOperationClassByDuration
rdfs:
subClassOf
owl:
Class
.
ep-prodact:
ProductionOperationsActivity
rdf:
type
owl:
Class
,
ep-prodact:
ProductionActivityType
;
rdf:
type
ep-prodact:
ProductionActivityType
,
owl:
Class
;
rdfs:
label
"production operations activity"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
.
...
...
@@ -298,7 +303,7 @@ ep-prodact:ReleasedToWater
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
ReportHazard
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
RestrictedWork
...
...
@@ -306,11 +311,11 @@ ep-prodact:RestrictedWork
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
RestrictedWorkInjury
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
Injury
.
ep-prodact:
RevisionWellTest
rdf:
type
ep-prodact:
WellTestReasonType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
WellTestReasonType
;
rdfs:
label
"revision"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#WellTest>
.
...
...
@@ -319,7 +324,7 @@ ep-prodact:SafetyActivityType
rdfs:
subClassOf
owl:
Class
.
ep-prodact:
SafetyMeeting
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
SampleAmountOfSubstance
...
...
@@ -339,7 +344,7 @@ ep-prodact:SickOnBoard
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
SpillOrLeak
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
TransportationActivity
...
...
@@ -347,7 +352,7 @@ ep-prodact:TransportationActivity
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#Activity>
.
ep-prodact:
UnknownReasonWellTest
rdf:
type
ep-prodact:
WellTestReasonType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-prodact:
WellTestReasonType
;
rdfs:
label
"unknown"
^^
xsd:
string
;
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/activity#WellTest>
.
...
...
@@ -357,7 +362,7 @@ ep-prodact:WaterCleaningOperation
ep-prodact:
WaterSample
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
SampleAmountOfSubstance
,
<http://www.reportinghub.no/ep/schema/well#Water>
.
rdfs:
subClassOf
<http://www.reportinghub.no/ep/schema/well#Water>
,
ep-prodact:
SampleAmountOfSubstance
.
ep-prodact:
WellTestReasonType
rdf:
type
rdfs:
Class
;
...
...
@@ -365,11 +370,11 @@ ep-prodact:WellTestReasonType
rdfs:
subClassOf
owl:
Class
.
ep-prodact:
WorkingUnderPermit
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
HealthSafetyAndEnvironmentActivity
.
ep-prodact:
WorkingUnderPermitWithSJA
rdf:
type
owl:
Class
,
ep-prodact:
SafetyActivityType
;
rdf:
type
ep-prodact:
SafetyActivityType
,
owl:
Class
;
rdfs:
subClassOf
ep-prodact:
WorkingUnderPermit
.
ep-prodact:
ammoniumDensity
...
...
@@ -421,7 +426,7 @@ ep-prodact:hasPredecessor
rdfs:
range
<http://www.reportinghub.no/ep/schema/activity#Activity>
.
ep-prodact:
hasShutInPressure
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
FunctionalProperty
,
owl:
ObjectP
roperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
,
ep-core:
Class_of_indirect_p
roperty
;
rdfs:
domain
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
;
rdfs:
label
"has shut-in pressure"
^^
xsd:
string
;
rdfs:
range
ep-core:
Pressure
.
...
...
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-WELL-v1.0.ttl
View file @
7ddea94
...
...
@@ -20,28 +20,40 @@ ep-prodwell:NaturalGasClass
rdfs:
subClassOf
owl:
Class
.
ep-prodwell:
Sand
rdf:
type
owl:
Class
,
ep-well:
FluidComponentType
;
rdf:
type
ep-well:
FluidComponentType
,
owl:
Class
;
rdfs:
label
"sand"
^^
xsd:
string
;
rdfs:
subClassOf
ep-well:
Fluid
.
ep-prodwell:
basicSedimentAndWater
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
FunctionalProperty
,
owl:
ObjectP
roperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
,
ep-core:
Class_of_indirect_p
roperty
;
rdfs:
label
"basic sediment and water"
^^
xsd:
string
;
rdfs:
range
ep-core:
SpecificVolume
.
ep-prodwell:
condensateYield
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
,
ep-core:
Class_of_indirect_p
roperty
;
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
ObjectProperty
,
owl:
FunctionalP
roperty
;
rdfs:
label
"condensate yield"
^^
xsd:
string
;
rdfs:
range
ep-core:
SpecificVolume
.
ep-prodwell:
depthOfBaseUsableWaterFromSurface
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdfs:
domain
ep-well:
Fluid
;
rdfs:
label
"depth of base of usable water from surface"
^^
xsd:
string
;
rdfs:
range
ep-core:
Length
.
ep-prodwell:
depthOfFluidSurfaceFromTopOfWell
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
ObjectProperty
,
owl:
FunctionalProperty
;
rdfs:
domain
ep-well:
Fluid
;
rdfs:
label
"depth of fluid surface from top of well"
^^
xsd:
string
;
rdfs:
range
ep-core:
Length
.
ep-prodwell:
potentialGasProduction
rdf:
type
owl:
FunctionalProperty
,
owl:
ObjectProperty
,
ep-core:
Class_of_indirect_p
roperty
;
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
ObjectProperty
,
owl:
FunctionalP
roperty
;
rdfs:
domain
ep-well:
WellBore
;
rdfs:
label
"potential gas production"
^^
xsd:
string
;
rdfs:
range
ep-core:
VolumetricFlowRate
.
ep-prodwell:
potentialOilProduction
rdf:
type
ep-core:
Class_of_indirect_property
,
owl:
FunctionalProperty
,
owl:
ObjectP
roperty
;
rdf:
type
owl:
ObjectProperty
,
owl:
FunctionalProperty
,
ep-core:
Class_of_indirect_p
roperty
;
rdfs:
domain
ep-well:
WellBore
;
rdfs:
label
"potential oil production"
^^
xsd:
string
;
rdfs:
range
ep-core:
VolumetricFlowRate
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_dpr-wellTest-v1.1.1.ttl
View file @
7ddea94
...
...
@@ -21,166 +21,41 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest>
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 30108 Transfer well head data - shut in pressure"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#hasShutInPressure>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
rdfs:
comment
"STEP 30106 Classify as a Production test and set duration"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
]
[
sp:
object
[
sp:
varName
"realShutInPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"shutInPressureScale"
^^
xsd:
string
]
;
sp:
subject
_:
b1
])
;
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
"nameWellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
[
sp:
varName
"wellboreRef"
^^
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:
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
"productionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"shutInPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#shutInPressureRef>
;
sp:
subject
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realShutInPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"shutInPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomShutInPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
sp:
subject
[
sp:
varName
"shutInPressureRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomShutInPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"ShutInPressureScale"
^^
xsd:
string
[
sp:
varName
"wellTest"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30111 Transfer separator pressure and temperature"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasNetworkPart>
;
]
[
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
"
productionTestFlow
"
^^
xsd:
string
[
sp:
varName
"
wellTest
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionTestSeparatorFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
_:
b3
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"real
SeparatorPressure
"
^^
xsd:
string
[
sp:
varName
"real
Duration
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
pressureScaleSeparator
"
^^
xsd:
string
[
sp:
varName
"
durationScale
"
^^
xsd:
string
]
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"realSeparatorTemperature"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"temperatureScaleSeparator"
^^
xsd:
string
]
;
sp:
subject
_:
b4
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -237,116 +112,70 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionTestFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"separatorDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#separatorDataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"separatorPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#separatorPressureRef>
;
sp:
subject
[
sp:
varName
"separatorDataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realSeparatorPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"separatorPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomSeparatorPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"separatorPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
separatorTemperature
Ref"
^^
xsd:
string
[
sp:
varName
"
testDuration
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
separatorTemperature
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testDuration
Ref>
;
sp:
subject
[
sp:
varName
"
separatorData
Ref"
^^
xsd:
string
[
sp:
varName
"
productionTest
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"real
SeparatorTemperature
"
^^
xsd:
string
[
sp:
varName
"real
Duration
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"
separatorTemperature
Ref"
^^
xsd:
string
[
sp:
varName
"
testDuration
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uom
SeparatorTemperature
"
^^
xsd:
string
[
sp:
varName
"uom
Duration
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"
separatorTemperature
Ref"
^^
xsd:
string
[
sp:
varName
"
testDuration
Ref"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomSeparatorPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleSeparator"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectTemperatureScale
;
sp:
arg1
[
sp:
varName
"uomSeparatorTemperature"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
selectDurationScale
;
sp:
arg1
[
sp:
varName
"uomDuration"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
temperatureScaleSeparator
"
^^
xsd:
string
[
sp:
varName
"
durationScale
"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30107 Transfer well head data - choke orifice size"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
5
;
sp:
templates
([
sp:
object
_:
b
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/equipment#WellTestChoke>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
5
]
[
sp:
object
_:
b
6
;
sp:
subject
_:
b
3
]
[
sp:
object
_:
b
4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize>
;
sp:
subject
_:
b
5
sp:
subject
_:
b
3
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
6
sp:
subject
_:
b
4
]
[
sp:
object
[
sp:
varName
"realChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleChokeOrificeSize"
^^
xsd:
string
]
;
sp:
subject
_:
b
6
sp:
subject
_:
b
4
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -450,28 +279,20 @@
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3010
5 Set choke orifice size
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
activity#hasWellTestChoke
>
;
rdfs:
comment
"STEP 3010
4 Set previous valid test
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
production-activity#hasValidPredecessor
>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/equipment#WellTestChoke>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize>
;
sp:
subject
_:
b7
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
8
sp:
subject
_:
b
5
]
[
sp:
object
[
sp:
varName
"realChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleChokeOrificeSize"
^^
xsd:
string
[
sp:
varName
"lastValidTest"
^^
xsd:
string
]
;
sp:
subject
_:
b8
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b5
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -528,53 +349,30 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
chokeOrificeSizeRef
"
^^
xsd:
string
[
sp:
varName
"
lastValidTest
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
chokeOrificeSizeRef
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
lastValidTest
>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomChokeOrificeSize"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"lengthScaleChokeOrificeSize"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3010
3 Set previous test
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor>
;
rdfs:
comment
"STEP 3010
2 Classify the well test activity
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
6
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest
Type
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
9
sp:
subject
_:
b
6
]
[
sp:
object
[
sp:
varName
"
previousTestDat
e"
^^
xsd:
string
[
sp:
varName
"
testTypeNam
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b
9
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b
6
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -631,9 +429,9 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
previousTestDat
e"
^^
xsd:
string
[
sp:
varName
"
testTypeNam
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
previousTestDat
e>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testTyp
e>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
...
...
@@ -641,77 +439,30 @@
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 30101 Create WellTest activity - anonymous because there is no mandatory data about it
The name of the WellBore has \"-wellbore\" after it, so a temporary WellBore URI for now.
The WellTest is part of the DailyProductionActivity, but there may not be a ProductionOperations element."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
rdfs:
comment
"STEP 30105 Set choke orifice size"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke>
;
sp:
subject
[
sp:
varName
"
dailyProductionActivity
"
^^
xsd:
string
[
sp:
varName
"
wellTest
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/equipment#WellTestChoke>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize>
;
sp:
subject
_:
b7
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellBoreTestName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellTestRef"
^^
xsd:
string
[
sp:
varName
"realChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
sp:
predicate
[
sp:
varName
"lengthScaleChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
sp:
subject
_:
b8
])
;
sp:
where
([
sp:
object
[
sp:
varName
"docInfo"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"docNameStruct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#documentNameRef>
;
sp:
subject
[
sp:
varName
"docInfo"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"docName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"docNameStruct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"docDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#documentDate>
;
sp:
subject
[
sp:
varName
"docInfo"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dailyProductionActivity"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"epDailyProdRep"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellSetRef>
;
...
...
@@ -759,88 +510,60 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTestSetRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"well
BoreTestName
"
^^
xsd:
string
[
sp:
varName
"well
TestRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#chokeOrificeSizeRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDate>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testReason"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testReasonRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/dailyProductionReport/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"docName"
^^
xsd:
string
]
]
;
sp:
arg2
"$"
;
sp:
arg3
[
sp:
varName
"docDate"
^^
xsd:
string
]
]
]
[
sp:
object
[
sp:
varName
"realChokeOrificeSize"
^^
xsd:
string
]
;
sp:
variable
[
sp:
varName
"epDailyProdRep"
^^
xsd:
string
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/temporaryWellBoreURI/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"nameWellBore"
^^
xsd:
string
]
]
]
]
[
sp:
object
[
sp:
varName
"uomChokeOrificeSize"
^^
xsd:
string
]
;
sp:
variable
[
sp:
varName
"wellBore"
^^
xsd:
string
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
WellTestReasonTyp
e
;
sp:
arg1
[
sp:
varName
"
testReason
"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
LengthScal
e
;
sp:
arg1
[
sp:
varName
"
uomChokeOrificeSize
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
wellTestReasonTyp
e"
^^
xsd:
string
[
sp:
varName
"
lengthScaleChokeOrificeSiz
e"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3010
2 Classify the well test activity
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
11
;
sp:
predicate
rdf:
type
;
rdfs:
comment
"STEP 3010
3 Set previous test
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest
Type
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
11
sp:
subject
_:
b
9
]
[
sp:
object
[
sp:
varName
"
testTypeNam
e"
^^
xsd:
string
[
sp:
varName
"
previousTestDat
e"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b
11
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b
9
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -897,9 +620,9 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
testTypeNam
e"
^^
xsd:
string
[
sp:
varName
"
previousTestDat
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testTyp
e>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
previousTestDat
e>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
...
...
@@ -907,41 +630,46 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 301
09 Transfer well head data - temperature and flowing pressure
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasNetworkPart>
;
rdfs:
comment
"STEP 301
30 Classify as a FluidLevel test and set duration
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#FluidLevelTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
productionTestFlow
"
^^
xsd:
string
[
sp:
varName
"
wellTest
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionTestWellHeadFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
_:
b13
;
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
[
sp:
varName
"wellBore"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
subject
_:
b10
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-well#depthOfFluidSurfaceFromTopOfWell>
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
3
sp:
subject
_:
b1
1
]
[
sp:
object
[
sp:
varName
"real
FlowingPressure
"
^^
xsd:
string
[
sp:
varName
"real
Depth
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
pressureScaleFlowing
"
^^
xsd:
string
[
sp:
varName
"
lengthScaleDepth
"
^^
xsd:
string
]
;
sp:
subject
_:
b13
]
[
sp:
object
_:
b14
;
sp:
subject
_:
b11
]
[
sp:
object
_:
b12
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-well#depthOfBaseUsableWaterFromSurface>
;
sp:
subject
_:
b10
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b12
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b14
]
[
sp:
object
[
sp:
varName
"real
WellheadTemperature
"
^^
xsd:
string
[
sp:
varName
"real
BaseUsableWater
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
temperatureScaleWellhead
"
^^
xsd:
string
[
sp:
varName
"
lengthScaleBaseUsableWater
"
^^
xsd:
string
]
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
2
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -998,26 +726,207 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionTestFlow
"
^^
xsd:
string
[
sp:
varName
"
wellBore
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#
hasFlow
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#
onWellBore
>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
production
TestRef"
^^
xsd:
string
[
sp:
varName
"
fluidLevel
TestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
production
TestRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
fluidLevel
TestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"fluidLevelRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#fluidLevelRef>
;
sp:
subject
[
sp:
varName
"fluidLevelTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realDepth"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"fluidLevelRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomDepth"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"fluidLevelRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"baseUsableWaterRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#baseUsableWaterRef>
;
sp:
subject
[
sp:
varName
"fluidLevelTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realBaseUsableWater"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"baseUsableWaterRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomBaseUsableWater"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"baseUsableWaterRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testedBy"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testedBy>
;
sp:
subject
[
sp:
varName
"fluidLevelTestRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomDepth"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"lengthScaleDepth"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomBaseUsableWater"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"lengthScaleBaseUsableWater"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30109 Transfer well head data - temperature and flowing pressure"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b13
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasNetworkPart>
;
sp:
subject
[
sp:
varName
"productionTestFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionTestWellHeadFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
]
[
sp:
object
_:
b14
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b14
]
[
sp:
object
[
sp:
varName
"realFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleFlowing"
^^
xsd:
string
]
;
sp:
subject
_:
b14
]
[
sp:
object
_:
b15
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b13
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
[
sp:
varName
"realWellheadTemperature"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"temperatureScaleWellhead"
^^
xsd:
string
]
;
sp:
subject
_:
b15
])
;
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
"nameWellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
[
sp:
varName
"wellboreRef"
^^
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:
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
"productionTestFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"flowingPressureRef"
^^
xsd:
string
...
...
@@ -1086,35 +995,41 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30106 Classify as a Production test and set duration"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
_:
b15
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
rdfs:
comment
"STEP 30111 Transfer separator pressure and temperature"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b16
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasNetworkPart>
;
sp:
subject
[
sp:
varName
"
wellTest
"
^^
xsd:
string
[
sp:
varName
"
productionTestFlow
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b16
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionTestSeparatorFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b17
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
[
sp:
varName
"real
Duration
"
^^
xsd:
string
[
sp:
varName
"real
SeparatorPressure
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
durationScale
"
^^
xsd:
string
[
sp:
varName
"
pressureScaleSeparator
"
^^
xsd:
string
]
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b18
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b18
]
[
sp:
object
[
sp:
varName
"realSeparatorTemperature"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"temperatureScaleSeparator"
^^
xsd:
string
]
;
sp:
subject
_:
b18
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -1171,62 +1086,110 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionTestFlow"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#hasFlow>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"separatorDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#separatorDataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
testDuration
Ref"
^^
xsd:
string
[
sp:
varName
"
separatorPressure
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testDuration
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
separatorPressure
Ref>
;
sp:
subject
[
sp:
varName
"
productionTest
Ref"
^^
xsd:
string
[
sp:
varName
"
separatorData
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"real
Duration
"
^^
xsd:
string
[
sp:
varName
"real
SeparatorPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"
testDuration
Ref"
^^
xsd:
string
[
sp:
varName
"
separatorPressure
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uom
Duration
"
^^
xsd:
string
[
sp:
varName
"uom
SeparatorPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"testDurationRef"
^^
xsd:
string
[
sp:
varName
"separatorPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"separatorTemperatureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#separatorTemperatureRef>
;
sp:
subject
[
sp:
varName
"separatorDataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realSeparatorTemperature"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"separatorTemperatureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomSeparatorTemperature"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"separatorTemperatureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
Duration
Scale
;
sp:
arg1
[
sp:
varName
"uom
Duration
"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
Pressure
Scale
;
sp:
arg1
[
sp:
varName
"uom
SeparatorPressure
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"durationScale"
^^
xsd:
string
[
sp:
varName
"pressureScaleSeparator"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectTemperatureScale
;
sp:
arg1
[
sp:
varName
"uomSeparatorTemperature"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"temperatureScaleSeparator"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3010
4 Set previous valid test
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#has
ValidPredecessor
>
;
rdfs:
comment
"STEP 3010
8 Transfer well head data - shut in pressure
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#has
ShutInPressure
>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
activity#WellTest
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
core#Pressure
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
7
sp:
subject
_:
b1
9
]
[
sp:
object
[
sp:
varName
"
lastValidTest
"
^^
xsd:
string
[
sp:
varName
"
realShutInPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b17
sp:
predicate
[
sp:
varName
"shutInPressureScale"
^^
xsd:
string
]
;
sp:
subject
_:
b19
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -1283,38 +1246,261 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
lastValidTest
"
^^
xsd:
string
[
sp:
varName
"
productionTestRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#lastValidTest>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#productionTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"shutInPressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#shutInPressureRef>
;
sp:
subject
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realShutInPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"shutInPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomShutInPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"shutInPressureRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomShutInPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"ShutInPressureScale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 30101 Create WellTest activity - anonymous because there is no mandatory data about it
The name of the WellBore has \"-wellbore\" after it, so a temporary WellBore URI for now.
The WellTest is part of the DailyProductionActivity, but there may not be a ProductionOperations element."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b20
]
[
sp:
object
_:
b20
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"dailyProductionActivity"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b20
]
[
sp:
object
[
sp:
varName
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
_:
b20
]
[
sp:
object
[
sp:
varName
"wellBoreTestName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b20
]
[
sp:
object
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
sp:
subject
_:
b20
]
[
sp:
object
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b20
])
;
sp:
where
([
sp:
object
[
sp:
varName
"docInfo"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"docNameStruct"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#documentNameRef>
;
sp:
subject
[
sp:
varName
"docInfo"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"docName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"docNameStruct"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"docDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#documentDate>
;
sp:
subject
[
sp:
varName
"docInfo"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"dailyProductionActivity"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"epDailyProdRep"
^^
xsd:
string
]
]
[
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
"nameWellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
[
sp:
varName
"wellboreRef"
^^
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:
subject
[
sp:
varName
"wellTestSetRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellBoreTestName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#name>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDate>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testReason"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testReasonRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/dailyProductionReport/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"docName"
^^
xsd:
string
]
]
;
sp:
arg2
"$"
;
sp:
arg3
[
sp:
varName
"docDate"
^^
xsd:
string
]
]
]
;
sp:
variable
[
sp:
varName
"epDailyProdRep"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/temporaryWellBoreURI/"
;
sp:
arg2
[
rdf:
type
fn:
concat
;
sp:
arg1
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
[
sp:
varName
"nameWellBore"
^^
xsd:
string
]
]
]
]
;
sp:
variable
[
sp:
varName
"wellBore"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectWellTestReasonType
;
sp:
arg1
[
sp:
varName
"testReason"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30110 Transfer well head data - flow line pressure"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
18
;
sp:
templates
([
sp:
object
_:
b
21
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/flow#hasNetworkPart>
;
sp:
subject
[
sp:
varName
"productionTestFlow"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionTestFlowLineFlow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
18
]
[
sp:
object
_:
b
19
;
sp:
subject
_:
b
21
]
[
sp:
object
_:
b
22
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
18
sp:
subject
_:
b
21
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
19
sp:
subject
_:
b
22
]
[
sp:
object
[
sp:
varName
"realFlowLinePressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleFlowLine"
^^
xsd:
string
]
;
sp:
subject
_:
b
19
sp:
subject
_:
b
22
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
Please
register
or
login
to post a comment