David Leal

Merge branch 'welltest8'

......@@ -36,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#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
<http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity>
rdf:type ep-prodact:ProductionOperationClassByDuration .
......@@ -51,7 +51,7 @@
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-core:Mass
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "mass"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfAmountOfMaterial .
......@@ -92,13 +92,13 @@ ep-core:Mass
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodact:AdministerFirstAid
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:AirTrafficOperation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
ep-prodact:Alarm
rdf:type owl:Class ;
......@@ -117,49 +117,49 @@ ep-prodact:AmountOfSubstance
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodact:AnnualProductionActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionActivityToDate
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivity .
ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperationsActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToDate .
ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionVolumeActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToDate .
ep-prodact:CargoShipOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
ep-prodact:ConstructionOperation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:CumulativeProductionActivitySinceProductionBegan
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DailyProductionOperationsActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
ep-prodact:DailyProductionVolumeActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> .
ep-prodact:Deviation
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:DrillOrExcercise
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:Fire
......@@ -181,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#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> .
ep-prodact:FusionOfHSEActivitiesOverPeriod
rdf:type owl:Class ;
......@@ -200,21 +200,21 @@ ep-prodact:Incident
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:InitialWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "initial"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:InjectionWellTest
rdf:type owl:Class ;
rdfs:label "injection 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> .
ep-prodact:Injury
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermit
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:JobObservation
......@@ -234,20 +234,20 @@ ep-prodact:LostTimeIncident
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:MaintenanceActivity
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:MarineOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:TransportationActivity , ep-prodact:PartOfProductionActivity .
rdfs:subClassOf ep-prodact:PartOfProductionActivity , ep-prodact:TransportationActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> .
ep-prodact:NearMiss
......@@ -259,12 +259,12 @@ ep-prodact:NotablePartOfProductionActivity
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:OtherProductionActivity
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "other production activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:OtherReasonWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "other"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -279,17 +279,17 @@ ep-prodact:Participation
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:PeriodicWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "periodic"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PowerStationFailure
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:ProductionActivityLastingLessThanAYear
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionActivityType
......@@ -302,7 +302,7 @@ ep-prodact:ProductionOperationClassByDuration
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperationsActivity
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdfs:label "production operations activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -315,7 +315,7 @@ ep-prodact:ReleasedToWater
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReportHazard
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWork
......@@ -323,11 +323,11 @@ ep-prodact:RestrictedWork
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:RestrictedWorkInjury
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "revision"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -336,7 +336,7 @@ ep-prodact:SafetyActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SafetyMeeting
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SampleAmountOfSubstance
......@@ -356,7 +356,7 @@ ep-prodact:SickOnBoard
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:TransportationActivity
......@@ -364,7 +364,7 @@ ep-prodact:TransportationActivity
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:UnknownReasonWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:label "unknown"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -372,9 +372,14 @@ ep-prodact:WaterCleaningOperation
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:WaterDischarge
rdf:type owl:Class ;
rdfs:label "water discharge"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:WaterSample
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:SampleAmountOfSubstance , <http://www.reportinghub.no/ep/schema/well#Water> .
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/well#Water> , ep-prodact:SampleAmountOfSubstance .
ep-prodact:WellTestReasonType
rdf:type rdfs:Class ;
......@@ -382,11 +387,11 @@ ep-prodact:WellTestReasonType
rdfs:subClassOf owl:Class .
ep-prodact:WorkingUnderPermit
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:WorkingUnderPermitWithSJA
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:ammoniumDensity
......@@ -444,7 +449,7 @@ ep-prodact:hasPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:hasShutInPressure
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -456,25 +461,25 @@ ep-prodact:hasValidPredecessor
rdfs:range <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:injectionWellTestMaximumAnnularPressure
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-prodact:InjectionWellTest ;
rdfs:label "injection well test maximum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestMinimumAnnularPressure
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-prodact:InjectionWellTest ;
rdfs:label "injection well test minimum annular pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadFlowingPressure
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-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead flowing pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:injectionWellTestWellheadMaximumPressure
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-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
......@@ -540,7 +545,7 @@ ep-prodact:oilInWater
rdfs:range ep-core:SpecificMass .
ep-prodact:onProductionFacility
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
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> .
......@@ -561,7 +566,7 @@ ep-prodact:productionActivityPeriodClassification
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:productionOperator
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
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> .
......@@ -577,7 +582,7 @@ ep-prodact:samplePhValue
rdfs:range xsd:double .
ep-prodact:samplePoint
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-core#TemporalPartOfAPointInSpace> .
......@@ -592,7 +597,7 @@ ep-prodact:sampleTurbidity
rdfs:range xsd:double .
ep-prodact:testedWellBoreInterval
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "tested wellbore interval"^^xsd:string ;
rdfs:range ep-core:PhysicalObject .
......
......@@ -756,6 +756,78 @@ ep-dpr-spin-lib:selectAreaScale
])
] .
ep-dpr-spin-lib:selectCrewCountRelationshipType
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "crewCountRelationshipType"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_cateringcrew>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfCateringCrew> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_contractorcrew>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfContractorCrew> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_dayvisitors>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfDayVisitors> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_drillingcontractcrew>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfDrillingContractCrew> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_owncrew>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnCrew> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_ownothercrew>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnOtherCrew> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_othercrew>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfOtherCrew> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#CT_personnelonboard>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-facility#numberOfPersonnelOnBoard> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/flow#ProductionFlow>
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "crewCountRelationshipType"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectDensityAtStandardTemperaturePressureType
rdf:type spin:Function ;
rdfs:label "select DensityAtStandardTemperaturePressureType"^^xsd:string ;
......@@ -2617,6 +2689,24 @@ ep-dpr-spin-lib:selectLengthScale
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#LU_ftInd75>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#foot_Indian_1975> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MDU_m>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MDU_ft>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#foot> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#MDU_ftUS>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#footUS> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
......@@ -2673,6 +2763,9 @@ ep-dpr-spin-lib:selectLengthScale
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
......@@ -4118,6 +4211,92 @@ ep-dpr-spin-lib:selectProductType
])
] .
ep-dpr-spin-lib:selectProductionActivityDurationType
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "productionActivityDurationType"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_dailymonthtodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_dailyyeartodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_day>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_monthtodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_month>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_report>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_week>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_yeartodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_year>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivity> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
]
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "productionActivityDurationType"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectProductionActivityType
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
......@@ -5399,89 +5578,6 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
])
] .
ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b31) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_dailymonthtodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_dailyyeartodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_day>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_monthtodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_month>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#MonthlyProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_report>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_totalcumulative>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_week>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/activity#WeeklyProductionActivity> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_yeartodate>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationsActivityToEndOfReportingPeriod> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#RP_year>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivity> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/activity#ProductionActivity>
]
]
]
]
]
]
]
]
]
] ;
sp:variable _:b31
])
] .
ep-dpr-spin-lib:selectVelocityScale
rdf:type spin:Function ;
rdfs:label "select velocity scale"^^xsd:string ;
......@@ -5701,7 +5797,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b32) ;
sp:resultVariables (_:b31) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5726,7 +5822,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b32
sp:variable _:b31
])
] .
......@@ -5736,7 +5832,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b33) ;
sp:resultVariables (_:b32) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
......@@ -5761,7 +5857,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
]
]
] ;
sp:variable _:b33
sp:variable _:b32
])
] .
......@@ -6879,92 +6975,89 @@ ep-dpr-spin-lib:selectWellTestReasonType
])
] .
_:b33
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b32
sp:varName "volumeAtStdType"^^xsd:string .
_:b31
sp:varName "prodActType"^^xsd:string .
_:b30
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b29
sp:varName "specificVolumeScale"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "safetyActivityType"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b27
sp:varName "relationshipToMeasure"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "productType"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b19
_:b11
sp:varName "uri"^^xsd:string .
_:b18
_:b12
sp:varName "uri"^^xsd:string .
_:b17
_:b13
sp:varName "uri"^^xsd:string .
_:b16
_:b14
sp:varName "uri"^^xsd:string .
_:b15
sp:varName "uri"^^xsd:string .
_:b14
_:b16
sp:varName "uri"^^xsd:string .
_:b13
_:b17
sp:varName "uri"^^xsd:string .
_:b12
_:b18
sp:varName "uri"^^xsd:string .
_:b11
_:b19
sp:varName "uri"^^xsd:string .
_:b10
sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b9 sp:varName "uri"^^xsd:string .
_:b21
sp:varName "productType"^^xsd:string .
_:b8 sp:varName "uri"^^xsd:string .
_:b22
sp:varName "productionFacilityType"^^xsd:string .
_:b7 sp:varName "uri"^^xsd:string .
_:b23
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b6 sp:varName "uri"^^xsd:string .
_:b24
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b5 sp:varName "uri"^^xsd:string .
_:b25
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b4 sp:varName "uri"^^xsd:string .
_:b26
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b3 sp:varName "UUID"^^xsd:string .
_:b27
sp:varName "relationshipToMeasure"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b28
sp:varName "safetyActivityType"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b29
sp:varName "specificVolumeScale"^^xsd:string .
_:b30
sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
_:b31
sp:varName "volumeAtStdType"^^xsd:string .
_:b32
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
......