David Leal

Updates to productionOperations transform

......@@ -4,6 +4,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization
......@@ -18,7 +19,7 @@
<http://www.reportinghub.no/ep/schema/1.0/production-activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
......@@ -35,7 +36,7 @@
<http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
rdf:type owl:Class ;
rdfs:label "production well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
......@@ -50,7 +51,7 @@
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-core:Mass
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "mass"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
......@@ -91,13 +92,13 @@ ep-core:Mass
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodact:AdministerFirstAid
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:AirTrafficOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:Alarm
rdf:type owl:Class ;
......@@ -116,49 +117,49 @@ ep-prodact:AmountOfSubstance
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodact:AnnualProductionActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
ep-prodact:AnnualProductionActivityToDate
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperationsActivity .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:ConstructionOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DailyProductionOperationsActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
ep-prodact:DailyProductionVolumeActivity
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
ep-prodact:Deviation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:DrillOrExcercise
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:Fire
......@@ -180,7 +181,7 @@ ep-prodact:FlowLine-Production
ep-prodact:FluidLevelTest
rdf:type owl:Class ;
rdfs:label "fluid level test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:FusionOfHSEActivitiesOverPeriod
rdf:type owl:Class ;
......@@ -199,21 +200,21 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:InitialWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "initial"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:InjectionWellTest
rdf:type owl:Class ;
rdfs:label "injection well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:Injury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:JobObservation
......@@ -233,20 +234,20 @@ ep-prodact:LostTimeIncident
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:MaintenanceActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:NearMiss
......@@ -258,12 +259,12 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:OtherProductionActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "other production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:OtherReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -278,17 +279,17 @@ ep-prodact:Participation
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:PeriodicWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "periodic"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PowerStationFailure
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:ProductionActivityLastingLessThanAYear
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionActivityType
......@@ -301,7 +302,7 @@ ep-prodact:ProductionOperationClassByDuration
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperationsActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:label "production operations activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -314,7 +315,7 @@ ep-prodact:ReleasedToWater
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReportHazard
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWork
......@@ -322,11 +323,11 @@ ep-prodact:RestrictedWork
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWorkInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "revision"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -335,7 +336,7 @@ ep-prodact:SafetyActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SafetyMeeting
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SampleAmountOfSubstance
......@@ -355,7 +356,7 @@ ep-prodact:SickOnBoard
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:TransportationActivity
......@@ -363,7 +364,7 @@ ep-prodact:TransportationActivity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnknownReasonWellTest
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdfs:label "unknown"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -373,7 +374,7 @@ ep-prodact:WaterCleaningOperation
ep-prodact:WaterSample
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> .
ep-prodact:WellTestReasonType
rdf:type rdfs:Class ;
......@@ -381,11 +382,11 @@ ep-prodact:WellTestReasonType
rdfs:subClassOf owl:Class .
ep-prodact:WorkingUnderPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:WorkingUnderPermitWithSJA
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:ammoniumDensity
......@@ -443,7 +444,7 @@ ep-prodact:hasPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:hasShutInPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -455,35 +456,29 @@ ep-prodact:hasValidPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:injectionWellTestMaximumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestMinimumAnnularPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadFlowingPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadMaximumPressure
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:involvedVessel
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MarineOperation ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> ;
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:involvement
rdf:type owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
......@@ -545,7 +540,7 @@ ep-prodact:oilInWater
rdfs:range ep-core:SpecificMass .
ep-prodact:onProductionFacility
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "on facility"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
......@@ -555,12 +550,6 @@ ep-prodact:oxygenInWater
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:SpecificMass .
ep-prodact:performedByShip
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:CargoShipOperation ;
rdfs:label "performed by ship"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-equipment#CargoShip> .
ep-prodact:phenolDensity
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
......@@ -572,7 +561,7 @@ ep-prodact:productionActivityPeriodClassification
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:productionOperator
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "production operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
......@@ -588,9 +577,9 @@ ep-prodact:samplePhValue
rdfs:range xsd:double .
ep-prodact:samplePoint
rdf:type owl:DatatypeProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range xsd:string .
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
ep-prodact:sampleTemperature
rdf:type owl:ObjectProperty ;
......@@ -602,14 +591,8 @@ ep-prodact:sampleTurbidity
rdfs:domain ep-prodact:WaterSample ;
rdfs:range xsd:double .
ep-prodact:standbyVessel
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MarineOperation ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> ;
rdfs:subPropertyOf ep-prodact:involvedVessel .
ep-prodact:testedWellBoreInterval
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "tested wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
......@@ -629,10 +612,22 @@ ep-prodact:waterSampleTaken
rdfs:domain ep-prodact:WaterCleaningOperation ;
rdfs:range ep-prodact:WaterSample .
ep-prodact:withProductCarryingShip
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MarineOperation ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#OilTanker> ;
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:withStandByVessel
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MarineOperation ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#Ship> ;
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:yearlyActivityToDate
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ;
rdfs:range ep-prodact:AnnualProductionActivityToEndOfReportingPeriod .
rdfs:range ep-prodact:AnnualProductionActivityToDate .
<http://www.reportinghub.no/ep/schema/well#WellGroup>
rdf:type owl:Class .
......
......@@ -10,21 +10,10 @@
<http://www.reportinghub.no/ep/schema/1.0/production-equipment>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-organization> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodeqt:CargoShip
rdf:type owl:Class ;
rdfs:label "cargo ship"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Vessel .
ep-prodeqt:Vessel
rdf:type owl:Class ;
rdfs:label "vessel"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:hasCaptain
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-prodeqt:Vessel ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#Person> .
......
# Saved by TopBraid on Thu Oct 13 12:41:06 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-prodfac: <http://www.reportinghub.no/ep/schema/production-facility#> .
......@@ -12,7 +11,7 @@
<http://www.reportinghub.no/ep/schema/1.0/production-facility>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
......@@ -21,7 +20,7 @@
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
<http://www.reportinghub.no/ep/schema/facility#facilityOperator>
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 <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "facility operator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
......@@ -30,14 +29,25 @@ ep-prodfac:Boat
rdf:type owl:Class ;
rdfs:subClassOf ep-prodfac:ShipOrBoat .
ep-prodfac:OilTanker
rdf:type owl:Class ;
rdfs:label "oil tanker"^^xsd:string ;
rdfs:subClassOf ep-prodfac:Ship .
ep-prodfac:Ship
rdf:type owl:Class ;
rdfs:label "Ship"^^xsd:string ;
rdfs:subClassOf ep-prodfac:ShipOrBoat .
ep-prodfac:ShipOrBoat
rdf:type owl:Class ;
rdfs:subClassOf ep-prodfac:TemporalPartOfAShipOrBoat .
ep-prodfac:SupplyShip
rdf:type owl:Class ;
rdfs:label "supply ship"^^xsd:string ;
rdfs:subClassOf ep-prodfac:Ship .
ep-prodfac:TemporalPartOfAShipOrBoat
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
......
......@@ -15,32 +15,32 @@
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodwell:Air
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "air"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:Brine
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "brine"^^xsd:string ;
rdfs:subClassOf ep-well:Water .
ep-prodwell:Co2
rdf:type owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:DryFluid
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "dry fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:FreshWater
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "fresh water"^^xsd:string ;
rdfs:subClassOf ep-well:Water .
ep-prodwell:GasAndWater
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "gas and water"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
......@@ -55,72 +55,72 @@ ep-prodwell:NaturalGasClass
rdfs:subClassOf owl:Class .
ep-prodwell:NonHcGas
rdf:type ep-prodwell:InjectionFluidType , owl:Class ;
rdf:type owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "non-HC gas"^^xsd:string ;
rdfs:subClassOf ep-well:Gas .
ep-prodwell:OilAndGas
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdfs:label "oil and gas"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:OilAndWater
rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType , owl:Class ;
rdf:type owl:Class , ep-well:FluidComponentType , ep-prodwell:InjectionFluidType ;
rdfs:label "oil and water"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:OtherInjectionFluid
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "other injection fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:Sand
rdf:type owl:Class , ep-well:FluidComponentType ;
rdf:type ep-well:FluidComponentType , owl:Class ;
rdfs:label "sand"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:Steam
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "steam"^^xsd:string ;
rdfs:subClassOf ep-prodwell:NonHcGas .
ep-prodwell:UnknownFluid
rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ;
rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ;
rdfs:label "unknown fluid"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:basicSedimentAndWater
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:label "basic sediment and water"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:condensateYield
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "condensate yield"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:depthOfBaseUsableWaterFromSurface
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:Fluid ;
rdfs:label "depth of base of usable water from surface"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:depthOfFluidSurfaceFromTopOfWell
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:Fluid ;
rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:potentialGasProduction
ep-prodwell:oilWaterRatioByMass
rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
rdfs:domain ep-well:Fluid ;
rdfs:label "oil/water ratio by mass"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#MassRatio> .
ep-prodwell:potentialOilProduction
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
ep-prodwell:potentialGasProduction
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential oil production"^^xsd:string ;
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
ep-well:Condensate
......
......@@ -21,112 +21,13 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionActivity>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#dateCoveredByReport> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
rdfs:comment """STEP 10002b Create the DailyProductionActivity - start and end dates
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
......@@ -141,26 +42,26 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToEndOfReportingPeriod> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -179,7 +80,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -232,16 +133,16 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
......@@ -261,7 +162,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
sp:arg3 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
......@@ -272,7 +173,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
......@@ -283,7 +184,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
......@@ -293,7 +194,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002b Create the DailyProductionActivity - start and end dates
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
......@@ -308,26 +209,26 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToEndOfReportingPeriod> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -346,7 +247,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
......@@ -399,16 +300,16 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
......@@ -428,7 +329,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDate"^^xsd:string
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
......@@ -439,7 +340,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
......@@ -450,7 +351,7 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
......@@ -596,4 +497,103 @@ The DPR transform will fall in a heap unless productionOperation/installationRef
[ sp:varName "productionInstallationType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-report#dateCoveredByReport> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] .
......