David Leal

Fixed the missing "fixed" flag in the DDR header, and the missing DullGrade in the bitRecord table.

# Saved by TopBraid on Thu Dec 22 16:22:25 GMT 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.linkedmodel.org/1.1/schema/ordered
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.linkedmodel.org/1.1/schema/ordered
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ep-activity: <http://www.reportinghub.no/ep/schema/activity#> .
......@@ -18,7 +17,7 @@
<http://www.reportinghub.no/ep/schema/1.0/activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:versionInfo "0.1.0"^^xsd:string .
ep-activity:Activity
......@@ -27,33 +26,33 @@ ep-activity:Activity
rdfs:subClassOf ep-core:PhysicalThing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#before>
owl:onProperty <http://www.linkedmodel.org/schema/ordered#after>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:startedAt
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#during>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:finishedAt
] .
ep-activity:ActivitySuccessType
......@@ -67,13 +66,13 @@ ep-activity:DailyDrillingActivity
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty ep-core:hasPart
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -82,13 +81,13 @@ ep-activity:DailyDrillingActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty ep-core:hasPart
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] .
ep-activity:DailyDrillingActivityToStatus
......@@ -97,13 +96,13 @@ ep-activity:DailyDrillingActivityToStatus
rdfs:subClassOf ep-activity:DrillingActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty ep-core:hasPart
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -112,23 +111,13 @@ ep-activity:DailyDrillingActivityToStatus
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#AllOrPartOfTheLifeOfAWellBore> ;
owl:onProperty ep-activity:onWellBore
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DrillingActivity ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#last>
] .
ep-activity:DailyProductionActivity
rdf:type owl:Class ;
rdfs:label "Daily production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/production-activity#ProductionActivityLastingLessThanAYear> ;
owl:onProperty <http://www.linkedmodel.org/schema/ordered#first>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:ProductionActivity ;
owl:onProperty ep-activity:hasSubActivity
owl:allValuesFrom ep-activity:Activity ;
owl:onProperty ep-core:hasPart
] .
ep-activity:Drill-bypass
......@@ -162,7 +151,7 @@ ep-activity:Drill-sidetrack
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillStemTest
rdf:type ep-activity:WellTestType , owl:Class ;
rdf:type owl:Class , ep-activity:WellTestType ;
rdfs:label "drill stem test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellTest ;
dc:description "A test to determine the productive capacity, pressure, permeability or extent (or a combination of these) of a hydrocarbon reservoir, with the drillstring still in the hole."^^xsd:string ;
......@@ -174,72 +163,72 @@ ep-activity:DrillingActivity
rdfs:subClassOf ep-activity:Activity .
ep-activity:DrillingActivity-bop_test
rdf:type ep-activity:DrillingActivityTypeAccordingToEquipmentType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityTypeAccordingToEquipmentType ;
rdfs:label "drilling activity - BOP test"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-circulation_loss
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - circulation loss"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-coiled_tubing
rdf:type ep-activity:DrillingActivityTypeAccordingToEquipmentType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityTypeAccordingToEquipmentType ;
rdfs:label "drilling activity - coiled tubing"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-equipment_failure
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - equipment failure"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-equipment_hang
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - equipment hang"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-fixed_equipment
rdf:type ep-activity:DrillingActivityTypeAccordingToEquipmentType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityTypeAccordingToEquipmentType ;
rdfs:label "drilling activity - fixed equipment"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-injury
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity- injury"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-kick
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - operation kick"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-mud_loss
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - mud loss"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-operation_failed
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - operation failed"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-snubbing
rdf:type ep-activity:DrillingActivityTypeAccordingToEquipmentType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityTypeAccordingToEquipmentType ;
rdfs:label "drilling activity - snubbing"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-stuck_equipment
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - stuck equipment"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-success
rdf:type ep-activity:DrillingActivityOutcomeType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityOutcomeType ;
rdfs:label "drilling activity - success"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
ep-activity:DrillingActivity-wire_line
rdf:type ep-activity:DrillingActivityTypeAccordingToEquipmentType , owl:Class ;
rdf:type owl:Class , ep-activity:DrillingActivityTypeAccordingToEquipmentType ;
rdfs:label "drilling activity - wireline"^^xsd:string ;
rdfs:subClassOf ep-activity:DrillingActivity .
......@@ -264,7 +253,7 @@ ep-activity:ExtractAWellCore
rdfs:subClassOf ep-activity:WellOperation .
ep-activity:FailedActivity
rdf:type ep-activity:ActivitySuccessType , owl:Class ;
rdf:type owl:Class , ep-activity:ActivitySuccessType ;
rdfs:label "failed activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity ;
owl:disjointWith ep-activity:SuccessfulActivity .
......@@ -275,7 +264,7 @@ ep-activity:FluidReading
rdfs:subClassOf ep-activity:Activity .
ep-activity:FormationIntegrityTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "formation integrity test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:LeakOffTest .
......@@ -345,7 +334,7 @@ ep-activity:GasReadingType
rdfs:subClassOf owl:Class .
ep-activity:LeakOffTest
rdf:type ep-activity:PressureTestType , owl:Class ;
rdf:type owl:Class , ep-activity:PressureTestType ;
rdfs:label "leak-off test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellBorePressureTest ;
owl:disjointWith ep-activity:FormationIntegrityTest .
......@@ -365,16 +354,6 @@ ep-activity:MonthlyDrillingActivity
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:MonthlyProductionActivity
rdf:type owl:Class ;
rdfs:label "Monthly production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/production-activity#ProductionActivityLastingLessThanAYear> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:WeeklyProductionActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:OffshoreActivity
rdf:type owl:Class ;
rdfs:label "Offshore activity"^^xsd:string ;
......@@ -386,7 +365,7 @@ ep-activity:OffshoreWellActivity
rdfs:subClassOf ep-activity:OffshoreActivity ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:onProperty ep-activity:onWell
] ;
rdfs:subClassOf
......@@ -396,7 +375,7 @@ ep-activity:OffshoreWellActivity
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom <http://www.reportinghub.no/ep/schema/well#Well> ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty ep-activity:onWell
] .
......@@ -416,13 +395,13 @@ ep-activity:PorePressureDeterminationType
rdfs:subClassOf owl:Class .
ep-activity:PorePressureEstimation
rdf:type ep-activity:PorePressureDeterminationType , owl:Class ;
rdf:type owl:Class , ep-activity:PorePressureDeterminationType ;
rdfs:label "pore pressure estimation"^^xsd:string ;
rdfs:subClassOf ep-activity:PorePressureDetermination ;
owl:disjointWith ep-activity:PorePressureMeasurement .
ep-activity:PorePressureMeasurement
rdf:type ep-activity:PorePressureDeterminationType , owl:Class ;
rdf:type owl:Class , ep-activity:PorePressureDeterminationType ;
rdfs:label "pore pressure measurement"^^xsd:string ;
rdfs:subClassOf ep-activity:PorePressureDetermination ;
owl:disjointWith ep-activity:PorePressureEstimation .
......@@ -443,14 +422,14 @@ ep-activity:ProductionActivity
rdfs:subClassOf ep-activity:Activity .
ep-activity:ProductionTest
rdf:type ep-activity:WellTestType , owl:Class ;
rdf:type owl:Class , ep-activity:WellTestType ;
rdfs:label "production test"^^xsd:string ;
rdfs:subClassOf ep-activity:WellTest ;
dc:description "A test to determine the daily rate of oil, gas, and water production from a (potential) reservoir."^^xsd:string ;
owl:disjointWith ep-activity:DrillStemTest .
ep-activity:SuccessfulActivity
rdf:type ep-activity:ActivitySuccessType , owl:Class ;
rdf:type owl:Class , ep-activity:ActivitySuccessType ;
rdfs:label "successful activity"^^xsd:string ;
rdfs:subClassOf ep-activity:Activity ;
owl:disjointWith ep-activity:FailedActivity .
......@@ -465,16 +444,6 @@ ep-activity:WeeklyDrillingActivity
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:WeeklyProductionActivity
rdf:type owl:Class ;
rdfs:label "Weekly production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/production-activity#ProductionActivityLastingLessThanAYear> ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom ep-activity:DailyProductionActivity ;
owl:onProperty ep-activity:hasSubActivity
] .
ep-activity:WellBoreBitOperation-withinReportingPeriod
rdf:type owl:Class ;
rdfs:comment "the parts of the runs for a single drill bit that are within a reporting period"^^xsd:string ;
......@@ -525,23 +494,23 @@ ep-activity:WellCementJob
rdfs:subClassOf ep-activity:WellOperation .
ep-activity:WellCementJob-other
rdf:type ep-activity:WellCementJobPurposeType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobPurposeType ;
rdfs:label "well cement job other"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJob-plug , ep-activity:WellCementJob-primary , ep-activity:WellCementJob-squeeze .
owl:disjointWith ep-activity:WellCementJob-squeeze , ep-activity:WellCementJob-primary , ep-activity:WellCementJob-plug .
ep-activity:WellCementJob-plug
rdf:type ep-activity:WellCementJobPurposeType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobPurposeType ;
rdfs:label "well cement job plug"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob .
ep-activity:WellCementJob-primary
rdf:type ep-activity:WellCementJobPurposeType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobPurposeType ;
rdfs:label "well cement job primary"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob .
ep-activity:WellCementJob-squeeze
rdf:type ep-activity:WellCementJobPurposeType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobPurposeType ;
rdfs:label "well cement job squeeze"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob .
......@@ -586,73 +555,73 @@ ep-activity:WellCementJobTopPlugType
rdfs:subClassOf owl:Class .
ep-activity:WellCementJobWithBottomPlug
rdf:type ep-activity:WellCementJobBottomPlugType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobBottomPlugType ;
rdfs:label "well cement job with bottom plug"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithoutBottomPlug .
ep-activity:WellCementJobWithCasingReciprocation
rdf:type ep-activity:WellCementJobCasingReciprocationType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobCasingReciprocationType ;
rdfs:label "well cement job with casing reciprocation"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithoutCasingReciprocation .
ep-activity:WellCementJobWithCasingRotation
rdf:type ep-activity:WellCementJobCasingRotationType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobCasingRotationType ;
rdfs:label "well cement job with casing rotation"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithoutTopPlug .
ep-activity:WellCementJobWithFloatHolding
rdf:type ep-activity:WellCementJobFloatHoldingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobFloatHoldingType ;
rdfs:label "well cement job with float holding"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithoutFloatHolding .
ep-activity:WellCementJobWithPlugBumping
rdf:type ep-activity:WellCementJobPlugBumpingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobPlugBumpingType ;
rdfs:label "well cement job with plug bumping"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithoutBottomPlug .
ep-activity:WellCementJobWithTopPlug
rdf:type ep-activity:WellCementJobTopPlugType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobTopPlugType ;
rdfs:label "well cement job with top plug"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithoutTopPlug .
ep-activity:WellCementJobWithoutBottomPlug
rdf:type ep-activity:WellCementJobBottomPlugType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobBottomPlugType ;
rdfs:label "well cement job without bottom plug"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithBottomPlug .
ep-activity:WellCementJobWithoutCasingReciprocation
rdf:type ep-activity:WellCementJobCasingReciprocationType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobCasingReciprocationType ;
rdfs:label "well cement job without casing reciprocation"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithCasingRotation .
ep-activity:WellCementJobWithoutCasingRotation
rdf:type ep-activity:WellCementJobCasingRotationType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobCasingRotationType ;
rdfs:label "well cement job without casing rotation"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithCasingRotation .
ep-activity:WellCementJobWithoutFloatHolding
rdf:type ep-activity:WellCementJobFloatHoldingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobFloatHoldingType ;
rdfs:label "well cement job without float holding"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithFloatHolding .
ep-activity:WellCementJobWithoutPlugBumping
rdf:type ep-activity:WellCementJobPlugBumpingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobPlugBumpingType ;
rdfs:label "well cement job without plug bumping"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithBottomPlug .
ep-activity:WellCementJobWithoutTopPlug
rdf:type ep-activity:WellCementJobTopPlugType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementJobTopPlugType ;
rdfs:label "well cement job without top plug"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementJob ;
owl:disjointWith ep-activity:WellCementJobWithTopPlug .
......@@ -668,13 +637,13 @@ ep-activity:WellCementPumpingFluidReturnType
rdfs:subClassOf owl:Class .
ep-activity:WellCementPumpingWithFluidReturn
rdf:type ep-activity:WellCementPumpingFluidReturnType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementPumpingFluidReturnType ;
rdfs:label "well cement pumping with fluid return"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementPumping ;
owl:disjointWith ep-activity:WellCementPumpingWithoutFluidReturn .
ep-activity:WellCementPumpingWithoutFluidReturn
rdf:type ep-activity:WellCementPumpingFluidReturnType , owl:Class ;
rdf:type owl:Class , ep-activity:WellCementPumpingFluidReturnType ;
rdfs:label "well cement pumping without fluid return"^^xsd:string ;
rdfs:subClassOf ep-activity:WellCementPumping ;
owl:disjointWith ep-activity:WellCementPumpingWithFluidReturn .
......@@ -690,28 +659,28 @@ ep-activity:WellControlIncident
rdfs:subClassOf ep-activity:WellOperation .
ep-activity:WellControlIncident-gas_kick
rdf:type ep-activity:WellControlIncidentType , owl:Class ;
rdf:type owl:Class , ep-activity:WellControlIncidentType ;
rdfs:label "well control incident gas kick"^^xsd:string ;
rdfs:subClassOf ep-activity:WellControlIncident ;
owl:disjointWith ep-activity:WellControlIncident-oil_kick , ep-activity:WellControlIncident-shallow_gas_kick , ep-activity:WellControlIncident-water_kick .
owl:disjointWith ep-activity:WellControlIncident-water_kick , ep-activity:WellControlIncident-shallow_gas_kick , ep-activity:WellControlIncident-oil_kick .
ep-activity:WellControlIncident-oil_kick
rdf:type ep-activity:WellControlIncidentType , owl:Class ;
rdf:type owl:Class , ep-activity:WellControlIncidentType ;
rdfs:label "well control incident oil kick"^^xsd:string ;
rdfs:subClassOf ep-activity:WellControlIncident ;
owl:disjointWith ep-activity:WellControlIncident-gas_kick , ep-activity:WellControlIncident-shallow_gas_kick , ep-activity:WellControlIncident-water_kick .
owl:disjointWith ep-activity:WellControlIncident-water_kick , ep-activity:WellControlIncident-shallow_gas_kick , ep-activity:WellControlIncident-gas_kick .
ep-activity:WellControlIncident-shallow_gas_kick
rdf:type ep-activity:WellControlIncidentType , owl:Class ;
rdf:type owl:Class , ep-activity:WellControlIncidentType ;
rdfs:label "well control incident shallow gas kick"^^xsd:string ;
rdfs:subClassOf ep-activity:WellControlIncident ;
owl:disjointWith ep-activity:WellControlIncident-gas_kick , ep-activity:WellControlIncident-oil_kick , ep-activity:WellControlIncident-water_kick .
owl:disjointWith ep-activity:WellControlIncident-water_kick , ep-activity:WellControlIncident-oil_kick , ep-activity:WellControlIncident-gas_kick .
ep-activity:WellControlIncident-water_kick
rdf:type ep-activity:WellControlIncidentType , owl:Class ;
rdf:type owl:Class , ep-activity:WellControlIncidentType ;
rdfs:label "well control incident water kick"^^xsd:string ;
rdfs:subClassOf ep-activity:WellControlIncident ;
owl:disjointWith ep-activity:WellControlIncident-gas_kick , ep-activity:WellControlIncident-oil_kick , ep-activity:WellControlIncident-shallow_gas_kick .
owl:disjointWith ep-activity:WellControlIncident-shallow_gas_kick , ep-activity:WellControlIncident-oil_kick , ep-activity:WellControlIncident-gas_kick .
ep-activity:WellControlIncidentType
rdf:type rdfs:Class ;
......@@ -724,40 +693,40 @@ ep-activity:WellKilling
rdfs:subClassOf ep-activity:WellOperation .
ep-activity:WellKilling-bullheading
rdf:type ep-activity:WellKillingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellKillingType ;
rdfs:label "well killing bullheading"^^xsd:string ;
rdfs:subClassOf ep-activity:WellKilling ;
owl:disjointWith ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-wait_and_weight .
owl:disjointWith ep-activity:WellKilling-wait_and_weight , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-drillers_method .
ep-activity:WellKilling-drillers_method
rdf:type ep-activity:WellKillingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellKillingType ;
rdfs:label "well killing drillers method"^^xsd:string ;
rdfs:subClassOf ep-activity:WellKilling ;
owl:disjointWith ep-activity:WellKilling-bullheading , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-wait_and_weight .
owl:disjointWith ep-activity:WellKilling-wait_and_weight , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-bullheading .
ep-activity:WellKilling-forward_circulation
rdf:type ep-activity:WellKillingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellKillingType ;
rdfs:label "well killing forward circulation"^^xsd:string ;
rdfs:subClassOf ep-activity:WellKilling ;
owl:disjointWith ep-activity:WellKilling-bullheading , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-wait_and_weight .
owl:disjointWith ep-activity:WellKilling-wait_and_weight , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-bullheading .
ep-activity:WellKilling-lubricate_and_bleed
rdf:type ep-activity:WellKillingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellKillingType ;
rdfs:label "well killing lubricate and bleed"^^xsd:string ;
rdfs:subClassOf ep-activity:WellKilling ;
owl:disjointWith ep-activity:WellKilling-bullheading , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-wait_and_weight .
owl:disjointWith ep-activity:WellKilling-wait_and_weight , ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-bullheading .
ep-activity:WellKilling-reverse_circulation
rdf:type ep-activity:WellKillingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellKillingType ;
rdfs:label "well killing reverse circulation"^^xsd:string ;
rdfs:subClassOf ep-activity:WellKilling ;
owl:disjointWith ep-activity:WellKilling-bullheading , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-wait_and_weight .
owl:disjointWith ep-activity:WellKilling-wait_and_weight , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-bullheading .
ep-activity:WellKilling-wait_and_weight
rdf:type ep-activity:WellKillingType , owl:Class ;
rdf:type owl:Class , ep-activity:WellKillingType ;
rdfs:label "well killing wait and weight"^^xsd:string ;
rdfs:subClassOf ep-activity:WellKilling ;
owl:disjointWith ep-activity:WellKilling-bullheading , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-reverse_circulation .
owl:disjointWith ep-activity:WellKilling-reverse_circulation , ep-activity:WellKilling-lubricate_and_bleed , ep-activity:WellKilling-forward_circulation , ep-activity:WellKilling-drillers_method , ep-activity:WellKilling-bullheading .
ep-activity:WellKillingType
rdf:type rdfs:Class ;
......@@ -796,25 +765,25 @@ ep-activity:WirelineFormationTestType
rdfs:subClassOf owl:Class .
ep-activity:WirelineFormationTestWithGoodSeal
rdf:type ep-activity:WirelineFormationTestType , owl:Class ;
rdf:type owl:Class , ep-activity:WirelineFormationTestType ;
rdfs:label "wireline formation test with a good seal"^^xsd:string ;
rdfs:subClassOf ep-activity:WirelineFormationTest ;
owl:disjointWith ep-activity:WirelineFormationTestWithoutGoodSeal .
ep-activity:WirelineFormationTestWithoutGoodSeal
rdf:type ep-activity:WirelineFormationTestType , owl:Class ;
rdf:type owl:Class , ep-activity:WirelineFormationTestType ;
rdfs:label "wireline formation test without a good seal"^^xsd:string ;
rdfs:subClassOf ep-activity:WirelineFormationTest ;
owl:disjointWith ep-activity:WirelineFormationTestWithGoodSeal .
ep-activity:averageRateOfDrilling
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "average rate of drilling"^^xsd:string ;
rdfs:range ep-core:Speed .
ep-activity:descriptionOfActivitiesFollowingTheDailyReportingPeriod
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DailyDrillingActivity ;
rdfs:label "description of activities following the daily reporting period"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/report#Report> .
......@@ -830,25 +799,25 @@ ep-activity:descriptionOfActivitiesWithinTheDailyReportingPeriod
rdfs:label "description of activities within the daily reporting period"^^xsd:string .
ep-activity:distanceDrilled
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "final rate of drilling"^^xsd:string ;
rdfs:range ep-core:Length .
ep-activity:drillingContractor
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "drilling contractor"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:drillingOperator
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "drilling operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:durationOfDrilling
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "duration of drilling"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
......@@ -860,25 +829,25 @@ ep-activity:failedEquipment
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-activity:finalRateOfDrilling
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "final rate of drilling"^^xsd:string ;
rdfs:range ep-core:Speed .
ep-activity:finishedAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-activity:Activity ;
rdfs:label "finished at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:fluidProducedByWellTest
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "fluid produced by well test"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Fluid> .
ep-activity:hasCasingLinerTubing
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellStimulation ;
rdfs:label "has Casing/Liner/Tubing"^^xsd:string .
......@@ -887,18 +856,18 @@ ep-activity:hasCasingString
rdfs:label "has casing string"^^xsd:string .
ep-activity:hasChokeValve
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "has choke valve"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#ChokeValve> .
ep-activity:hasDrillBit
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "has drill bit"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#DrillBit> .
ep-activity:hasDrillingFluid
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "has drilling fluid"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Fluid> .
......@@ -914,13 +883,13 @@ ep-activity:hasSubActivity
rdfs:label "has sub activity"^^xsd:string .
ep-activity:hasWellTestChoke
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "has well test choke"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#WellTestChoke> .
ep-activity:identificationNumberOfCore
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-activity:ExtractAWellCore ;
rdfs:label "identification number of core"^^xsd:string .
......@@ -930,19 +899,19 @@ ep-activity:logRunNumber
rdfs:label "log run number"^^xsd:string .
ep-activity:loggedWellBoreInterval
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellBoreLogRun ;
rdfs:label "logged wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
ep-activity:measuredDepthOfFluidSampling
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WirelineFormationTest ;
rdfs:label "measured depth of fluid sampling"^^xsd:string ;
rdfs:range ep-core:Length .
ep-activity:missedProductionTime
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:EquipmentFailureAndRepair ;
rdfs:label "missed production time"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
......@@ -954,7 +923,7 @@ ep-activity:nominallyAt
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:onDrillBit
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellBoreBitRunDrilling ;
rdfs:label "on drill bit"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#DrillBit> .
......@@ -964,7 +933,7 @@ ep-activity:onFluid
rdfs:label "on WellBore"^^xsd:string .
ep-activity:onRig
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "on rig"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> .
......@@ -976,19 +945,19 @@ ep-activity:onWell
rdfs:range <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWell> .
ep-activity:onWellBore
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "on wellbore"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> .
ep-activity:operatingTimeOfDrillBit
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:DrillingActivity ;
rdfs:label "operating time of drill bit"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
ep-activity:pressureAtWhichPlugBumped
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellCementPumping ;
rdfs:label "pressure at which plug bumped"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -998,90 +967,90 @@ ep-activity:pumpedFluid
rdfs:label "pumped fluid"^^xsd:string .
ep-activity:recoveredCore
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:ExtractAWellCore ;
rdfs:label "recovered core"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#RecoveredCore> .
ep-activity:returnedCementingFluid
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellCementPumping ;
rdfs:label "returned cementing fluid"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#CementingFluid> .
ep-activity:sampledFluid
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WirelineFormationTest ;
rdfs:label "sampled fluid"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Fluid> .
ep-activity:serviceCompany
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:Activity ;
rdfs:label "service company"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-activity:startedAt
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-activity:Activity ;
rdfs:label "started at"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:timeLost
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellControlIncident ;
rdfs:label "time lost"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
ep-activity:timeOfFailure
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-activity:EquipmentFailureAndRepair ;
rdfs:label "time of failure"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:timeOfRepair
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-activity:EquipmentFailureAndRepair ;
rdfs:label "time of repair"^^xsd:string ;
rdfs:range <http://www.linkedmodel.org/schema/vaem#dateUnion> .
ep-activity:volumeOfMudGained
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:WellControlIncident ;
rdfs:label "final rate of drilling"^^xsd:string ;
rdfs:range ep-core:Volume .
ep-activity:wellBoreLoggingTool
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellBoreLogRun ;
rdfs:label "well bore logging tool"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-activity:wellTestBottomHolePressure
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "well test bottom hole pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-activity:wellTestFlowingPressure
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "well test flowing pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-activity:wellTestNumber
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "well test number"^^xsd:string .
ep-activity:wellTestShutInPressure
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "well test shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-activity:wellTestStoredOil
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-activity:WellTest ;
rdfs:label "well test stored oil"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/well#Oil> .
......
......@@ -132,7 +132,7 @@ ep-spin-lib:buildDrillBitSizeClassURI
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/drilling-equipment-type#DrillBit-" ;
sp:arg1 "http://www.reportinghub.no/ep/data/drilling-equipment-type/DrillBit-" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "-NS"
......@@ -155,7 +155,7 @@ ep-spin-lib:buildDullGradeURI
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/equipment#DullGrade-" ;
sp:arg1 "http://www.reportinghub.no/ep/data/dullGrade/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1
]
......@@ -195,14 +195,17 @@ ep-spin-lib:buildEquipmentTypeURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b6) ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/drilling-equipment-type#" ;
sp:arg1 "http://www.reportinghub.no/ep/data/drilling-equipment-type/" ;
sp:arg2 spin:_arg1
] ;
sp:variable _:b6
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
......@@ -238,7 +241,7 @@ ep-spin-lib:buildFluidReadingURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b7) ;
sp:resultVariables (_:b6) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -251,7 +254,7 @@ ep-spin-lib:buildFluidReadingURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b7
sp:variable _:b6
])
] .
......@@ -287,7 +290,7 @@ ep-spin-lib:buildLastCasingOfAWellBoreURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b8) ;
sp:resultVariables (_:b7) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -298,7 +301,7 @@ ep-spin-lib:buildLastCasingOfAWellBoreURI
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b8
sp:variable _:b7
])
] .
......@@ -308,7 +311,7 @@ ep-spin-lib:buildLithShowObservationURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b9) ;
sp:resultVariables (_:b8) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -321,7 +324,7 @@ ep-spin-lib:buildLithShowObservationURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b9
sp:variable _:b8
])
] .
......@@ -357,7 +360,7 @@ ep-spin-lib:buildPartActivityURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b10) ;
sp:resultVariables (_:b9) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -370,7 +373,7 @@ ep-spin-lib:buildPartActivityURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b10
sp:variable _:b9
])
] .
......@@ -380,7 +383,7 @@ ep-spin-lib:buildPartOfAWellBoreDuringWellTestURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b11) ;
sp:resultVariables (_:b10) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -391,7 +394,7 @@ ep-spin-lib:buildPartOfAWellBoreDuringWellTestURI
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b11
sp:variable _:b10
])
] .
......@@ -401,7 +404,7 @@ ep-spin-lib:buildPilotHoleOfAWellBoreURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b12) ;
sp:resultVariables (_:b11) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -412,7 +415,7 @@ ep-spin-lib:buildPilotHoleOfAWellBoreURI
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b12
sp:variable _:b11
])
] .
......@@ -422,17 +425,20 @@ ep-spin-lib:buildPipeOutsideDiameterAPI_5CTClass
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b13) ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/pipeOutsideDiameter#API_5CT-" ;
sp:arg1 "http://www.reportinghub.no/ep/data/pipeOutsideDiameter/API_5CT-" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "-NS"
]
] ;
sp:variable _:b13
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
......@@ -442,17 +448,20 @@ ep-spin-lib:buildPipeWeightAPI_5CTClass
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b14) ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/pipeWeight#API_5CT-" ;
sp:arg1 "http://www.reportinghub.no/ep/data/pipeWeight/API_5CT-" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "-NS"
]
] ;
sp:variable _:b14
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
......@@ -462,7 +471,7 @@ ep-spin-lib:buildPorePressureDeterminationURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b15) ;
sp:resultVariables (_:b12) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -475,7 +484,7 @@ ep-spin-lib:buildPorePressureDeterminationURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b15
sp:variable _:b12
])
] .
......@@ -485,7 +494,7 @@ ep-spin-lib:buildPreliminaryZonationURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b16) ;
sp:resultVariables (_:b13) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -498,7 +507,7 @@ ep-spin-lib:buildPreliminaryZonationURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b16
sp:variable _:b13
])
] .
......@@ -528,16 +537,19 @@ ep-spin-lib:buildSteelGradeAPI_5CTClass
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b17) ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/steelGrade#API_5CT-" ;
sp:arg1 "http://www.reportinghub.no/ep/schema/steelGrade/API_5CT-" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b17
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
......@@ -547,7 +559,7 @@ ep-spin-lib:buildTemporalPartOfARigURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b18) ;
sp:resultVariables (_:b14) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -560,7 +572,7 @@ ep-spin-lib:buildTemporalPartOfARigURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b18
sp:variable _:b14
])
] .
......@@ -570,7 +582,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b19) ;
sp:resultVariables (_:b15) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -581,7 +593,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreDuringWellControlIncidentURI
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b19
sp:variable _:b15
])
] .
......@@ -591,7 +603,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b20) ;
sp:resultVariables (_:b16) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -604,7 +616,7 @@ ep-spin-lib:buildTemporalPartOfAWellBoreURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b20
sp:variable _:b16
])
] .
......@@ -614,7 +626,7 @@ ep-spin-lib:buildURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
sp:resultVariables (_:b17) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:iri ;
......@@ -623,7 +635,7 @@ ep-spin-lib:buildURI
sp:arg2 spin:_arg2
]
] ;
sp:variable _:b21
sp:variable _:b17
])
] ;
spin:constraint
......@@ -643,7 +655,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b22) ;
sp:resultVariables (_:b18) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -656,7 +668,7 @@ ep-spin-lib:buildWellBoreDirectionalSurveyURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b22
sp:variable _:b18
])
] .
......@@ -666,7 +678,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b23) ;
sp:resultVariables (_:b19) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -679,7 +691,7 @@ ep-spin-lib:buildWellBoreDrillBitRunURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b23
sp:variable _:b19
])
] .
......@@ -689,7 +701,7 @@ ep-spin-lib:buildWellBoreDrillBitURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b24) ;
sp:resultVariables (_:b20) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -700,7 +712,7 @@ ep-spin-lib:buildWellBoreDrillBitURI
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b24
sp:variable _:b20
])
] .
......@@ -710,7 +722,7 @@ ep-spin-lib:buildWellBoreKickOffURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b25) ;
sp:resultVariables (_:b21) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -719,7 +731,7 @@ ep-spin-lib:buildWellBoreKickOffURI
sp:arg1 spin:_arg1
]
] ;
sp:variable _:b25
sp:variable _:b21
])
] .
......@@ -729,7 +741,7 @@ ep-spin-lib:buildWellBoreLogRunURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b26) ;
sp:resultVariables (_:b22) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -742,7 +754,7 @@ ep-spin-lib:buildWellBoreLogRunURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b26
sp:variable _:b22
])
] .
......@@ -778,17 +790,20 @@ ep-spin-lib:buildWellBoreSectionSizeClassURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b27) ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://www.reportinghub.no/ep/schema/wellbore-type#SectionSize-" ;
sp:arg1 "http://www.reportinghub.no/ep/data/wellbore-type/sectionSize-" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "-NS"
]
] ;
sp:variable _:b27
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
......@@ -798,7 +813,7 @@ ep-spin-lib:buildWellBoreSizeSectionURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:resultVariables (_:b23) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -809,7 +824,7 @@ ep-spin-lib:buildWellBoreSizeSectionURI
sp:arg3 spin:_arg2
]
] ;
sp:variable _:b28
sp:variable _:b23
])
] .
......@@ -845,7 +860,7 @@ ep-spin-lib:buildWellCompletionURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b29) ;
sp:resultVariables (_:b24) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -858,7 +873,7 @@ ep-spin-lib:buildWellCompletionURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b29
sp:variable _:b24
])
] .
......@@ -868,7 +883,7 @@ ep-spin-lib:buildWellControlIncidentURI
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b30) ;
sp:resultVariables (_:b25) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
......@@ -881,7 +896,7 @@ ep-spin-lib:buildWellControlIncidentURI
sp:arg5 spin:_arg3
]
] ;
sp:variable _:b30
sp:variable _:b25
])
] .
......@@ -1137,7 +1152,7 @@ ep-spin-lib:normalizeString
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b31) ;
sp:resultVariables (_:b26) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
......@@ -1145,67 +1160,67 @@ ep-spin-lib:normalizeString
sp:arg2 "\\((.*)\\)" ;
sp:arg3 ""
] ;
sp:variable _:b32
sp:variable _:b27
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:trim ;
sp:arg1 _:b32
sp:arg1 _:b27
] ;
sp:variable _:b33
sp:variable _:b28
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:encodeURL ;
sp:arg1 _:b33
sp:arg1 _:b28
] ;
sp:variable _:b34
sp:variable _:b29
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b34 ;
sp:arg1 _:b29 ;
sp:arg2 "%2F" ;
sp:arg3 "_"
] ;
sp:variable _:b35
sp:variable _:b30
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b35 ;
sp:arg1 _:b30 ;
sp:arg2 "%[0-9A-F][0-9A-F]" ;
sp:arg3 ""
] ;
sp:variable _:b36
sp:variable _:b31
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b36 ;
sp:arg1 _:b31 ;
sp:arg2 "\\+" ;
sp:arg3 "_"
] ;
sp:variable _:b37
sp:variable _:b32
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b37 ;
sp:arg1 _:b32 ;
sp:arg2 "_+" ;
sp:arg3 "_"
] ;
sp:variable _:b38
sp:variable _:b33
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:regex ;
sp:arg1 _:b38 ;
sp:arg1 _:b33 ;
sp:arg2 "\\*" ;
sp:arg3 ""
] ;
sp:variable _:b39
sp:variable _:b34
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:string ;
sp:arg1 [ rdf:type smf:upperCase ;
sp:arg1 _:b39
sp:arg1 _:b34
]
] ;
sp:variable _:b31
sp:variable _:b26
])
] ;
spin:constraint
......@@ -1322,7 +1337,7 @@ ep-spin-lib:selectActivitySuccessType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b40) ;
sp:resultVariables (_:b35) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1333,7 +1348,7 @@ ep-spin-lib:selectActivitySuccessType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#SuccessfulActivity> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#FailedActivity>
] ;
sp:variable _:b40
sp:variable _:b35
])
] .
......@@ -1343,7 +1358,7 @@ ep-spin-lib:selectCasingRoleType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b41) ;
sp:resultVariables (_:b36) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1368,7 +1383,7 @@ ep-spin-lib:selectCasingRoleType
]
]
] ;
sp:variable _:b41
sp:variable _:b36
])
] .
......@@ -1378,7 +1393,7 @@ ep-spin-lib:selectCementingFluidReturnType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b42) ;
sp:resultVariables (_:b37) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1389,7 +1404,7 @@ ep-spin-lib:selectCementingFluidReturnType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithFluidReturn> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementPumpingWithoutFluidReturn>
] ;
sp:variable _:b42
sp:variable _:b37
])
] .
......@@ -1399,7 +1414,7 @@ ep-spin-lib:selectClassOfWellDatumObject
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b43) ;
sp:resultVariables (_:b38) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1417,7 +1432,7 @@ ep-spin-lib:selectClassOfWellDatumObject
sp:arg3 owl:Nothing
]
] ;
sp:variable _:b43
sp:variable _:b38
])
] .
......@@ -1427,7 +1442,7 @@ ep-spin-lib:selectComponentType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b44) ;
sp:resultVariables (_:b39) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1466,7 +1481,7 @@ ep-spin-lib:selectComponentType
]
]
] ;
sp:variable _:b44
sp:variable _:b39
])
] .
......@@ -1514,7 +1529,7 @@ ep-spin-lib:selectDailyDrillingReportType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b45) ;
sp:resultVariables (_:b40) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1532,7 +1547,7 @@ ep-spin-lib:selectDailyDrillingReportType
sp:arg3 <http://www.reportinghub.no/ep/schema/report#FinalDailyDrillingReport>
]
] ;
sp:variable _:b45
sp:variable _:b40
])
] .
......@@ -1542,7 +1557,7 @@ ep-spin-lib:selectDensityScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b46) ;
sp:resultVariables (_:b41) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1560,7 +1575,7 @@ ep-spin-lib:selectDensityScale
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
] ;
sp:variable _:b46
sp:variable _:b41
])
] .
......@@ -1570,7 +1585,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b47) ;
sp:resultVariables (_:b42) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -1637,7 +1652,7 @@ ep-spin-lib:selectDrillingActivityOutcomeType
]
]
] ;
sp:variable _:b47
sp:variable _:b42
])
] .
......@@ -1647,7 +1662,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b48) ;
sp:resultVariables (_:b43) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2232,7 +2247,7 @@ ep-spin-lib:selectDrillingActivityPurposeType
]
]
] ;
sp:variable _:b48
sp:variable _:b43
])
] .
......@@ -2242,7 +2257,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b49) ;
sp:resultVariables (_:b44) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2281,7 +2296,7 @@ ep-spin-lib:selectDrillingActivityTypeAccordingToEquipmentType
]
]
] ;
sp:variable _:b49
sp:variable _:b44
])
] .
......@@ -2291,7 +2306,7 @@ ep-spin-lib:selectDrillingEquipmentType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b50) ;
sp:resultVariables (_:b45) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2708,7 +2723,7 @@ ep-spin-lib:selectDrillingEquipmentType
]
]
] ;
sp:variable _:b50
sp:variable _:b45
])
] .
......@@ -2734,7 +2749,7 @@ ep-spin-lib:selectFixedOrMoveableRigFlag
sp:arg2 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
] ;
sp:arg2 "false" ;
sp:arg3 "invalid call to the ep-spin-lib:selectFixedOrMoveableRigFlag function"
sp:arg3 "n/a"
]
] ;
sp:variable
......@@ -2749,7 +2764,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b51) ;
sp:resultVariables (_:b46) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2760,7 +2775,7 @@ ep-spin-lib:selectFixedOrMoveableRigType
sp:arg2 <http://www.reportinghub.no/ep/schema/facility#FixedRig> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/facility#MoveableRig>
] ;
sp:variable _:b51
sp:variable _:b46
])
] .
......@@ -2770,7 +2785,7 @@ ep-spin-lib:selectFluidType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b52) ;
sp:resultVariables (_:b47) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2802,7 +2817,7 @@ ep-spin-lib:selectFluidType
]
]
] ;
sp:variable _:b52
sp:variable _:b47
])
] .
......@@ -2892,7 +2907,7 @@ ep-spin-lib:selectGasReadingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b53) ;
sp:resultVariables (_:b48) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -2959,7 +2974,7 @@ ep-spin-lib:selectGasReadingType
]
]
] ;
sp:variable _:b53
sp:variable _:b48
])
] .
......@@ -3007,7 +3022,7 @@ ep-spin-lib:selectInnerBarrelType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b54) ;
sp:resultVariables (_:b49) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3039,7 +3054,7 @@ ep-spin-lib:selectInnerBarrelType
]
]
] ;
sp:variable _:b54
sp:variable _:b49
])
] .
......@@ -3049,7 +3064,7 @@ ep-spin-lib:selectLabelOfSystem
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b55) ;
sp:resultVariables (_:b50) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3095,7 +3110,7 @@ ep-spin-lib:selectLabelOfSystem
]
]
] ;
sp:variable _:b55
sp:variable _:b50
])
] .
......@@ -3105,7 +3120,7 @@ ep-spin-lib:selectLengthScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b56) ;
sp:resultVariables (_:b51) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3186,7 +3201,7 @@ ep-spin-lib:selectLengthScale
]
]
] ;
sp:variable _:b56
sp:variable _:b51
])
] .
......@@ -3196,7 +3211,7 @@ ep-spin-lib:selectMassPerUnitLengthScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b57) ;
sp:resultVariables (_:b52) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3207,7 +3222,7 @@ ep-spin-lib:selectMassPerUnitLengthScale
sp:arg2 <http://www.reportinghub.no/ep/schema/core#pound_foot-1> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b57
sp:variable _:b52
])
] .
......@@ -3241,7 +3256,7 @@ ep-spin-lib:selectMudClass
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b58) ;
sp:resultVariables (_:b53) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3266,7 +3281,7 @@ ep-spin-lib:selectMudClass
]
]
] ;
sp:variable _:b58
sp:variable _:b53
])
] .
......@@ -3276,7 +3291,7 @@ ep-spin-lib:selectPlaneAngleScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b59) ;
sp:resultVariables (_:b54) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3287,7 +3302,7 @@ ep-spin-lib:selectPlaneAngleScale
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b59
sp:variable _:b54
])
] .
......@@ -3297,7 +3312,7 @@ ep-spin-lib:selectPlasticViscosityScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b60) ;
sp:resultVariables (_:b55) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3371,7 +3386,7 @@ ep-spin-lib:selectPlasticViscosityScale
]
]
] ;
sp:variable _:b60
sp:variable _:b55
])
] .
......@@ -3412,7 +3427,7 @@ ep-spin-lib:selectPorePressureDeterminationType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b61) ;
sp:resultVariables (_:b56) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3430,7 +3445,7 @@ ep-spin-lib:selectPorePressureDeterminationType
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#PorePressureDetermination>
]
] ;
sp:variable _:b61
sp:variable _:b56
])
] .
......@@ -3440,7 +3455,7 @@ ep-spin-lib:selectPressureScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b62) ;
sp:resultVariables (_:b57) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3479,7 +3494,7 @@ ep-spin-lib:selectPressureScale
]
]
] ;
sp:variable _:b62
sp:variable _:b57
])
] .
......@@ -3489,7 +3504,7 @@ ep-spin-lib:selectPressureTestType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b63) ;
sp:resultVariables (_:b58) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3507,7 +3522,7 @@ ep-spin-lib:selectPressureTestType
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellBorePressureTest>
]
] ;
sp:variable _:b63
sp:variable _:b58
])
] .
......@@ -3517,7 +3532,7 @@ ep-spin-lib:selectSpeedScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b64) ;
sp:resultVariables (_:b59) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3528,7 +3543,7 @@ ep-spin-lib:selectSpeedScale
sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_hour-1> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b64
sp:variable _:b59
])
] .
......@@ -3538,7 +3553,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b65) ;
sp:resultVariables (_:b60) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3556,7 +3571,7 @@ ep-spin-lib:selectStrengthOfRockFormationScale
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
] ;
sp:variable _:b65
sp:variable _:b60
])
] .
......@@ -3566,7 +3581,7 @@ ep-spin-lib:selectTemperatureScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b66) ;
sp:resultVariables (_:b61) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3577,7 +3592,7 @@ ep-spin-lib:selectTemperatureScale
sp:arg2 <http://www.reportinghub.no/ep/schema/core#celsius> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b66
sp:variable _:b61
])
] .
......@@ -3587,7 +3602,7 @@ ep-spin-lib:selectTimeDurationScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b67) ;
sp:resultVariables (_:b62) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3633,7 +3648,7 @@ ep-spin-lib:selectTimeDurationScale
]
]
] ;
sp:variable _:b67
sp:variable _:b62
])
] .
......@@ -3771,7 +3786,7 @@ ep-spin-lib:selectVolumeScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b68) ;
sp:resultVariables (_:b63) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3796,7 +3811,7 @@ ep-spin-lib:selectVolumeScale
]
]
] ;
sp:variable _:b68
sp:variable _:b63
])
] .
......@@ -3806,7 +3821,7 @@ ep-spin-lib:selectVolumetricFlowRateScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b69) ;
sp:resultVariables (_:b64) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3831,7 +3846,7 @@ ep-spin-lib:selectVolumetricFlowRateScale
]
]
] ;
sp:variable _:b69
sp:variable _:b64
])
] .
......@@ -3841,7 +3856,7 @@ ep-spin-lib:selectWellBoreDrillingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b70) ;
sp:resultVariables (_:b65) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3887,7 +3902,7 @@ ep-spin-lib:selectWellBoreDrillingType
]
]
] ;
sp:variable _:b70
sp:variable _:b65
])
] .
......@@ -3928,7 +3943,7 @@ ep-spin-lib:selectWellBoreHphtType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b71) ;
sp:resultVariables (_:b66) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3939,7 +3954,7 @@ ep-spin-lib:selectWellBoreHphtType
sp:arg2 <http://www.reportinghub.no/ep/schema/well#HphtWellBore> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#NotHphtWellBore>
] ;
sp:variable _:b71
sp:variable _:b66
])
] .
......@@ -3980,7 +3995,7 @@ ep-spin-lib:selectWellBoreTightnessType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b72) ;
sp:resultVariables (_:b67) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -3991,7 +4006,7 @@ ep-spin-lib:selectWellBoreTightnessType
sp:arg2 <http://www.reportinghub.no/ep/schema/well#TightWellBore> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/well#LeakyWellBore>
] ;
sp:variable _:b72
sp:variable _:b67
])
] .
......@@ -4001,7 +4016,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b73) ;
sp:resultVariables (_:b68) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4012,7 +4027,7 @@ ep-spin-lib:selectWellCementJobBottomPlugType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithBottomPlug> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutBottomPlug>
] ;
sp:variable _:b73
sp:variable _:b68
])
] .
......@@ -4022,7 +4037,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b74) ;
sp:resultVariables (_:b69) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4033,7 +4048,7 @@ ep-spin-lib:selectWellCementJobCasingReciprocationType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingReciprocation> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingReciprocation>
] ;
sp:variable _:b74
sp:variable _:b69
])
] .
......@@ -4043,7 +4058,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b75) ;
sp:resultVariables (_:b70) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4054,7 +4069,7 @@ ep-spin-lib:selectWellCementJobCasingRotationType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithCasingRotation> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutCasingRotation>
] ;
sp:variable _:b75
sp:variable _:b70
])
] .
......@@ -4064,7 +4079,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b76) ;
sp:resultVariables (_:b71) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4075,7 +4090,7 @@ ep-spin-lib:selectWellCementJobFloatHoldingType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithFloatHolding> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutFloatHolding>
] ;
sp:variable _:b76
sp:variable _:b71
])
] .
......@@ -4085,7 +4100,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b77) ;
sp:resultVariables (_:b72) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4096,7 +4111,7 @@ ep-spin-lib:selectWellCementJobPlugBumpingType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithPlugBumping> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutPlugBumping>
] ;
sp:variable _:b77
sp:variable _:b72
])
] .
......@@ -4106,7 +4121,7 @@ ep-spin-lib:selectWellCementJobTopPlugType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b78) ;
sp:resultVariables (_:b73) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4117,7 +4132,7 @@ ep-spin-lib:selectWellCementJobTopPlugType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithTopPlug> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellCementJobWithoutTopPlug>
] ;
sp:variable _:b78
sp:variable _:b73
])
] .
......@@ -4127,7 +4142,7 @@ ep-spin-lib:selectWellCementJobType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b79) ;
sp:resultVariables (_:b74) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4159,7 +4174,7 @@ ep-spin-lib:selectWellCementJobType
]
]
] ;
sp:variable _:b79
sp:variable _:b74
])
] .
......@@ -4214,7 +4229,7 @@ ep-spin-lib:selectWellControlIncidentType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b80) ;
sp:resultVariables (_:b75) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4246,7 +4261,7 @@ ep-spin-lib:selectWellControlIncidentType
]
]
] ;
sp:variable _:b80
sp:variable _:b75
])
] .
......@@ -4315,7 +4330,7 @@ ep-spin-lib:selectWellKillingType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b81) ;
sp:resultVariables (_:b76) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4361,7 +4376,7 @@ ep-spin-lib:selectWellKillingType
]
]
] ;
sp:variable _:b81
sp:variable _:b76
])
] .
......@@ -4371,7 +4386,7 @@ ep-spin-lib:selectWellTestType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b82) ;
sp:resultVariables (_:b77) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4389,7 +4404,7 @@ ep-spin-lib:selectWellTestType
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest>
]
] ;
sp:variable _:b82
sp:variable _:b77
])
] .
......@@ -4399,7 +4414,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b83) ;
sp:resultVariables (_:b78) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4410,7 +4425,7 @@ ep-spin-lib:selectWirelineFormationTestGoodnessOfSealType
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithGoodSeal> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WirelineFormationTestWithoutGoodSeal>
] ;
sp:variable _:b83
sp:variable _:b78
])
] .
......@@ -4420,7 +4435,7 @@ ep-spin-lib:selectYieldPointScale
rdfs:subClassOf ep-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b84) ;
sp:resultVariables (_:b79) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -4445,7 +4460,7 @@ ep-spin-lib:selectYieldPointScale
]
]
] ;
sp:variable _:b84
sp:variable _:b79
])
] .
......@@ -4454,245 +4469,230 @@ ddr:TTUC_Enumeration_1
rdfs:label "Enumeration"^^xsd:string ;
dtype:value ddr:TTUC_degC .
_:b1 sp:varName "uri"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b79
sp:varName "yieldPointScale"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b78
sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b77
sp:varName "wellTestType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b76
sp:varName "wellKillingType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b75
sp:varName "wellControlIncidentType"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b74
sp:varName "wellCementJobType"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b73
sp:varName "wellCementJobTopPlugType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b72
sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
_:b13
sp:varName "uri"^^xsd:string .
_:b71
sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
_:b14
sp:varName "uri"^^xsd:string .
_:b70
sp:varName "wellCementJobCasingRotationType"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b69
sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
_:b16
sp:varName "uri"^^xsd:string .
_:b68
sp:varName "wellCementJobBottomPlugType"^^xsd:string .
_:b17
sp:varName "uri"^^xsd:string .
_:b67
sp:varName "wellBoreTightnessType"^^xsd:string .
_:b18
sp:varName "uri"^^xsd:string .
_:b66
sp:varName "wellBoreHphtType"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
_:b65
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b20
sp:varName "uri"^^xsd:string .
_:b64
sp:varName "volumetricFlowRateScale"^^xsd:string .
_:b21
sp:varName "uri"^^xsd:string .
_:b63
sp:varName "volumeScale"^^xsd:string .
_:b22
sp:varName "uri"^^xsd:string .
_:b62
sp:varName "durationScale"^^xsd:string .
_:b23
sp:varName "uri"^^xsd:string .
_:b61
sp:varName "temperatureScale"^^xsd:string .
_:b24
sp:varName "uri"^^xsd:string .
_:b60
sp:varName "strengthScale"^^xsd:string .
_:b25
sp:varName "uri"^^xsd:string .
_:b59
sp:varName "speedScale"^^xsd:string .
_:b26
sp:varName "uri"^^xsd:string .
_:b58
sp:varName "pressureTestType"^^xsd:string .
_:b27
sp:varName "uri"^^xsd:string .
_:b57
sp:varName "pressureScale"^^xsd:string .
_:b28
sp:varName "uri"^^xsd:string .
_:b56
sp:varName "porePressureDeterminationType"^^xsd:string .
_:b29
sp:varName "uri"^^xsd:string .
_:b55
sp:varName "plasticViscosityScale"^^xsd:string .
_:b30
sp:varName "uri"^^xsd:string .
_:b54
sp:varName "angleScale"^^xsd:string .
_:b31
sp:varName "normalizedStr"^^xsd:string .
_:b53
sp:varName "mudClass"^^xsd:string .
_:b32
sp:varName "s1"^^xsd:string .
_:b52
sp:varName "massPerUnitLengthScale"^^xsd:string .
_:b33
sp:varName "s2"^^xsd:string .
_:b51
sp:varName "lengthScale"^^xsd:string .
_:b34
sp:varName "t0a"^^xsd:string .
_:b50
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b35
sp:varName "t0b"^^xsd:string .
_:b49
sp:varName "innerBarrelType"^^xsd:string .
_:b36
sp:varName "t1"^^xsd:string .
_:b48
sp:varName "gasReadingType"^^xsd:string .
_:b37
sp:varName "t2"^^xsd:string .
_:b47
sp:varName "fluidType"^^xsd:string .
_:b38
sp:varName "t3"^^xsd:string .
_:b46
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b39
sp:varName "t4"^^xsd:string .
_:b45
sp:varName "drillingEquipmentType"^^xsd:string .
_:b40
sp:varName "activitySuccessType"^^xsd:string .
_:b44
sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b41
sp:varName "casingRoleType"^^xsd:string .
_:b43
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b42
sp:varName "cementingFluidReturnType"^^xsd:string .
_:b43
sp:varName "classOfWellDatumObject"^^xsd:string .
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b44
sp:varName "componentType"^^xsd:string .
_:b41
sp:varName "densityScale"^^xsd:string .
_:b45
_:b40
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b46
sp:varName "densityScale"^^xsd:string .
_:b39
sp:varName "componentType"^^xsd:string .
_:b47
sp:varName "drillingActivityOutcomeType"^^xsd:string .
_:b38
sp:varName "classOfWellDatumObject"^^xsd:string .
_:b48
sp:varName "drillingActivityPurposeType"^^xsd:string .
_:b37
sp:varName "cementingFluidReturnType"^^xsd:string .
_:b49
sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string .
_:b36
sp:varName "casingRoleType"^^xsd:string .
_:b50
sp:varName "drillingEquipmentType"^^xsd:string .
_:b35
sp:varName "activitySuccessType"^^xsd:string .
_:b51
sp:varName "fixedOrMoveableRigType"^^xsd:string .
_:b34
sp:varName "t4"^^xsd:string .
_:b52
sp:varName "fluidType"^^xsd:string .
_:b33
sp:varName "t3"^^xsd:string .
_:b53
sp:varName "gasReadingType"^^xsd:string .
_:b32
sp:varName "t2"^^xsd:string .
_:b54
sp:varName "innerBarrelType"^^xsd:string .
_:b31
sp:varName "t1"^^xsd:string .
_:b55
sp:varName "dailyDrillingReportType"^^xsd:string .
_:b30
sp:varName "t0b"^^xsd:string .
_:b56
sp:varName "lengthScale"^^xsd:string .
_:b29
sp:varName "t0a"^^xsd:string .
_:b57
sp:varName "massPerUnitLengthScale"^^xsd:string .
_:b28
sp:varName "s2"^^xsd:string .
_:b58
sp:varName "mudClass"^^xsd:string .
_:b27
sp:varName "s1"^^xsd:string .
_:b59
sp:varName "angleScale"^^xsd:string .
_:b26
sp:varName "normalizedStr"^^xsd:string .
_:b60
sp:varName "plasticViscosityScale"^^xsd:string .
_:b25
sp:varName "uri"^^xsd:string .
_:b61
sp:varName "porePressureDeterminationType"^^xsd:string .
_:b24
sp:varName "uri"^^xsd:string .
_:b62
sp:varName "pressureScale"^^xsd:string .
_:b23
sp:varName "uri"^^xsd:string .
_:b63
sp:varName "pressureTestType"^^xsd:string .
_:b22
sp:varName "uri"^^xsd:string .
_:b64
sp:varName "speedScale"^^xsd:string .
_:b21
sp:varName "uri"^^xsd:string .
_:b65
sp:varName "strengthScale"^^xsd:string .
_:b20
sp:varName "uri"^^xsd:string .
_:b66
sp:varName "temperatureScale"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
_:b67
sp:varName "durationScale"^^xsd:string .
_:b18
sp:varName "uri"^^xsd:string .
_:b68
sp:varName "volumeScale"^^xsd:string .
_:b17
sp:varName "uri"^^xsd:string .
_:b69
sp:varName "volumetricFlowRateScale"^^xsd:string .
_:b16
sp:varName "uri"^^xsd:string .
_:b70
sp:varName "wellBoreDrillingType"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b71
sp:varName "wellBoreHphtType"^^xsd:string .
_:b14
sp:varName "uri"^^xsd:string .
_:b72
sp:varName "wellBoreTightnessType"^^xsd:string .
_:b13
sp:varName "uri"^^xsd:string .
_:b73
sp:varName "wellCementJobBottomPlugType"^^xsd:string .
_:b12
sp:varName "uri"^^xsd:string .
_:b74
sp:varName "wellCementJobCasingReciprocationType"^^xsd:string .
_:b11
sp:varName "uri"^^xsd:string .
_:b75
sp:varName "wellCementJobCasingRotationType"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b76
sp:varName "wellCementJobFloatHoldingType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b77
sp:varName "wellCementJobPlugBumpingType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b78
sp:varName "wellCementJobTopPlugType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b79
sp:varName "wellCementJobType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b80
sp:varName "wellControlIncidentType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b81
sp:varName "wellKillingType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b82
sp:varName "wellTestType"^^xsd:string .
_:b3 sp:varName "uri"^^xsd:string .
_:b83
sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b84
sp:varName "yieldPointScale"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
......
# Saved by TopBraid on Fri Oct 28 22:28:33 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
......@@ -25,35 +25,21 @@
<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.witsml.org/schemas/1series> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ddr:Obj_drillReport
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 169a Transfer waterDepth
rdfs:comment """STEP 168 Transfer fixedRig
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate ep-core:hasPart ;
sp:templates ([ sp:object
[ sp:varName "fixedOrMoveableRigType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfARig"^^xsd:string
[ sp:varName "rig"^^xsd:string
]
] [ sp:object ep-facility:SurroundingWater ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate ep-facility:depthOfSurroundingWater ;
sp:subject _:b1
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -66,11 +52,6 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "temporalPartOfARig"^^xsd:string
] ;
sp:predicate ep-activity:onRig ;
......@@ -78,25 +59,28 @@ This rule processes data from statusInfo, but is here because it must be execute
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "waterDepth"^^xsd:string
[ sp:varName "rig"^^xsd:string
] ;
sp:predicate ddr:waterDepthRef ;
sp:predicate ep-core:temporalPartOf ;
sp:subject
[ sp:varName "statusInfo"^^xsd:string
[ sp:varName "temporalPartOfARig"^^xsd:string
]
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
] [ sp:object ep-facility:Rig ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "waterDepth"^^xsd:string
[ sp:varName "rig"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "fixedRig"^^xsd:string
] ;
sp:predicate ddr:fixedRig ;
sp:subject
[ sp:varName "waterDepth"^^xsd:string
[ sp:varName "statusInfo"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -120,71 +104,116 @@ This rule processes data from statusInfo, but is here because it must be execute
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uom"^^xsd:string
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 [ sp:varName "fixedRig"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScale"^^xsd:string
[ sp:varName "fixedOrMoveableRigType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 160b Set rig for drilling activity - NPD Code not supplied"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
rdfs:comment "STEP 160a Set rig for drilling activity - NPD Code supplied"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b4
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object ep-facility:TemporalPartOfARig ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b5 ;
sp:subject _:b1
] [ sp:object
[ sp:varName "rig"^^xsd:string
] ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b3
sp:subject _:b1
] [ sp:object ep-facility:Rig ;
sp:predicate rdf:type ;
sp:subject _:b5
sp:subject
[ sp:varName "rig"^^xsd:string
]
]) ;
sp:where ([ sp:object _:b6 ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b7 ;
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b8 ;
] [ sp:object
[ sp:varName "wellboreInfo"^^xsd:string
] ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b9 ;
] [ sp:object
[ sp:varName "rigAlias"^^xsd:string
] ;
sp:predicate ddr:rigAliasRef ;
sp:subject _:b8
sp:subject
[ sp:varName "wellboreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "code"^^xsd:string
] ;
sp:predicate ddr:name ;
sp:subject _:b9
sp:subject
[ sp:varName "rigAlias"^^xsd:string
]
] [ rdf:type sp:Union ;
sp:elements (([ sp:object "NPD Code"^^xsd:string ;
sp:predicate ddr:namingSystem ;
sp:subject _:b9
sp:subject
[ sp:varName "rigAlias"^^xsd:string
]
]) ([ sp:object "NPD code"^^xsd:string ;
sp:predicate ddr:namingSystem ;
sp:subject _:b9
sp:subject
[ sp:varName "rigAlias"^^xsd:string
]
]))
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b6
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable _:b10
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "code"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedCode"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b10 ;
sp:arg2 _:b7
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:variable _:b4
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 [ sp:varName "normalizedCode"^^xsd:string
]
] ;
sp:variable
[ sp:varName "rig"^^xsd:string
]
])
] ;
spin:rule
......@@ -263,20 +292,29 @@ This rule processes data from statusInfo, but is here because it must be execute
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 160a Set rig for drilling activity - NPD Code supplied"^^xsd:string ;
sp:templates ([ sp:object _:b11 ;
sp:predicate ep-activity:onRig ;
rdfs:comment """STEP 169a Transfer waterDepth
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate ep-core:hasPart ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
[ sp:varName "temporalPartOfARig"^^xsd:string
]
] [ sp:object ep-facility:TemporalPartOfARig ;
] [ sp:object ep-facility:SurroundingWater ;
sp:predicate rdf:type ;
sp:subject _:b11
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate ep-facility:depthOfSurroundingWater ;
sp:subject _:b2
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "rig"^^xsd:string
[ sp:varName "real"^^xsd:string
] ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b11
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b3
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -289,114 +327,37 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellboreInfo"^^xsd:string
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate ddr:wellboreInfoRef ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "rigAlias"^^xsd:string
[ sp:varName "temporalPartOfARig"^^xsd:string
] ;
sp:predicate ddr:rigAliasRef ;
sp:predicate ep-activity:onRig ;
sp:subject
[ sp:varName "wellboreInfo"^^xsd:string
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "code"^^xsd:string
[ sp:varName "waterDepth"^^xsd:string
] ;
sp:predicate ddr:name ;
sp:subject
[ sp:varName "rigAlias"^^xsd:string
]
] [ rdf:type sp:Union ;
sp:elements (([ sp:object "NPD Code"^^xsd:string ;
sp:predicate ddr:namingSystem ;
sp:subject
[ sp:varName "rigAlias"^^xsd:string
]
]) ([ sp:object "NPD code"^^xsd:string ;
sp:predicate ddr:namingSystem ;
sp:predicate ddr:waterDepthRef ;
sp:subject
[ sp:varName "rigAlias"^^xsd:string
]
]))
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameWellBore"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedWellBoreName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "code"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedCode"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 [ sp:varName "normalizedWellBoreName"^^xsd:string
] ;
sp:arg2 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildRigURI ;
sp:arg1 [ sp:varName "normalizedCode"^^xsd:string
]
] ;
sp:variable
[ sp:varName "rig"^^xsd:string
[ sp:varName "statusInfo"^^xsd:string
]
])
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate ep-activity:drillingContractor ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
[ sp:varName "waterDepth"^^xsd:string
]
] [ sp:object ep-org:Company ;
sp:predicate rdf:type ;
sp:subject _:b12
] [ sp:object
[ sp:varName "nameContractor"^^xsd:string
] ;
sp:predicate ep-core:name ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
] ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellboreInfo"^^xsd:string
] ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "nameContractor"^^xsd:string
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:drillContractor ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "wellboreInfo"^^xsd:string
[ sp:varName "waterDepth"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -420,40 +381,40 @@ This rule processes data from statusInfo, but is here because it must be execute
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameContractor"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedContractorName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "normalizedContractorName"^^xsd:string
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "contractor"^^xsd:string
[ sp:varName "lengthScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b13 ;
sp:predicate ep-activity:drillingOperator ;
rdfs:comment """STEP 169 Transfer elevKelly
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate ep-core:hasPart ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
[ sp:varName "temporalPartOfARig"^^xsd:string
]
] [ sp:object ep-org:Company ;
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#KellyBushing> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#elevationOfKellyBushing> ;
sp:subject _:b4
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b13
sp:subject _:b5
] [ sp:object
[ sp:varName "nameOperator"^^xsd:string
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:predicate ep-core:name ;
sp:subject _:b13
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -466,16 +427,37 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellboreInfo"^^xsd:string
[ sp:varName "statusInfo"^^xsd:string
] ;
sp:predicate ddr:wellboreInfoRef ;
sp:predicate ddr:statusInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "nameOperator"^^xsd:string
[ sp:varName "temporalPartOfARig"^^xsd:string
] ;
sp:predicate ddr:operator ;
sp:predicate ep-activity:onRig ;
sp:subject
[ sp:varName "wellboreInfo"^^xsd:string
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "elevKelly"^^xsd:string
] ;
sp:predicate ddr:elevKellyRef ;
sp:subject
[ sp:varName "statusInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "elevKelly"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
sp:subject
[ sp:varName "elevKelly"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -497,6 +479,15 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uom"^^xsd:string
]
] ;
sp:variable
[ sp:varName "lengthScale"^^xsd:string
]
])
] ;
spin:rule
......@@ -575,29 +566,14 @@ This rule processes data from statusInfo, but is here because it must be execute
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 169 Transfer elevKelly
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate ep-core:hasPart ;
rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "spudDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreSpudAt> ;
sp:subject
[ sp:varName "temporalPartOfARig"^^xsd:string
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/equipment#KellyBushing> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/equipment#elevationOfKellyBushing> ;
sp:subject _:b14
] [ sp:object ep-core:Length ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object
[ sp:varName "real"^^xsd:string
] ;
sp:predicate
[ sp:varName "lengthScale"^^xsd:string
] ;
sp:subject _:b15
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -610,37 +586,35 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
[ sp:varName "wellboreInfo"^^xsd:string
] ;
sp:predicate ddr:statusInfoRef ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "temporalPartOfARig"^^xsd:string
[ sp:varName "spudDate"^^xsd:string
] ;
sp:predicate ep-activity:onRig ;
sp:predicate ddr:dTimSpud ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
[ sp:varName "wellboreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "elevKelly"^^xsd:string
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate ddr:elevKellyRef ;
sp:predicate ep-activity:onWellBore ;
sp:subject
[ sp:varName "statusInfo"^^xsd:string
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "real"^^xsd:string
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate ep-core:temporalPartOf ;
sp:subject
[ sp:varName "elevKelly"^^xsd:string
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "uom"^^xsd:string
] ;
sp:predicate ddr:uomRef ;
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "elevKelly"^^xsd:string
[ sp:varName "wellBore"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -662,28 +636,82 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:variable
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 160b Set rig for drilling activity - NPD Code not supplied"^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate ep-activity:onRig ;
sp:subject _:b7
] [ sp:object ep-facility:TemporalPartOfARig ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b8 ;
sp:predicate ep-core:temporalPartOf ;
sp:subject _:b6
] [ sp:object ep-facility:Rig ;
sp:predicate rdf:type ;
sp:subject _:b8
]) ;
sp:where ([ sp:object _:b9 ;
sp:predicate ep-spin-lib:nameWellbore ;
sp:subject spin:_this
] [ sp:object _:b10 ;
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object _:b11 ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object _:b12 ;
sp:predicate ddr:rigAliasRef ;
sp:subject _:b11
] [ sp:object
[ sp:varName "code"^^xsd:string
] ;
sp:predicate ddr:name ;
sp:subject _:b12
] [ rdf:type sp:Union ;
sp:elements (([ sp:object "NPD Code"^^xsd:string ;
sp:predicate ddr:namingSystem ;
sp:subject _:b12
]) ([ sp:object "NPD code"^^xsd:string ;
sp:predicate ddr:namingSystem ;
sp:subject _:b12
]))
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectLengthScale ;
sp:arg1 [ sp:varName "uom"^^xsd:string
]
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 _:b9
] ;
sp:variable
[ sp:varName "lengthScale"^^xsd:string
]
sp:variable _:b13
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ;
sp:arg1 _:b13 ;
sp:arg2 _:b10
] ;
sp:variable _:b7
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 168 Transfer fixedRig
This rule processes data from statusInfo, but is here because it must be executed after a rig has been defined."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "fixedOrMoveableRigType"^^xsd:string
] ;
sp:predicate rdf:type ;
rdfs:comment "STEP 163 Set drilling contractor for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate ep-activity:drillingContractor ;
sp:subject
[ sp:varName "rig"^^xsd:string
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object ep-org:Company ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object
[ sp:varName "nameContractor"^^xsd:string
] ;
sp:predicate ep-core:name ;
sp:subject _:b14
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -696,35 +724,16 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:predicate ddr:dTimStart ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "temporalPartOfARig"^^xsd:string
] ;
sp:predicate ep-activity:onRig ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "rig"^^xsd:string
] ;
sp:predicate ep-core:temporalPartOf ;
sp:subject
[ sp:varName "temporalPartOfARig"^^xsd:string
]
] [ sp:object ep-facility:Rig ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "rig"^^xsd:string
]
] [ sp:object
[ sp:varName "statusInfo"^^xsd:string
[ sp:varName "wellboreInfo"^^xsd:string
] ;
sp:predicate ddr:statusInfoRef ;
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "fixedRig"^^xsd:string
[ sp:varName "nameContractor"^^xsd:string
] ;
sp:predicate ddr:fixedRig ;
sp:predicate ddr:drillContractor ;
sp:subject
[ sp:varName "statusInfo"^^xsd:string
[ sp:varName "wellboreInfo"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
......@@ -748,25 +757,40 @@ This rule processes data from statusInfo, but is here because it must be execute
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:selectFixedOrMoveableRigType ;
sp:arg1 [ sp:varName "fixedRig"^^xsd:string
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "nameContractor"^^xsd:string
]
] ;
sp:variable
[ sp:varName "fixedOrMoveableRigType"^^xsd:string
[ sp:varName "normalizedContractorName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type rhspin:companyById ;
arg:id [ sp:varName "normalizedContractorName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "contractor"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 166 Set SPUD date"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "spudDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/well#wellBoreSpudAt> ;
rdfs:comment "STEP 162 Set drilling operator for drilling activity"^^xsd:string ;
sp:templates ([ sp:object _:b15 ;
sp:predicate ep-activity:drillingOperator ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object ep-org:Company ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object
[ sp:varName "nameOperator"^^xsd:string
] ;
sp:predicate ep-core:name ;
sp:subject _:b15
]) ;
sp:where ([ sp:object
[ sp:varName "nameWellBore"^^xsd:string
......@@ -784,31 +808,12 @@ This rule processes data from statusInfo, but is here because it must be execute
sp:predicate ddr:wellboreInfoRef ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "spudDate"^^xsd:string
[ sp:varName "nameOperator"^^xsd:string
] ;
sp:predicate ddr:dTimSpud ;
sp:predicate ddr:operator ;
sp:subject
[ sp:varName "wellboreInfo"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
] ;
sp:predicate ep-activity:onWellBore ;
sp:subject
[ sp:varName "dailyDrillingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate ep-core:temporalPartOf ;
sp:subject
[ sp:varName "temporalPartOfAWellBore"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
......@@ -832,17 +837,20 @@ This rule processes data from statusInfo, but is here because it must be execute
])
] .
_:b4 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b7 sp:varName "dailyDrillingActivity"^^xsd:string .
_:b6 sp:varName "nameWellBore"^^xsd:string .
_:b9 sp:varName "nameWellBore"^^xsd:string .
_:b7 sp:varName "dTimStart"^^xsd:string .
_:b10
sp:varName "dTimStart"^^xsd:string .
_:b8 sp:varName "wellboreInfo"^^xsd:string .
_:b11
sp:varName "wellboreInfo"^^xsd:string .
_:b9 sp:varName "rigAlias"^^xsd:string .
_:b12
sp:varName "rigAlias"^^xsd:string .
_:b10
_:b13
sp:varName "normalizedWellBoreName"^^xsd:string .
[] rdf:type sp:Modify .
......@@ -853,10 +861,10 @@ _:b10
[] rdf:type smf:regex .
([]) .
([] [] [ rdf:type sp:Filter
] [ rdf:type sp:Bind
]) .
([]) .
([]) .
......
......@@ -6,7 +6,7 @@
let:wb="{# SELECT ?wb WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-activity:onWellBore ?wbPart . ?wbPart ep-core:temporalPartOf ?wb}}"
let:rig="{# SELECT ?rig WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-activity:onRig/ep-core:temporalPartOf ?rig } }"
let:repType="{# SELECT ?repType WHERE {?report a ?repType . ?repType a ep-report:DailyDrillingReportFinalisationType} }"
let:rigType="{# SELECT ?rigType WHERE { ?rig a ?rigType . ?rigType a ep-fac:FixedOrMoveableFacilityType} }"
let:rigType="{# SELECT ?rigType WHERE { ?rig a ?rigType . ?rigType a ep-fac:FixedOrMoveableRigType} }"
let:wbTightType="{# SELECT ?wbTightType WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType} }"
let:wbPTType="{# SELECT ?wbPTType WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType} }"
let:firstActivity="{# SELECT ?firstActivity WHERE {?activity a ep-activity:DailyDrillingActivity . ?report ep-report:reportOn ?activity . ?activity ep-core:hasPart ?firstActivity . ?firstActivity a ep-activity:DrillingActivity . ?firstActivity ep-activity:startedAt ?startedAt} ORDER BY (?startedAt) LIMIT 1}"
......