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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
575 additions
and
372 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,28 +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 3010
8 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>
;
rdfs:
comment
"STEP 3010
6 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
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
]
[
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"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
[
sp:
varName
"real
ShutInPressure
"
^^
xsd:
string
[
sp:
varName
"real
Duration
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
shutInPressure
Scale"
^^
xsd:
string
[
sp:
varName
"
duration
Scale"
^^
xsd:
string
]
;
sp:
subject
_:
b
1
sp:
subject
_:
b
2
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -105,80 +118,62 @@
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testDurationRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadData
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDuration
Ref>
;
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:
varName
"realDuration"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"shutInPressure
Ref"
^^
xsd:
string
[
sp:
varName
"testDuration
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomShutInPressure
"
^^
xsd:
string
[
sp:
varName
"uomDuration
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"shutInPressure
Ref"
^^
xsd:
string
[
sp:
varName
"testDuration
Ref"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
Pressure
Scale
;
sp:
arg1
[
sp:
varName
"uom
ShutInPressure
"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
Duration
Scale
;
sp:
arg1
[
sp:
varName
"uom
Duration
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
ShutInPressure
Scale"
^^
xsd:
string
[
sp:
varName
"
duration
Scale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 301
11 Transfer separator pressure and temperatur
e"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
flow#hasNetworkPart
>
;
rdfs:
comment
"STEP 301
07 Transfer well head data - choke orifice siz
e"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b
3
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
activity#hasWellTestChoke
>
;
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:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/equipment#WellTestChoke>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
]
[
sp:
object
[
sp:
varName
"realSeparatorPressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScaleSeparator"
^^
xsd:
string
]
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#
Temperature
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize>
;
sp:
subject
_:
b
3
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#
Length
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"real
SeparatorTemperatur
e"
^^
xsd:
string
[
sp:
varName
"real
ChokeOrificeSiz
e"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
temperatureScaleSeparator
"
^^
xsd:
string
[
sp:
varName
"
lengthScaleChokeOrificeSize
"
^^
xsd:
string
]
;
sp:
subject
_:
b4
])
;
...
...
@@ -237,13 +232,6 @@
[
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>
;
...
...
@@ -251,102 +239,60 @@
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
separator
DataRef"
^^
xsd:
string
[
sp:
varName
"
wellhead
DataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
separator
DataRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
wellhead
DataRef>
;
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
"separatorTemperatureRef"
^^
xsd:
string
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#separatorTemperatur
eRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#chokeOrificeSiz
eRef>
;
sp:
subject
[
sp:
varName
"separator
DataRef"
^^
xsd:
string
[
sp:
varName
"wellhead
DataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realSeparatorTemperatur
e"
^^
xsd:
string
[
sp:
varName
"realChokeOrificeSiz
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"separatorTemperatur
eRef"
^^
xsd:
string
[
sp:
varName
"chokeOrificeSiz
eRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomSeparatorTemperatur
e"
^^
xsd:
string
[
sp:
varName
"uomChokeOrificeSiz
e"
^^
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:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomSeparatorPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleSeparator"
^^
xsd:
string
[
sp:
varName
"chokeOrificeSizeRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
select
Temperature
Scale
;
sp:
arg1
[
sp:
varName
"uom
SeparatorTemperatur
e"
^^
xsd:
string
[
rdf:
type
ep-dpr-spin-lib:
select
Length
Scale
;
sp:
arg1
[
sp:
varName
"uom
ChokeOrificeSiz
e"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
temperatureScaleSeparator
"
^^
xsd:
string
[
sp:
varName
"
lengthScaleChokeOrificeSize
"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3010
7 Transfer well head data - choke orifice size
"
^^
xsd:
string
;
rdfs:
comment
"STEP 3010
4 Set previous valid test
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
activity#hasWellTestChoke
>
;
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:
object
<http://www.reportinghub.no/ep/schema/
activity#WellTest
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize>
;
sp:
subject
_:
b5
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
[
sp:
varName
"realChokeOrificeSize"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"lengthScaleChokeOrificeSize"
^^
xsd:
string
[
sp:
varName
"lastValidTest"
^^
xsd:
string
]
;
sp:
subject
_:
b6
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b5
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -403,48 +349,91 @@
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionTestRef
"
^^
xsd:
string
[
sp:
varName
"
lastValidTest
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
productionTestRef
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
lastValidTest
>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30102 Classify the well test activity"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b6
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTestType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
[
sp:
varName
"
wellheadDataRef
"
^^
xsd:
string
[
sp:
varName
"
testTypeName
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadDataRef>
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b6
])
;
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
"
productionTes
tRef"
^^
xsd:
string
[
sp:
varName
"
wellSe
tRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
chokeOrificeSize
Ref"
^^
xsd:
string
[
sp:
varName
"
wellboreSet
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
chokeOrificeSize
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
wellboreSet
Ref>
;
sp:
subject
[
sp:
varName
"well
headData
Ref"
^^
xsd:
string
[
sp:
varName
"wellRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
realChokeOrificeSize
"
^^
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
"
chokeOrificeSize
Ref"
^^
xsd:
string
[
sp:
varName
"
wellboreSet
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
uomChokeOrificeSiz
e"
^^
xsd:
string
[
sp:
varName
"
nameWellBor
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
uomRef
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
name
>
;
sp:
subject
[
sp:
varName
"
chokeOrificeSiz
eRef"
^^
xsd:
string
[
sp:
varName
"
wellbor
eRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomChokeOrificeSize"
^^
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:
variable
[
sp:
varName
"lengthScaleChokeOrificeSize"
^^
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
"testTypeName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testType>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
])
]
;
...
...
@@ -641,77 +630,48 @@
]
;
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>
;
rdfs:
comment
"STEP 30130 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
_:
b10
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasPart>
;
sp:
subject
[
sp:
varName
"
dailyProductionActivity
"
^^
xsd:
string
[
sp:
varName
"
wellTest
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"testDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b10
]
[
sp:
object
]
[
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasSpatialPart>
;
sp:
subject
[
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:
object
<http://www.reportinghub.no/ep/schema/well#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#derivedFrom>
;
]
[
sp:
object
_:
b11
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-well#depthOfFluidSurfaceFromTopOfWell>
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
]
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Length>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
])
;
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:
subject
_:
b11
]
[
sp:
object
[
sp:
varName
"
docNameStruct
"
^^
xsd:
string
[
sp:
varName
"
realDepth
"
^^
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
[
sp:
varName
"lengthScaleDepth"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"docNameStruct"
^^
xsd:
string
]
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
[
sp:
varName
"
docDate
"
^^
xsd:
string
[
sp:
varName
"
realBaseUsableWater
"
^^
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
[
sp:
varName
"lengthScaleBaseUsableWater"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"epDailyProdRep"
^^
xsd:
string
]
]
[
sp:
object
sp:
subject
_:
b12
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellSetRef>
;
...
...
@@ -759,88 +719,138 @@ 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
"wellBore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidLevelTestRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#fluidLevelTestRef>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
testDate
"
^^
xsd:
string
[
sp:
varName
"
fluidLevelRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testDate
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
fluidLevelRef
>
;
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
[
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
"
testReason
"
^^
xsd:
string
[
sp:
varName
"
baseUsableWaterRef
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
testReason
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
baseUsableWater
Ref>
;
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:
varName
"fluidLevelTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realBaseUsableWater"
^^
xsd:
string
]
;
sp:
arg2
"$"
;
sp:
arg3
[
sp:
varName
"docDate"
^^
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:
variable
[
sp:
varName
"epDailyProdRep"
^^
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-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
]
]
[
rdf:
type
ep-dpr-spin-lib:
selectLengthScale
;
sp:
arg1
[
sp:
varName
"uomDepth"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
wellBore
"
^^
xsd:
string
[
sp:
varName
"
lengthScaleDepth
"
^^
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
"
uomBaseUsableWater
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
wellTestReasonType
"
^^
xsd:
string
[
sp:
varName
"
lengthScaleBaseUsableWater
"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 3010
2 Classify the well test activity
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
1
;
sp:
predicate
rdf:
type
;
rdfs:
comment
"STEP 3010
9 Transfer well head data - temperature and flowing pressure
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
3
;
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/
activity#WellTestType
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/
flow#ProductionTestWellHeadFlow
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b11
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
"
testTypeNam
e"
^^
xsd:
string
[
sp:
varName
"
realFlowingPressur
e"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
_:
b11
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
...
...
@@ -897,51 +907,129 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
testTypeName
"
^^
xsd:
string
[
sp:
varName
"
productionTestFlow
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testType>
;
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
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#flowingPressureRef>
;
sp:
subject
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"flowingPressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomFlowingPressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"flowingPressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"temperatureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#temperatureRef>
;
sp:
subject
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realWellheadTemperature"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"temperatureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomWellheadTemperature"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"temperatureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uomFlowingPressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScaleFlowing"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectTemperatureScale
;
sp:
arg1
[
sp:
varName
"uomWellheadTemperature"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"temperatureScaleWellhead"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 301
09 Transfer well head data - temperature and flowing press
ure"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
2
;
rdfs:
comment
"STEP 301
11 Transfer separator pressure and temperat
ure"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
6
;
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#ProductionTest
WellHead
Flow>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#ProductionTest
Separator
Flow>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
2
]
[
sp:
object
_:
b1
3
;
sp:
subject
_:
b1
6
]
[
sp:
object
_:
b1
7
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
2
sp:
subject
_:
b1
6
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
3
sp:
subject
_:
b1
7
]
[
sp:
object
[
sp:
varName
"real
Flowing
Pressure"
^^
xsd:
string
[
sp:
varName
"real
Separator
Pressure"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"pressureScale
Flowing
"
^^
xsd:
string
[
sp:
varName
"pressureScale
Separator
"
^^
xsd:
string
]
;
sp:
subject
_:
b1
3
]
[
sp:
object
_:
b1
4
;
sp:
subject
_:
b1
7
]
[
sp:
object
_:
b1
8
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
2
sp:
subject
_:
b1
6
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Temperature>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
]
[
sp:
object
[
sp:
varName
"real
Wellhead
Temperature"
^^
xsd:
string
[
sp:
varName
"real
Separator
Temperature"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"temperatureScale
Wellhead
"
^^
xsd:
string
[
sp:
varName
"temperatureScale
Separator
"
^^
xsd:
string
]
;
sp:
subject
_:
b1
4
sp:
subject
_:
b1
8
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -1012,109 +1100,96 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
wellhead
DataRef"
^^
xsd:
string
[
sp:
varName
"
separator
DataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
wellhead
DataRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
separator
DataRef>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
flowing
PressureRef"
^^
xsd:
string
[
sp:
varName
"
separator
PressureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
flowing
PressureRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
separator
PressureRef>
;
sp:
subject
[
sp:
varName
"
wellhead
DataRef"
^^
xsd:
string
[
sp:
varName
"
separator
DataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"real
Flowing
Pressure"
^^
xsd:
string
[
sp:
varName
"real
Separator
Pressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"
flowing
PressureRef"
^^
xsd:
string
[
sp:
varName
"
separator
PressureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uom
Flowing
Pressure"
^^
xsd:
string
[
sp:
varName
"uom
Separator
Pressure"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"
flowing
PressureRef"
^^
xsd:
string
[
sp:
varName
"
separator
PressureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"
t
emperatureRef"
^^
xsd:
string
[
sp:
varName
"
separatorT
emperatureRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
t
emperatureRef>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#
separatorT
emperatureRef>
;
sp:
subject
[
sp:
varName
"
wellhead
DataRef"
^^
xsd:
string
[
sp:
varName
"
separator
DataRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"real
Wellhead
Temperature"
^^
xsd:
string
[
sp:
varName
"real
Separator
Temperature"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"
t
emperatureRef"
^^
xsd:
string
[
sp:
varName
"
separatorT
emperatureRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uom
Wellhead
Temperature"
^^
xsd:
string
[
sp:
varName
"uom
Separator
Temperature"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"
t
emperatureRef"
^^
xsd:
string
[
sp:
varName
"
separatorT
emperatureRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectPressureScale
;
sp:
arg1
[
sp:
varName
"uom
Flowing
Pressure"
^^
xsd:
string
sp:
arg1
[
sp:
varName
"uom
Separator
Pressure"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pressureScale
Flowing
"
^^
xsd:
string
[
sp:
varName
"pressureScale
Separator
"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-dpr-spin-lib:
selectTemperatureScale
;
sp:
arg1
[
sp:
varName
"uom
Wellhead
Temperature"
^^
xsd:
string
sp:
arg1
[
sp:
varName
"uom
Separator
Temperature"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"temperatureScale
Wellhead
"
^^
xsd:
string
[
sp:
varName
"temperatureScale
Separator
"
^^
xsd:
string
]
])
]
;
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>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b15
]
[
sp:
object
_:
b16
;
sp:
predicate
rdf:
type
;
rdfs:
comment
"STEP 30108 Transfer well head data - shut in pressure"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b19
;
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#
TimeDuration
>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#
Pressure
>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
6
sp:
subject
_:
b1
9
]
[
sp:
object
[
sp:
varName
"real
Duration
"
^^
xsd:
string
[
sp:
varName
"real
ShutInPressure
"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"
duration
Scale"
^^
xsd:
string
[
sp:
varName
"
shutInPressure
Scale"
^^
xsd:
string
]
;
sp:
subject
_:
b1
6
sp:
subject
_:
b1
9
])
;
sp:
where
([
sp:
object
[
sp:
varName
"wellSetRef"
^^
xsd:
string
...
...
@@ -1177,58 +1252,118 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
sp:
subject
[
sp:
varName
"wellTestRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"testDurationRef"
^^
xsd:
string
]
[
sp:
object
[
sp:
varName
"wellheadDataRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDuration
Ref>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#wellheadData
Ref>
;
sp:
subject
[
sp:
varName
"productionTestRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realDuration"
^^
xsd:
string
[
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
"testDuration
Ref"
^^
xsd:
string
[
sp:
varName
"shutInPressure
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomDuration
"
^^
xsd:
string
[
sp:
varName
"uomShutInPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#uomRef>
;
sp:
subject
[
sp:
varName
"testDuration
Ref"
^^
xsd:
string
[
sp:
varName
"shutInPressure
Ref"
^^
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
ShutInPressure
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
duration
Scale"
^^
xsd:
string
[
sp:
varName
"
ShutInPressure
Scale"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 30104 Set previous valid test"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b17
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor>
;
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
"
wellTest
"
^^
xsd:
string
[
sp:
varName
"
dailyProductionActivity
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b17
]
[
sp:
object
[
sp:
varName
"
lastValidTest
"
^^
xsd:
string
[
sp:
varName
"
testDate
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b17
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>
;
...
...
@@ -1276,45 +1411,96 @@ The WellTest is part of the DailyProductionActivity, but there may not be a Prod
[
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.reportinghub.no/ep/schema/core#derivedFrom
>
;
sp:
predicate
<http://www.witsml.org/schemas/131/addendum/combo#testDate
>
;
sp:
subject
[
sp:
varName
"wellTest
"
^^
xsd:
string
[
sp:
varName
"wellTestRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"lastValidTest"
^^
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#lastValidTest
>
;
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