David Price

Merge branch 'master' into aug22-mprgok-save

......@@ -126,7 +126,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#SingleRateTest>
rdf:type owl:Class ;
......@@ -187,13 +187,13 @@ ep-prodact:AccidentPreventionExercise
rdfs:subClassOf ep-prodact:DrillOrExcercise .
ep-prodact:AdministerFirstAid
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "medical treatment that is first aid"^^xsd:string ;
rdfs:label "administer first aid"^^xsd:string ;
rdfs:subClassOf ep-prodact:MedicalTreatment .
ep-prodact:AirTrafficOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:comment "activity that is an air traffic operation"^^xsd:string ;
rdfs:label "air traffic operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -223,22 +223,22 @@ ep-prodact:AlertType
rdfs:subClassOf owl:Class .
ep-prodact:AllocateSplitFactors
rdf:type ep-prodact:SplitFactorDeterminationType , owl:Class ;
rdf:type owl:Class , ep-prodact:SplitFactorDeterminationType ;
rdfs:comment "activity that is allocating the fraction of a source flow that is assumed to go into different product streams"^^xsd:string ;
rdfs:label "allocate split factors"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:AnnualProductionActivityToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:comment "production activity that is during the year to date"^^xsd:string ;
rdfs:label "annual production activity to date"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:AnnualProductionOperationToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:comment "production operation from the beginning of an annual reporting period to a date within, or at the end of, the reporting period"^^xsd:string ;
rdfs:label "annual production operation to date"^^xsd:string ;
rdfs:subClassOf ep-prodact:AnnualProductionActivityToDate , ep-prodact:ProductionOperation .
rdfs:subClassOf ep-prodact:ProductionOperation , ep-prodact:AnnualProductionActivityToDate .
ep-prodact:BasketMovement
rdf:type owl:Class ;
......@@ -253,7 +253,7 @@ ep-prodact:CargoShipOperation
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ConstructionOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:comment "activity that is construction"^^xsd:string ;
rdfs:label "construction operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> ;
......@@ -261,7 +261,7 @@ ep-prodact:ConstructionOperation
"http://posccaesar.org/rdl/RDS9685637"^^xsd:string .
ep-prodact:DailyProductionOperationProcessingLoss
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is all that happens to cause production operation processing loss in one day"^^xsd:string ;
rdfs:label "daily production operation processing loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -279,7 +279,7 @@ ep-prodact:DefinedHazardAndAccidentSituation
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:Deviation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:comment "activity that is a deviation from existing procedures and guidelines"^^xsd:string ;
rdfs:label "deviation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -291,25 +291,25 @@ ep-prodact:DischargeWater
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:DrillOrExcercise
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "activity that is a drill or exercise intended to prevent harm to health, safety or the environment"^^xsd:string ;
rdfs:label "drill or exercise"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ExtendedMaintenanceTurnaround
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is an extended maintenance turnaround"^^xsd:string ;
rdfs:label "extended maintenance turnaround"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ExtendedMaintenanceTurnaroundExportTerminal
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "extended maintenance turnaround that is for an export terminal"^^xsd:string ;
rdfs:label "extended maintenance turnaround export terminal"^^xsd:string ;
rdfs:subClassOf ep-prodact:ExtendedMaintenanceTurnaround .
ep-prodact:Fire
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "incident that is an unintentional fire"^^xsd:string ;
rdfs:label "fire"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
......@@ -321,61 +321,61 @@ ep-prodact:FluidLevelTest
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> .
ep-prodact:FluidSampling-DST
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "fluid sampling and analysis that has a sample taken as part of a drill stem test"^^xsd:string ;
rdfs:label "fluid sampling - DST"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-RFTorMDT
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - RFT or MDT"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-bottomhole
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "fluid sampling and analysis that has a sample taken from the bottom of a wellbore"^^xsd:string ;
rdfs:label "fluid sampling - bottomhole"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-formationTester
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "fluid sampling and analysis that has the sample taken by a formation tester"^^xsd:string ;
rdfs:label "fluid sampling - formation tester"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-recombined
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - recombined"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorGas
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - separator gas"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorOil
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - separator oil"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-separatorWater
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - separator water"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-synthetic
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "<no definition in MPR-XSD>"^^xsd:string ;
rdfs:label "fluid sampling - synthetic"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
ep-prodact:FluidSampling-wellhead
rdf:type ep-prodact:FluidSamplingType , owl:Class ;
rdf:type owl:Class , ep-prodact:FluidSamplingType ;
rdfs:comment "fluid sampling and analysis that has the sample taken at the well head"^^xsd:string ;
rdfs:label "fluid sampling - wellhead"^^xsd:string ;
rdfs:subClassOf ep-prodact:FluidSamplingAndAnalysis .
......@@ -393,7 +393,7 @@ ep-prodact:FluidSamplingType
rdfs:subClassOf owl:Class .
ep-prodact:HSEProblem
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is an HSE problem"^^xsd:string ;
rdfs:label "HSE problem"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -411,7 +411,7 @@ 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:comment "well test that is the first on a well"^^xsd:string ;
rdfs:label "initial well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -429,25 +429,25 @@ ep-prodact:Injury
rdfs:subClassOf ep-prodact:AccidentOrInjury .
ep-prodact:IssueBillOfLading
rdf:type ep-prodact:SalesActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SalesActivityType ;
rdfs:comment "sales activity that is issuing a bill of lading"^^xsd:string ;
rdfs:label "issue bill of lading"^^xsd:string ;
rdfs:subClassOf ep-prodact:SalesActivity .
ep-prodact:IssueWorkPermit
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "activity that is issuing a work permit"^^xsd:string ;
rdfs:label "issue work permit"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:IssueWorkPermitWithSJA
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "issue a work permit with Safe Job Analysis"^^xsd:string ;
rdfs:label "issue work permit with SJA"^^xsd:string ;
rdfs:subClassOf ep-prodact:IssueWorkPermit .
ep-prodact:JobObservation
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "<not defined in MPR-XSD>"^^xsd:string ;
rdfs:label "job observation"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
......@@ -465,13 +465,13 @@ ep-prodact:LostTimeAccident
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:LostTimeIncident
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "incident that results in an injured employee who requires medical treatment and cannot return to work the next day (source: MPR-XSD)"^^xsd:string ;
rdfs:label "lost time incident"^^xsd:string ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:MaintenanceActivity
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:comment "activity that is maintenance"^^xsd:string ;
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
......@@ -485,7 +485,7 @@ ep-prodact:MakeAComment
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:MakeATransaction
rdf:type ep-prodact:SalesActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SalesActivityType ;
rdfs:comment "sales activity that is making a transaction"^^xsd:string ;
rdfs:label "make a transaction"^^xsd:string ;
rdfs:subClassOf ep-prodact:SalesActivity .
......@@ -497,13 +497,13 @@ ep-prodact:MarineOperation
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:MarkedGasLossOfExport
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is not exporting gas due to marked product"^^xsd:string ;
rdfs:label "marked gas loss of export"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:MarkedOilLossOfExport
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is not exporting oil due to marked product"^^xsd:string ;
rdfs:label "marked oil loss of export"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -515,7 +515,7 @@ ep-prodact:MeasurePropertiesOfAFlow
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:MeasureSplitFactors
rdf:type ep-prodact:SplitFactorDeterminationType , owl:Class ;
rdf:type owl:Class , ep-prodact:SplitFactorDeterminationType ;
rdfs:comment "activity that is measuring the fraction of a source flow that goes into different product streams"^^xsd:string ;
rdfs:label "measure split factors"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
......@@ -527,19 +527,19 @@ ep-prodact:MedicalTreatment
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:MedicalTreatmentInjury
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "injury that requires medical treatment"^^xsd:string ;
rdfs:label "medical treatment injury"^^xsd:string ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:ModificationProject
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a modification project"^^xsd:string ;
rdfs:label "modification project"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:MonthlyProductionOperationToDate
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionOperationClassByDuration ;
rdfs:comment "production operation from the beginning of a monthly reporting period to a date within, or at the end of, the reporting period"^^xsd:string ;
rdfs:label "monthly production operation to date"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperation .
......@@ -557,25 +557,25 @@ ep-prodact:MovementOfProductType
rdfs:subClassOf owl:Class .
ep-prodact:NearMiss
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "incident that under different circumstances could have caused injury, illness and/or major damage to/loss of assets, or harm to the environment or to a third party (source: MPR-XSD)"^^xsd:string ;
rdfs:label "near miss"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
ep-prodact:OperationMistakes
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is an operation mistake"^^xsd:string ;
rdfs:label "operation mistakes"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:OtherReasonWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:comment "well test that is not initial, periodic, or a revision"^^xsd:string ;
rdfs:label "other reason well text"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:PeriodicWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:comment "well test that is carried out as part of a periodic testing regime"^^xsd:string ;
rdfs:label "periodic well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -587,115 +587,115 @@ ep-prodact:PersonnelSafetyIntroduction
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:PlannedMaintenanceTurnaround
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a planned maintenance turnaround"^^xsd:string ;
rdfs:label "planned maintenace turnaround"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:PowerStationFailure
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:comment "activity that is the failure of a power station"^^xsd:string ;
rdfs:label "power station failure"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:PreventiveMaintenanceTopside
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is preventive maintenance topside"^^xsd:string ;
rdfs:label "preventive maintenace topside"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ProcessAndOperationProblem
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a process and operation problem"^^xsd:string ;
rdfs:label "process and operation problem"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ProductCompletedLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is exported from a stock within a given time period (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product completed lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductGain-Loss
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is the lack of proper proportion or relation between the corresponding input and liftings transactions (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product gain/loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductInputToStorage
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is addition to a stock within a given time period (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product input to storage"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLifted
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is from storage"^^xsd:string ;
rdfs:label "product lifted"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLiftingEntitlement
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that <not documented in XSD>"^^xsd:string ;
rdfs:label "product lifting entitlement"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLiftingEntitlementRemaining
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that <not documented in XSD>"^^xsd:string ;
rdfs:label "product lifting entitlement remaining"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductLinePack
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that provides the quantity of gas which the operator responsible for gas transportation decides must be provided by the gas producing fields in order to make deliveries as requested by gas shippers and provide operating tolerances (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product line pack"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductMassAdjustment
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that <not documented in XSD>"^^xsd:string ;
rdfs:label "product mass adjustment"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductPartialLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is a lifting up to a (not completed) determined point in time (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product partial lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductPipelineLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is exported from a stock by a pipeline"^^xsd:string ;
rdfs:label "product pipeline lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductProductionImbalance
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is the difference between the amount of gas entering and exiting a shipper's nomination portfolio. This will take into account all differences whatever the time or reason it occurs. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product production imbalance"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductSwap
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that <not documented in XSD>"^^xsd:string ;
rdfs:label "product swap"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductTankerLifting
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that is exported from a stock by a tanker"^^xsd:string ;
rdfs:label "product tanker lifting"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductTransaction
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that <not documented in XSD>"^^xsd:string ;
rdfs:label "product transaction"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
ep-prodact:ProductTransfer
rdf:type ep-prodact:MovementOfProductType , owl:Class ;
rdf:type owl:Class , ep-prodact:MovementOfProductType ;
rdfs:comment "movement of product that <not documented in XSD>"^^xsd:string ;
rdfs:label "product transfer"^^xsd:string ;
rdfs:subClassOf ep-prodact:MovementOfProduct .
......@@ -707,7 +707,7 @@ ep-prodact:ProductionActivityType
rdfs:subClassOf owl:Class .
ep-prodact:ProductionOperation
rdf:type ep-prodact:ProductionActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:ProductionActivityType ;
rdfs:comment "production activity that is all of what is done in the operation of a facility during a period"^^xsd:string ;
rdfs:label "production operation"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -736,13 +736,13 @@ ep-prodact:ProductionOperationProcessingLoss
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:ProductionOperationProcessingLossForUnspecifiedReason
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a production operation processing loss without a specified reason"^^xsd:string ;
rdfs:label "production operation processing loss for unspecified reason"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ProductionOperationProcessingRegulatoryReference
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a production operation processing regulatory reference"^^xsd:string ;
rdfs:label "production operation processing regulatory reference"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -766,25 +766,25 @@ ep-prodact:ReasonForLossOfProcessingType
rdfs:subClassOf owl:Class .
ep-prodact:ReleaseToAir
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "spill or leak that is to air"^^xsd:string ;
rdfs:label "release to air"^^xsd:string ;
rdfs:subClassOf ep-prodact:SpillOrLeak .
ep-prodact:ReleaseToWater
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "spill or leak that is to water"^^xsd:string ;
rdfs:label "release to water"^^xsd:string ;
rdfs:subClassOf ep-prodact:SpillOrLeak .
ep-prodact:ReportHazard
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "activity that is making a formal report of a hazard"^^xsd:string ;
rdfs:label "report hazard"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:ReservoirLoss
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a reservoir loss"^^xsd:string ;
rdfs:label "reservoir loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -796,13 +796,13 @@ 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:comment "injury that results in a reduction in ability to work"^^xsd:string ;
rdfs:label "restricted work injury"^^xsd:string ;
rdfs:subClassOf ep-prodact:Injury .
ep-prodact:RevisionWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:comment "well test that is <not defined in MPR-XSD>"^^xsd:string ;
rdfs:label "revision well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
......@@ -820,7 +820,7 @@ ep-prodact:SafetyConsideration
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SafetyMeeting
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "activity that is a safety meeting"^^xsd:string ;
rdfs:label "safety meeting"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
......@@ -838,13 +838,13 @@ ep-prodact:SalesActivityType
rdfs:subClassOf owl:Class .
ep-prodact:SentAshore
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "activity that is sending a person ashore"^^xsd:string ;
rdfs:label "sent ashore"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SevereAccident
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "accident that challenges safety systems at a level much higher than expected (source: MPR-XSD)"^^xsd:string ;
rdfs:label "severe accident"^^xsd:string ;
rdfs:subClassOf ep-prodact:AccidentOrInjury .
......@@ -856,13 +856,13 @@ ep-prodact:ShutdownProduction
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:SickOnBoard
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "activity that is a person being ill on board"^^xsd:string ;
rdfs:label "sick on board"^^xsd:string ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
ep-prodact:SpillOrLeak
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "incident that is a spill or leak"^^xsd:string ;
rdfs:label "spill or leak"^^xsd:string ;
rdfs:subClassOf ep-prodact:Incident .
......@@ -880,7 +880,7 @@ ep-prodact:StandbyVesselOperation
rdfs:subClassOf ep-prodact:MarineOperation .
ep-prodact:StrikeOrLockout
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a strike or lock-out"^^xsd:string ;
rdfs:label "strike or lock-out"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -892,67 +892,67 @@ ep-prodact:SupplyShipOperation
rdfs:subClassOf ep-prodact:MarineOperation .
ep-prodact:TestingAndLogging
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is testing and logging"^^xsd:string ;
rdfs:label "testing and logging"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:ThirdPartyProcessingLoss
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a third party processing loss"^^xsd:string ;
rdfs:label "third party processing loss"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:TopsideEquipmentFailureMaintenance
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is an topside equipment failure and maintenance"^^xsd:string ;
rdfs:label "topside equipment failure maintenance"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:TrafficAccident
rdf:type ep-prodact:SafetyActivityType , owl:Class ;
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:comment "accident that involves one or more moving vehicles"^^xsd:string ;
rdfs:label "traffic accident"^^xsd:string ;
rdfs:subClassOf ep-prodact:AccidentOrInjury .
ep-prodact:UnavailableTankerStorage
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is unavailable tanker storage"^^xsd:string ;
rdfs:label "unavailable tanker storage"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:UnknownReasonWellTest
rdf:type ep-prodact:WellTestReasonType , owl:Class ;
rdf:type owl:Class , ep-prodact:WellTestReasonType ;
rdfs:comment "well test that is carried out for a reason that is not recorded"^^xsd:string ;
rdfs:label "unknown reason well test"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> .
ep-prodact:WeatherProblem
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is a weather problem"^^xsd:string ;
rdfs:label "weather problem"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellEquipmentFailureMaintenance
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is well equipment failure and maintenance"^^xsd:string ;
rdfs:label "well equipment failure maintenance"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellPlannedOperations
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is well planned operations"^^xsd:string ;
rdfs:label "well planned operations"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellPreventiveMaintenance
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is well preventive maintenance"^^xsd:string ;
rdfs:label "well preventive maintenance"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
ep-prodact:WellProblems
rdf:type ep-prodact:ReasonForLossOfProcessingType , owl:Class ;
rdf:type owl:Class , ep-prodact:ReasonForLossOfProcessingType ;
rdfs:comment "activity that is well problems"^^xsd:string ;
rdfs:label "well problems"^^xsd:string ;
rdfs:subClassOf ep-prodact:ProductionOperationProcessingLoss .
......@@ -991,13 +991,13 @@ ep-prodact:buyer
rdfs:range <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> .
ep-prodact:cargoBatchNumber
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:comment "identifier for a batch of cargo"^^xsd:string ;
rdfs:domain ep-material:BatchOfCargo ;
rdfs:label "cargo batch number"^^xsd:string .
ep-prodact:cargoNumber
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:comment "identifier of a cargo"^^xsd:string ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "cargo number"^^xsd:string .
......@@ -1056,7 +1056,7 @@ ep-prodact:hasDischargeFlow
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-prodact:hasGasLiftChoke
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "gas lift choke for a well test activity"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
rdfs:label "has gas lift choke"^^xsd:string ;
......@@ -1076,7 +1076,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:comment "pressure that is the shut-in pressure for a well test"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
rdfs:label "has shut-in pressure"^^xsd:string ;
......@@ -1089,35 +1089,35 @@ 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:comment "pressure that is the maximum annular pressure for an injection well test"^^xsd:string ;
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:comment "pressure that is the minimum annular pressure for an injection well test"^^xsd:string ;
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:comment "pressure that is the flowing pressure at the wellhead for an injection well test"^^xsd:string ;
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:comment "pressure that is the maximum pressure at the wellhead for an injection well test"^^xsd:string ;
rdfs:domain ep-prodact:InjectionWellTest ;
rdfs:label "injection well test wellhead maximum pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodact:lastPartOfTypeDefiningType
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "class of activity that the last part of type is a member of"^^xsd:string ;
rdfs:domain ep-prodact:LastPartOfTypeRemainingActivityPair ;
rdfs:label "last part of type defining type"^^xsd:string ;
......@@ -1131,14 +1131,14 @@ ep-prodact:measuredFlow
rdfs:range <http://www.reportinghub.no/ep/schema/flow#Flow> .
ep-prodact:movedProduct
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "quantity of material that is moved by a movement of product activity"^^xsd:string ;
rdfs:domain ep-prodact:MovementOfProduct ;
rdfs:label "moved product"^^xsd:string ;
rdfs:range ep-material:QuantityOfMaterial .
ep-prodact:onProductionFacility
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "production facility that a production activity is carried out upon"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
rdfs:label "on facility"^^xsd:string ;
......@@ -1159,7 +1159,7 @@ ep-prodact:performedByShip
rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#Ship> .
ep-prodact:processingLost
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "quantity of material that is not produced as a result of a production operation processing loss activity"^^xsd:string ;
rdfs:domain ep-prodact:ProductionOperationProcessingLoss ;
rdfs:range ep-material:QuantityOfMaterial .
......@@ -1170,7 +1170,7 @@ ep-prodact:productionActivityPeriodClassification
rdfs:range ep-prodact:ProductionOperationClassByDuration .
ep-prodact:remainingActivity
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:comment "activity that is after the last part of type"^^xsd:string ;
rdfs:domain ep-prodact:LastPartOfTypeRemainingActivityPair ;
rdfs:label "remaining activity"^^xsd:string ;
......@@ -1219,7 +1219,7 @@ ep-prodact:sourceOrganization
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-prodact:timeWorked
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:comment "time duration for the parts of a production operation activity that are working"^^xsd:string ;
rdfs:domain ep-prodact:ProductionOperation ;
rdfs:label "time worked"^^xsd:string ;
......@@ -1230,9 +1230,9 @@ ep-prodact:xpathToDataInSourceXmlFile
rdfs:domain ep-prodact:RaiseAnAlert ;
rdfs:label "XPATH to data source in XML file"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-equipment#areaOpenFraction>
rdfs:comment "ratio between the current open area and the fully open area for a valve"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-equipment#hasCaptain>
rdfs:comment "person that is the captain of a ship"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/production-facility#Ship> .
<http://www.reportinghub.no/ep/schema/production-equipment#hasValvePosition>
rdfs:comment "ratio that is the fraction of valve opening"^^xsd:string .
......
......@@ -12,7 +12,7 @@
<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-facility> , <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-facility> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
......@@ -71,17 +71,17 @@ ep-prodeqt:Valve
rdfs:label "valve"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:areaOpenFraction
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-prodeqt:Valve ;
rdfs:label "area open fraction"^^xsd:string ;
rdfs:range ep-core:AreaPerArea .
ep-prodeqt:hasCaptain
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Person> .
ep-prodeqt:hasValvePosition
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-prodeqt:Valve ;
rdfs:label "has valve position"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-prodfac:Pipeline
rdf:type owl:Class ;
rdfs:label "pipeline"^^xsd:string ;
......
......@@ -12,7 +12,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/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <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/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
......@@ -73,56 +73,56 @@
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight>
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdfs:comment "length that is the average of the higher 1/3 of the wave heights passing during a sample period (typically 20 to 30 minutes) (source: MPR-XSD)"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "average highest third wave height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#averageWaveHeight>
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:comment "length that is the average height of surface waves"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "average wave height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#cloudCeilingHeight>
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdfs:comment "length that is the height of the cloud ceiling"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#CloudCover> ;
rdfs:label "cloud ceiling height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#facilityOperator>
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:comment "organization that operates a facility"^^xsd:string ;
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> .
<http://www.reportinghub.no/ep/schema/facility#maximumWaveHeight>
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:comment "length that is the maximum height of surface waves"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "maximum wave height"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#surfaceWavePeriod>
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:comment "time duration that is the period of surface waves"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
rdfs:label "period"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
<http://www.reportinghub.no/ep/schema/facility#visibility>
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:comment "length that is the maximum distance at which things can be seen through surrounding air"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
rdfs:label "visibility"^^xsd:string ;
rdfs:range ep-core:Length .
<http://www.reportinghub.no/ep/schema/facility#windChillTemperature>
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:comment "temperature that is the wind chill temperature of surrounding air"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
rdfs:label "wind chill temperature"^^xsd:string ;
......@@ -143,12 +143,23 @@
<http://www.reportinghub.no/ep/schema/production-equipment#FlowMeter>
rdfs:label "flow meter"^^xsd:string .
ep-prodfac:AvailableFacility
rdf:type ep-prodfac:FacilityAvailabilityType , owl:Class ;
rdfs:label "available facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> ;
owl:disjointWith ep-prodfac:UnavailableFacility .
ep-prodfac:Boat
rdf:type owl:Class ;
rdfs:comment "facility that is a boat"^^xsd:string ;
rdfs:label "boat"^^xsd:string ;
rdfs:subClassOf ep-prodfac:ShipOrBoat .
ep-prodfac:FacilityAvailabilityType
rdf:type rdfs:Class ;
rdfs:label "facility availability type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodfac:Field-area
rdf:type owl:Class ;
rdfs:comment "part of the surface of the earth that is the area of ground above a field (source: MPR-XSD)"^^xsd:string ;
......@@ -236,6 +247,12 @@ ep-prodfac:TrunkLine
rdfs:label "trunk line"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodfac:UnavailableFacility
rdf:type ep-prodfac:FacilityAvailabilityType , owl:Class ;
rdfs:label "unavailable facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> ;
owl:disjointWith ep-prodfac:AvailableFacility .
ep-prodfac:numberOfBedsAvailable
rdf:type owl:DatatypeProperty ;
rdfs:comment "number of beds available on a facility"^^xsd:string ;
......@@ -243,12 +260,30 @@ ep-prodfac:numberOfBedsAvailable
rdfs:range xsd:integer .
ep-prodfac:operatingTime
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:comment "time duration that is the operating time of a temporal part of a facility"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "operating time"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
ep-prodfac:scheduledTimeUnavailable
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "scheduled time unavailable"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
ep-prodfac:shutDownSequenceNumber
rdf:type owl:DatatypeProperty ;
rdfs:comment "shut down sequence number"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:range xsd:integer .
ep-prodfac:timeAvailable
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "time available"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
<http://www.reportinghub.no/ep/schema/well#Cluster>
rdf:type ep-prodfac:ReportingFacilityType .
......
......@@ -18,6 +18,10 @@
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#AreaPerArea>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_relativevalveopening> , <http://www.epim.no/schemas/mprml/1#FP_chokesize> .
<http://www.reportinghub.no/ep/schema/core#Density>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> .
......@@ -34,6 +38,10 @@
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> .
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_facilityuptime> , <http://www.epim.no/schemas/mprml/1#FP_scheduleddowntime> .
<http://www.reportinghub.no/ep/schema/equipment#Casing>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> .
......@@ -46,10 +54,42 @@
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> .
<http://www.reportinghub.no/ep/schema/facility#Facility>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_available> , <http://www.epim.no/schemas/mprml/1#FP_facilityuptime> , <http://www.epim.no/schemas/mprml/1#FP_scheduleddowntime> , <http://www.epim.no/schemas/mprml/1#FP_shutdownorder> .
<http://www.reportinghub.no/ep/schema/flow#Flow>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_temperature> .
<http://www.reportinghub.no/ep/schema/production-equipment#areaOpenFraction>
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_relativevalveopening> , <http://www.epim.no/schemas/mprml/1#FP_chokesize> .
<http://www.reportinghub.no/ep/schema/production-facility#AvailableFacility>
transhelp:valueOfPropertyMapsToMPRString
"true"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-facility#FacilityAvailabilityType>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_available> .
<http://www.reportinghub.no/ep/schema/production-facility#UnavailableFacility>
transhelp:valueOfPropertyMapsToMPRString
"false"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-facility#scheduledTimeUnavailable>
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_scheduleddowntime> .
<http://www.reportinghub.no/ep/schema/production-facility#shutDownSequenceNumber>
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_shutdownorder> .
<http://www.reportinghub.no/ep/schema/production-facility#timeAvailable>
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_facilityuptime> .
<http://www.reportinghub.no/ep/schema/production-well#Annulus>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_annuluspressure> .
......@@ -64,7 +104,7 @@
<http://www.reportinghub.no/ep/schema/production-well#WellHeadDownStreamChokeValve>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> .
<http://www.epim.no/schemas/mprml/1#FP_chokesize> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> .
<http://www.reportinghub.no/ep/schema/well#WellBoreBottom>
transhelp:domainOfPropertyMapsToMPREnumeration
......@@ -76,4 +116,4 @@
rdf:type
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_reciprocatingspeed> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_available> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_reciprocatingspeed> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
......
......@@ -15,7 +15,7 @@
<http://www.reportinghub.no/ep/schema/1.0/scale-maps-to-mpr-enumeration>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.epim.no/schemas/mprml/1> ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#acre_ft>
......@@ -202,7 +202,7 @@
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_GPa> .
<http://www.reportinghub.no/ep/schema/core#grain_100ft-4>
<http://www.reportinghub.no/ep/schema/core#grain_100ft-3>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_grain100ft3> .
......@@ -210,7 +210,7 @@
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_grainft3> .
<http://www.reportinghub.no/ep/schema/core#grain_usGallon-2>
<http://www.reportinghub.no/ep/schema/core#grain_usGallon-1>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_graingalUS> .
......@@ -350,7 +350,7 @@
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_kpsi> .
<http://www.reportinghub.no/ep/schema/core#lbf_100ft-3>
<http://www.reportinghub.no/ep/schema/core#lbf_100ft-2>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_lbf100ft2> .
......@@ -366,11 +366,11 @@
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_lbmMbbl> .
<http://www.reportinghub.no/ep/schema/core#lbm_1000ukGallon-2>
<http://www.reportinghub.no/ep/schema/core#lbm_1000ukGallon-1>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_lbm1000galUK> .
<http://www.reportinghub.no/ep/schema/core#lbm_1000usGallon-2>
<http://www.reportinghub.no/ep/schema/core#lbm_1000usGallon-1>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_lbm1000galUS> .
......@@ -536,7 +536,7 @@
<http://www.reportinghub.no/ep/schema/core#millimetre>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AnyUom_AU_mm> , <http://www.epim.no/schemas/mprml/1#AU_mm> .
<http://www.epim.no/schemas/mprml/1#AU_mm> , <http://www.epim.no/schemas/mprml/1#AnyUom_AU_mm> .
<http://www.reportinghub.no/ep/schema/core#million_barrel>
transhelp:scaleMapsToMPREnumeration
......@@ -544,7 +544,7 @@
<http://www.reportinghub.no/ep/schema/core#million_foot3>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_Mft3> , <http://www.epim.no/schemas/mprml/1#AU_Mcf> .
<http://www.epim.no/schemas/mprml/1#AU_Mcf> , <http://www.epim.no/schemas/mprml/1#AU_Mft3> .
<http://www.reportinghub.no/ep/schema/core#million_metre3>
transhelp:scaleMapsToMPREnumeration
......@@ -598,6 +598,10 @@
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_Pa> .
<http://www.reportinghub.no/ep/schema/core#percent>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_> .
<http://www.reportinghub.no/ep/schema/core#picoPa>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_pPa> .
......@@ -702,11 +706,11 @@
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_qtUS> .
<http://www.reportinghub.no/ep/schema/core#usTonF_ft-3>
<http://www.reportinghub.no/ep/schema/core#usTonF_ft-2>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_tonfUSft2> .
<http://www.reportinghub.no/ep/schema/core#usTonF_in-3>
<http://www.reportinghub.no/ep/schema/core#usTonF_in-2>
transhelp:scaleMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#AU_tonfUSin2> .
......
# baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/transform-helper-schema>
rdf:type owl:Ontology ;
rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
transhelp:buildRdlURI
rdf:type spin:Function ;
rdfs:label "build RDL URI"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://posccaesar.org/rdl/" ;
sp:arg2 [ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 spin:_arg1
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
transhelp:derivedFrom
rdf:type owl:ObjectProperty .
transhelp:domainOfPropertyMapsToMPREnumeration
rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:facilityIdentifier
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:flowingStateMapsToMPREnumeration
rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:forComment
rdf:type owl:ObjectProperty ;
rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
rdfs:label "for comment"^^xsd:string .
transhelp:fromRule
rdf:type owl:DatatypeProperty .
transhelp:hasDerivedText
rdf:type owl:DatatypeProperty .
transhelp:hasEquivalentInRDL
rdf:type owl:ObjectProperty ;
rdfs:comment "References the RDL class equivalent to a Thing in the EPIM ontology."^^xsd:string ;
rdfs:label "has equivalent in RDL"^^xsd:string .
transhelp:interval
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:intervalEnd
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:intervalIdentifier
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:intervalStart
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:label
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:mapsTo
rdf:type rdf:Property .
transhelp:materialClassMapsToMPREnumeration
rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:necessaryIntervalString
rdf:type owl:DatatypeProperty .
transhelp:nominalInstant
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:propertyMapsToMPREnumeration
rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "property maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:quantitySpaceMapsToClassOfScale
rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "quantity space maps to class of scale"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:rangeOfPropertyMapsToMPREnumeration
rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "range of property maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:scaleMapsToMPREnumeration
rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdfs:label "scale maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:standardTempPres
rdf:type rdf:Property ;
rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> .
transhelp:typeOfPartCommentedOn
rdf:type owl:ObjectProperty ;
rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
rdfs:domain owl:Class ;
rdfs:label "type of part commented on"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/transform-helper-schema>
rdf:type owl:Ontology ;
rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
transhelp:buildRdlURI
rdf:type spin:Function ;
rdfs:label "build RDL URI"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://posccaesar.org/rdl/" ;
sp:arg2 [ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 spin:_arg1
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
transhelp:derivedFrom
rdf:type owl:ObjectProperty .
transhelp:domainOfPropertyMapsToMPREnumeration
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:facilityIdentifier
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:flowingStateMapsToMPREnumeration
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:forComment
rdf:type owl:ObjectProperty ;
rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
rdfs:label "for comment"^^xsd:string .
transhelp:fromRule
rdf:type owl:DatatypeProperty .
transhelp:hasDerivedText
rdf:type owl:DatatypeProperty .
transhelp:hasEquivalentInRDL
rdf:type owl:ObjectProperty ;
rdfs:comment "References the RDL class equivalent to a Thing in the EPIM ontology."^^xsd:string ;
rdfs:label "has equivalent in RDL"^^xsd:string .
transhelp:interval
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:intervalEnd
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:intervalIdentifier
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:intervalStart
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:label
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:mapsTo
rdf:type rdf:Property .
transhelp:materialClassMapsToMPREnumeration
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:necessaryIntervalString
rdf:type owl:DatatypeProperty .
transhelp:nominalInstant
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:propertyMapsToMPREnumeration
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
rdfs:label "property maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:quantitySpaceMapsToClassOfScale
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ;
rdfs:label "quantity space maps to class of scale"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:rangeOfPropertyMapsToMPREnumeration
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
rdfs:label "range of property maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:scaleMapsToMPREnumeration
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
rdfs:label "scale maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:standardTempPres
rdf:type rdf:Property ;
rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> .
transhelp:typeOfPartCommentedOn
rdf:type owl:ObjectProperty ;
rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
rdfs:domain owl:Class ;
rdfs:label "type of part commented on"^^xsd:string .
transhelp:valueOfPropertyMapsToMPRString
rdf:type owl:DatatypeProperty ;
rdfs:label "value of property maps to MPR string"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
......
......@@ -9,6 +9,7 @@
@prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix erhfacts: <http://www.reportinghub.no/ep/schema/1.0/erhfacts#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
......@@ -17,7 +18,6 @@
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix erhfacts: <http://www.reportinghub.no/ep/schema/1.0/erhfacts#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_productVolumeFacility>
......@@ -227,99 +227,6 @@
<http://www.epim.no/schemas/mprml/1#Cs_productVolumeParameterSet>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003d No temporal part of the parameterSetFacility is required"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80004b Measurement qualifier not specified"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MeasuredState> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#ValidlyMeasuredState> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "qualifierRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80002a Create temporal part of parameterSet facility corresponding to the nominal time, if necessary"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
......@@ -386,98 +293,72 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80002b Find existing temporal part of parameterSet facility corresponding to the nominal time"^^xsd:string ;
rdfs:comment "STEP 80005c Assign parameter value - string mapped to class"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "classOfFacility"^^xsd:string
] ;
sp:predicate
[ sp:varName "propertyType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
sp:where ([ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTim"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#propertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "propertyType"^^xsd:string
]
] [ sp:object
[ sp:varName "dTim"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#rangeOfPropertyMapsToMPREnumeration> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-facility#FacilityAvailabilityType>
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80000d The whole production facility has the parameterSet property"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterSetRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "stringValueRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
sp:predicate <http://www.epim.no/schemas/mprml/1#stringValueRef> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "stringValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "classOfProductionFacility"^^xsd:string
[ sp:varName "stringValueRef"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfProductionFacility"^^xsd:string
[ sp:varName "stringValue"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#valueOfPropertyMapsToMPRString> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "classOfFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80005 Assign parameter value"^^xsd:string ;
rdfs:comment "STEP 80005a Assign parameter value - member of a property space"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate
[ sp:varName "propertyType"^^xsd:string
......@@ -517,6 +398,11 @@
sp:subject
[ sp:varName "quantityType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PropertySpace> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "quantityType"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
......@@ -561,13 +447,13 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80001b Regularise start and end times - start time inherited from temporal part of production facility"^^xsd:string ;
rdfs:comment "STEP 80003a Create list of necessary temporal parts of parameterSet facility corresponding to the start and end"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "startString"^^xsd:string
[ sp:varName "intervalString"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#necessaryIntervalString> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
......@@ -576,113 +462,64 @@
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "startedAt"^^xsd:string
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "startedAt"^^xsd:string
]
] ;
sp:variable
[ sp:varName "startString"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80000c Create the spatial parts that have the parameterSet property"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "spatialPartOfATemporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterSetRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "spatialPartOfATemporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject
[ sp:varName "spatialPartOfATemporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "classOfSpatialPart"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 [ sp:varName "intervalStart"^^xsd:string
] ;
sp:arg2 "$" ;
sp:arg3 [ sp:varName "intervalEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalString"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003c Assign temporal parts of parameterSet facility to parameter elements"^^xsd:string ;
rdfs:comment "STEP 80002b Find existing temporal part of parameterSet facility corresponding to the nominal time"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
......@@ -697,9 +534,46 @@
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003d No temporal part of the parameterSetFacility is required"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
......@@ -708,52 +582,258 @@
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80004b Measurement qualifier not specified"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MeasuredState> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#ValidlyMeasuredState> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "qualifierRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80004a Measurement qualifier specified"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MeasuredState> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "measuredQualityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "qualifierRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectMeasuredQualityType ;
sp:arg1 [ sp:varName "qualifierRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "measuredQualityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80001b Regularise start and end times - start time inherited from temporal part of production facility"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "startString"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
[ sp:varName "startedAt"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "startedAt"^^xsd:string
]
] ;
sp:variable
[ sp:varName "startString"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80000c Create the spatial parts that have the parameterSet property (80000a and 80000b are rules on productVolumeFacility)"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "spatialPartOfATemporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterSetRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "spatialPartOfATemporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "spatialPartOfATemporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "classOfSpatialPart"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject <http://www.reportinghub.no/ep/schema/facility#Facility>
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003b Create temporal parts of parameterSet facility corresponding to the start and end without duplicates - moved to a rule on Cs_productVolumeFacility"^^xsd:string ;
sp:templates () ;
sp:where ()
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80001a Regularise start and end times - time specified by parameter element"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dTimStartString"^^xsd:string
......@@ -869,6 +949,78 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003c Assign temporal parts of parameterSet facility to parameter elements"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80001c Regularise start and end times - end time inherited from temporal part of production facility"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "endString"^^xsd:string
......@@ -927,26 +1079,28 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003a Create list of necessary temporal parts of parameterSet facility corresponding to the start and end"^^xsd:string ;
rdfs:comment "STEP 80005b Assign parameter value - integer"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "intervalString"^^xsd:string
[ sp:varName "integerValue"^^xsd:string
] ;
sp:predicate
[ sp:varName "propertyType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#necessaryIntervalString> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
sp:where ([ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#propertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "propertyType"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
......@@ -954,77 +1108,40 @@
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalStart"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
[ sp:varName "integerValueRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#integerValueRef> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 [ sp:varName "intervalStart"^^xsd:string
] ;
sp:arg2 "$" ;
sp:arg3 [ sp:varName "intervalEnd"^^xsd:string
]
] [ sp:object
[ sp:varName "integerValue"^^xsd:string
] ;
sp:variable
[ sp:varName "intervalString"^^xsd:string
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "integerValueRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80003b Create temporal parts of parameterSet facility corresponding to the start and end without duplicates - moved to a rule on Cs_productVolumeFacility"^^xsd:string ;
sp:templates () ;
sp:where ()
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80004a Measurement qualifier specified"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MeasuredState> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "measuredQualityType"^^xsd:string
rdfs:comment "STEP 80006 Set flowing or not-flowing state"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "flowingStateType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "qualifierRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
......@@ -1036,46 +1153,52 @@
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectMeasuredQualityType ;
sp:arg1 [ sp:varName "qualifierRef"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:variable
[ sp:varName "measuredQualityType"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#flowingStateMapsToMPREnumeration> ;
sp:subject
[ sp:varName "flowingStateType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80006 Set flowing or not-flowing state"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "flowingStateType"^^xsd:string
] ;
sp:predicate rdf:type ;
rdfs:comment "STEP 80000d The whole production facility has the parameterSet property"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterSetRef> ;
sp:subject
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
......@@ -1085,10 +1208,24 @@
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#flowingStateMapsToMPREnumeration> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "flowingStateType"^^xsd:string
[ sp:varName "classOfProductionFacility"^^xsd:string
]
] [ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "classOfProductionFacility"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ([ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject <http://www.reportinghub.no/ep/schema/facility#Facility>
]))
])
] .
......
This diff could not be displayed because it is too large.