David Leal

ParameterSet transform debugged

This diff could not be displayed because it is too large.
......@@ -15,179 +15,179 @@
<http://www.reportinghub.no/ep/schema/1.0/flow>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:PhysicalThingAtInstant
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing at an instant in time"^^xsd:string ;
rdfs:label "physical thing at an instant"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringGasYearToDate
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing starting at 06:00 AM October 1st and ending at same date and time the following year (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during gas year to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringMonthToDate
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing from the beginning of the calendar month to the end of the report period (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during month to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing during one day. NOTE If the report does not represent one day then this represents the 24 hour period ending at the end of the report period. (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing during a day (24 hour period) starting at 06:00 AM and ending 06:00 AM next day (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one gas day"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing during a month starting at 06:00 AM the first day and ending at 06:00 AM the first day of the next month (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one gas month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneGasYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing starting at 06:00 AM October 1st and ending at same date and time the following year (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one gas year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing during one calendar month (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one month"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneWeek
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing during one week. If the report does not represent one week then this represents the 7 times 24 hour period ending at the end of the report period. (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one week"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringOneYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing during one Gregorian year (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during one year"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-core:PhysicalThingDuringYearToDate
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-flow:TemporalPartDurationType , owl:Class ;
rdfs:comment "physical thing from the beginning of the year to the end of the report period (source MPR-XSD)"^^xsd:string ;
rdfs:label "physical thing during year to date"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:AllocatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is allocated back to a well as opposed to being measured at a well (source: MPR-XSD)"^^xsd:string ;
rdfs:label "allocated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:AllocatedInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:comment "inventory that is allocated (source: MPR-XSD)"^^xsd:string ;
rdfs:label "allocated inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:Inventory .
ep-flow:BudgetFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is a performance requirement as determined by a budget (source: MPR-XSD)"^^xsd:string ;
rdfs:label "budget flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ClassOfMaterialWithMassCriterion
rdf:type rdfs:Class ;
rdfs:comment "class that has amounts of material with a particular mass as members"^^xsd:string , "NOTE: This class is used for the average daily mass of material in a particular flow. In this case the criteria for being a member of the class is that it is material taken from a particular flow during a reporting period, and that the material has the average mass of a daily flow during the reporting period."^^xsd:string ;
rdfs:comment "NOTE: This class is used for the average daily mass of material in a particular flow. In this case the criteria for being a member of the class is that it is material taken from a particular flow during a reporting period, and that the material has the average mass of a daily flow during the reporting period."^^xsd:string , "class that has amounts of material with a particular mass as members"^^xsd:string ;
rdfs:label "class of material with mass criterion"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-flow:ConstraintFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is determined by an allowable or other performance limit. This includes allowables which are usually established by a regulatory agency for a product. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "constraint flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ConstraintFlow-fixed
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "constraint flow that is the only permitted flow (source: MPR-XSD)"^^xsd:string ;
rdfs:label "constraint flow - fixed"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-maximum
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "constraint flow that is the maximum permitted flow (source: MPR-XSD)"^^xsd:string ;
rdfs:label "constraint flow - maximum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-minimum
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "constraint flow that is the minimum permitted flow (source: MPR-XSD)"^^xsd:string ;
rdfs:label "constraint flow - minimum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConsumptionFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is consumed by a facility (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ConsumptionFlow-HPflare
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow - flare that is burned in a high pressure flare (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - HP flare"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow-flare .
ep-flow:ConsumptionFlow-LPflare
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow - flare that is burned in a low pressure flare (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - LP flare"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow-flare .
ep-flow:ConsumptionFlow-blackstart
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is to restart power facilities as a result of an overall power outage (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - blackstart"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
ep-flow:ConsumptionFlow-compressor
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is by a compressor (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - compressor"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
ep-flow:ConsumptionFlow-emitted
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is released into the atmosphere as a by-product of consumption (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - emitted"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
ep-flow:ConsumptionFlow-flare
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is burned in a flare. A fluid stream that has one or more flares as the ultimate target. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - flare"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
ep-flow:ConsumptionFlow-fuel
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is by processing equipment (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - fuel"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
ep-flow:ConsumptionFlow-noncompressor
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is by a device other than a compressor (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - non-compressor"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
ep-flow:ConsumptionFlow-venting
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "consumption flow that is released into the atmosphere (source: MPR-XSD)"^^xsd:string ;
rdfs:label "consumption flow - venting"^^xsd:string ;
rdfs:subClassOf ep-flow:ConsumptionFlow .
......@@ -205,19 +205,19 @@ ep-flow:DailyProductionFlow
rdfs:subClassOf ep-flow:ProductionFlow .
ep-flow:DerivedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is derived directly from one or more other flows (source: MPR-XSD)"^^xsd:string ;
rdfs:label "derived flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:DerivedFlow-difference
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "derived flow that is the difference between two other flows (source: MPR-XSD)"^^xsd:string ;
rdfs:label "derived flow - difference"^^xsd:string ;
rdfs:subClassOf ep-flow:DerivedFlow .
ep-flow:DifferenceFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is the difference between two flows, e.g. a target flow and a metered flow (source: MPR-XSD)"^^xsd:string ;
rdfs:label "difference flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -229,31 +229,31 @@ ep-flow:ElectricPowerFlow
rdfs:subClassOf ep-flow:Flow .
ep-flow:EstimatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is estimated or calculated, possibly based on comparable product flow units, but not based on reservoir simulations for the particular product flow unit (source: MPR-XSD)"^^xsd:string ;
rdfs:label "estimated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ExportFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that leaves a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ;
rdfs:label "export"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ExportFlow-nominated
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "export flow that is planned (source: MPR-XSD)"^^xsd:string ;
rdfs:label "export flow nominated"^^xsd:string ;
rdfs:subClassOf ep-flow:ExportFlow .
ep-flow:ExportFlow-requested
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "export flow that is requested (source: MPR-XSD)"^^xsd:string ;
rdfs:label "export flow requested"^^xsd:string ;
rdfs:subClassOf ep-flow:ExportFlow .
ep-flow:ExportFlow-shortfall
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "export flow that is the difference between what was requested and what was delivered (source: MPR-XSD)"^^xsd:string ;
rdfs:label "export flow shortfall"^^xsd:string ;
rdfs:subClassOf ep-flow:ExportFlow .
......@@ -277,61 +277,61 @@ ep-flow:FlowOfLiquid
rdfs:subClassOf ep-flow:Flow .
ep-flow:FlowToSale
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is sold and transported to a buyer by pipeline (source: MPR-XSD)"^^xsd:string ;
rdfs:label "flow to sale"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:FlowToStorage
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is directed to one or more storage locations (source: MPR-XSD)"^^xsd:string ;
rdfs:label "flow to storage"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ForecastFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is a forecast (source: MPR-XSD)"^^xsd:string ;
rdfs:label "forecast flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ForecastFlow-declineCurve
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "forecast flow that is calculated using a pseudo decline-curve of flow rate over time. This presumes that the flow will not be interrupted over the time period. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "forecast flow - decline curve"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:ForecastFlow-standard
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "forecast flow that is a standard forecast as opposed to calculated using a decline curve (source: MPR-XSD)"^^xsd:string ;
rdfs:label "forecast flow - standard"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:GasLiftFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "injection flow into a producing well to reduce the hydrostataic pressure of the fluid column. The resulting reduction in bottom hole pressure allows the reservoir liquids to flow. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "gas lift flow"^^xsd:string ;
rdfs:subClassOf ep-flow:InjectionFlow .
ep-flow:GrossProductFlow
rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
rdfs:comment "probably a mistake - should be rolled up as condensate-gross or oil-gross"^^xsd:string ;
rdfs:label "gross product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:HydrocarbonAccountingFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is an accounting of all of the fluids into and out of Stock (i.e., Inventory) which includes all storage facilities at a site including fluid within a pipeline (source: MPR-XSD)"^^xsd:string ;
rdfs:label "hydrocarbon accounting"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:ImportFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that enters a facility for commercial purposes (source: MPR-XSD)"^^xsd:string ;
rdfs:label "import"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:InjectionFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is injected into a well (source: MPR-XSD)"^^xsd:string ;
rdfs:label "injection flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -343,67 +343,67 @@ ep-flow:Inventory
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:MassAdjustedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that <not documented in XSD>"^^xsd:string ;
rdfs:label "mass adjusted flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:MeasuredFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is actually measured at the port (source: MPR-XSD)"^^xsd:string ;
rdfs:label "measured flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:MeasuredFlow-fiscal
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "measured flow that was measured for fiscal purposes"^^xsd:string ;
rdfs:label "measured flow - fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-raw
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "measured flow that is a raw measurement (source: MPR-XSD)"^^xsd:string ;
rdfs:label "measured flow - raw"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-recalibrated
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionSubType ;
rdf:type ep-flow:ProductionFlowDefinitionSubType , owl:Class ;
rdfs:comment "measured flow that has been changed because of a recalibration of a sensor (source: MPR-XSD)"^^xsd:string ;
rdfs:label "measured flow - recalibrated"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredInventory
rdf:type owl:Class , ep-flow:ProductionInventoryDefinitionType ;
rdf:type ep-flow:ProductionInventoryDefinitionType , owl:Class ;
rdfs:comment "inventory that is of actually measured product volumes (source: MPR-XSD)"^^xsd:string ;
rdfs:label "measured inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:Inventory .
ep-flow:MeteredFlowFiscal
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is generated by measurement and calculation and has an impact on company revenue and government taxation"^^xsd:string ;
rdfs:label "metered flow fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:NetProductFlow
rdf:type owl:Class , ep-flow:ProductFlowGrossOrNetType ;
rdf:type ep-flow:ProductFlowGrossOrNetType , owl:Class ;
rdfs:comment "probably a mistake - should be rolled up as condensate-net"^^xsd:string ;
rdfs:label "net product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductFlow .
ep-flow:NominatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is a promise to a buyer. Normally a 1 day forcast. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "nominated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:OverboardFlow
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is overboard into the sea (source: MPR-XSD)"^^xsd:string ;
rdfs:label "overboard"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:PotentialFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is the estimated maximum possible (source: MPR-XSD)"^^xsd:string ;
rdfs:label "potential flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -421,7 +421,7 @@ ep-flow:PrecipitationType
rdfs:subClassOf owl:Class .
ep-flow:ProcessedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that has been processed. This is different from derived flow because it is fundamentally a variation of the original flow. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "processed flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -451,31 +451,31 @@ ep-flow:ProductInventory
rdfs:subClassOf ep-flow:Inventory .
ep-flow:ProductInventoryAdjustedClosingBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:comment "product inventory that <not documented in XSD>"^^xsd:string ;
rdfs:label "product inventory adjusted closing balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryClosingBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:comment "product inventory that is at the end of a time period (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product inventory closing balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryClosingStorageBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:comment "product inventory closing balance that has been adjusted"^^xsd:string ;
rdfs:label "product inventory closing storage balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryOpFlex
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:comment "product inventory that is the unused and availiable quantity of gas within a gas transportation system and/or at one or many gas producing fields that is accessible by the operator responsible for gas transportation for the purposes of alleviating field curtailment (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product inventory opFlex"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
ep-flow:ProductInventoryOpeningBalance
rdf:type owl:Class , ep-flow:ProductInventoryType ;
rdf:type ep-flow:ProductInventoryType , owl:Class ;
rdfs:comment "product inventory that is at the beginning of a time period (source: MPR-XSD)"^^xsd:string ;
rdfs:label "product inventory opening balance"^^xsd:string ;
rdfs:subClassOf ep-flow:ProductInventory .
......@@ -487,7 +487,7 @@ ep-flow:ProductInventoryType
rdfs:subClassOf owl:Class .
ep-flow:ProductionExploitation
rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ;
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:comment "flow that is exploited from a reservoir. This is independent of any disposition. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "production exploitation"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -587,37 +587,37 @@ ep-flow:ProductionTestWellHeadFlow
rdfs:subClassOf ep-flow:Flow .
ep-flow:QuotaFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is set by some authority, and that may or may not be based on technical criteria (source: MPR-XSD)"^^xsd:string ;
rdfs:label "quota flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:RecommendedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is believed to be very desirable if it can be achieved. This a recommendation that something be changed in order to achieve this flow. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "recommended flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:SaleableFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is of a product marked as being saleable. Hence the final destination would be sale. (source: MPR-XSD)"^^xsd:string ;
rdfs:label "saleable flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:SimulatedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is estimated based on a simulation that includes the particular product flow unit (source: MPR-XSD)"^^xsd:string ;
rdfs:label "simulated flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:TargetFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that is desired (source: MPR-XSD)"^^xsd:string ;
rdfs:label "target flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:TariffBasisFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that <not documented in XSD>"^^xsd:string ;
rdfs:label "tariff basis flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -629,13 +629,13 @@ ep-flow:TemporalPartDurationType
rdfs:subClassOf owl:Class .
ep-flow:ValueAdjustedFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:comment "flow that <not documented in XSD>"^^xsd:string ;
rdfs:label "value adjusted flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
ep-flow:WholeLifeFlow
rdf:type owl:Class ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , owl:Class ;
rdfs:comment "flow that is the whole life of a flow of energy or material"^^xsd:string ;
rdfs:label "whole life flow"^^xsd:string ;
rdfs:subClassOf ep-flow:Flow .
......@@ -647,22 +647,22 @@ ep-flow:WholeLifeInventory
rdfs:subClassOf ep-flow:Inventory .
ep-flow:WholeLifeProductFlow
rdf:type owl:Class ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , owl:Class ;
rdfs:comment "product flow that is the whole life of a flow of product"^^xsd:string ;
rdfs:label "whole life product flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductFlow .
rdfs:subClassOf ep-flow:ProductFlow , ep-flow:WholeLifeFlow .
ep-flow:WholeLifeProductInventory
rdf:type owl:Class ;
rdfs:comment "product inventory that is the whole life of the managed store of product"^^xsd:string ;
rdfs:label "whole life product inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductInventory .
rdfs:subClassOf ep-flow:ProductInventory , ep-flow:WholeLifeInventory .
ep-flow:WholeLifeProductionFlow
rdf:type owl:Class ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , owl:Class ;
rdfs:comment "production flow that is the whole life of a flow of produced material"^^xsd:string ;
rdfs:label "whole life production flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow , ep-flow:ProductionFlow .
rdfs:subClassOf ep-flow:ProductionFlow , ep-flow:WholeLifeFlow .
ep-flow:WholeLifeProductionFlowNetwork
rdf:type owl:Class ;
......@@ -674,7 +674,7 @@ ep-flow:WholeLifeProductionInventory
rdf:type owl:Class ;
rdfs:comment "production inventory that is the whole life of a store of produced material"^^xsd:string ;
rdfs:label "whole life production inventory"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeInventory , ep-flow:ProductionInventory .
rdfs:subClassOf ep-flow:ProductionInventory , ep-flow:WholeLifeInventory .
ep-flow:WholeLifeProductionInventoryCollection
rdf:type owl:Class ;
......@@ -689,28 +689,28 @@ ep-flow:Wind
rdfs:subClassOf ep-flow:Flow .
ep-flow:allocatedTo
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "facility that a split of a flow or inventory is allocated to"^^xsd:string ;
rdfs:domain ep-core:PhysicalObject ;
rdfs:label "allocatedTo"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-flow:amountOfPrecipitation
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "volume per unit area of material that falls in a precipitation"^^xsd:string ;
rdfs:domain ep-flow:Precipitation ;
rdfs:label "amount of precipitation"^^xsd:string ;
rdfs:range ep-core:Length .
ep-flow:dailyAverageAmountOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "mass that is the average of the masses of the materials that flows in different days"^^xsd:string ;
rdfs:domain ep-flow:Flow ;
rdfs:label "daily average amount of material"^^xsd:string ;
rdfs:range ep-flow:ClassOfMaterialWithMassCriterion .
ep-flow:energyContent
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 "energy of combustion in a quantity of material"^^xsd:string ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "energy content"^^xsd:string ;
......@@ -761,7 +761,7 @@ ep-flow:flowOutOf
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
ep-flow:grossCalorificValue
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 "energy per volume that is the gross calorific value for a quantity of material"^^xsd:string ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "gross calorific value"^^xsd:string ;
......@@ -784,28 +784,28 @@ ep-flow:hasNetworkPart
rdfs:subPropertyOf ep-core:hasPart .
ep-flow:horizontalDirectionAzimuth
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "plane angle that is the horizontal direction azimuth of a flow"^^xsd:string ;
rdfs:domain ep-flow:Flow ;
rdfs:label "horizontal direction azimuth"^^xsd:string ;
rdfs:range ep-core:PlaneAngle .
ep-flow:massAtAccountingInstant
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 "mass that is at the accounting instant for an inventory during a period"^^xsd:string ;
rdfs:domain ep-flow:Inventory ;
rdfs:label "mass at accounting instant"^^xsd:string ;
rdfs:range ep-core:Mass .
ep-flow:materialThatFlows
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "quantity of material that moves during a flow"^^xsd:string ;
rdfs:domain ep-flow:Flow ;
rdfs:label "material that flows"^^xsd:string ;
rdfs:range ep-material:QuantityOfMaterial .
ep-flow:yearlyAverageAmountOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "mass that is the average of the masses of the materials that flows in different years"^^xsd:string ;
rdfs:domain ep-flow:Flow ;
rdfs:label "yearly average amount of material"^^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/equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#ChokeValve>
......@@ -24,6 +24,13 @@ ep-prodeqt:BlockValve
rdfs:label "block valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:ClosedValve
rdf:type ep-prodeqt:ValveOpenClosedType , owl:Class ;
rdfs:comment "valve that is closed"^^xsd:string ;
rdfs:label "closed valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve ;
owl:disjointWith ep-prodeqt:OpenValve .
ep-prodeqt:DownHoleControlValve
rdf:type owl:Class ;
rdfs:comment "valve that is a down hole control valve"^^xsd:string ;
......@@ -41,6 +48,13 @@ ep-prodeqt:GasLiftChoke
rdfs:label "gas lift choke"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:OpenValve
rdf:type ep-prodeqt:ValveOpenClosedType , owl:Class ;
rdfs:comment "valve that is open"^^xsd:string ;
rdfs:label "open valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve ;
owl:disjointWith ep-prodeqt:ClosedValve .
ep-prodeqt:PressureMeter
rdf:type owl:Class ;
rdfs:comment "equipment item that is a pressure meter, consisting of the whole device and not just the sensor (source: MPR-XSD)"^^xsd:string ;
......@@ -71,14 +85,32 @@ ep-prodeqt:Valve
rdfs:label "valve"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
ep-prodeqt:ValveOpenClosedType
rdf:type rdfs:Class ;
rdfs:label "valve open closed type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodeqt:WingValve
rdf:type owl:Class ;
rdfs:comment "valve that is a wing valve"^^xsd:string ;
rdfs:label "wing valve"^^xsd:string ;
rdfs:subClassOf ep-prodeqt:Valve .
ep-prodeqt:areaOpen
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "open area for a valve"^^xsd:string ;
rdfs:domain ep-prodeqt:Valve ;
rdfs:label "area open"^^xsd:string ;
rdfs:range ep-core:Area .
ep-prodeqt:areaOpenFraction
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-prodeqt:Valve ;
rdfs:label "area open fraction"^^xsd:string ;
rdfs:range ep-core:AreaPerArea .
ep-prodeqt:hasCaptain
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "has captain"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Person> .
......
......@@ -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/production-well> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
......@@ -37,7 +37,7 @@
rdfs:subClassOf ep-core:PhysicalObject .
<http://www.reportinghub.no/ep/schema/facility#Field>
rdf:type ep-prodfac:ReportingFacilityType .
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#Flowline>
rdf:type ep-prodfac:ReportingFacilityType .
......@@ -51,8 +51,11 @@
<http://www.reportinghub.no/ep/schema/facility#Platform>
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#ProductionFacility>
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart .
<http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate>
rdf:type owl:Class ;
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart , owl:Class ;
rdfs:comment "production facility that is for all of its life up to a point in time"^^xsd:string ;
rdfs:label "production facility to date"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> .
......@@ -73,56 +76,56 @@
rdf:type ep-prodfac:ReportingFacilityType .
<http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight>
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
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 owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
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:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , ep-core:Class_of_indirect_property , owl:FunctionalProperty ;
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 ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
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 owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
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 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 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 owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
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 owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
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 ;
......@@ -144,7 +147,7 @@
rdfs:label "flow meter"^^xsd:string .
ep-prodfac:AvailableFacility
rdf:type ep-prodfac:FacilityAvailabilityType , owl:Class ;
rdf:type owl:Class , ep-prodfac:FacilityAvailabilityType ;
rdfs:label "available facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> ;
owl:disjointWith ep-prodfac:UnavailableFacility .
......@@ -248,7 +251,7 @@ ep-prodfac:TrunkLine
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodfac:UnavailableFacility
rdf:type ep-prodfac:FacilityAvailabilityType , owl:Class ;
rdf:type owl:Class , ep-prodfac:FacilityAvailabilityType ;
rdfs:label "unavailable facility"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> ;
owl:disjointWith ep-prodfac:AvailableFacility .
......@@ -260,14 +263,14 @@ ep-prodfac:numberOfBedsAvailable
rdfs:range xsd:integer .
ep-prodfac:operatingTime
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 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 ;
rdf:type owl:FunctionalProperty , ep-core:Class_of_indirect_property , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "scheduled time unavailable"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
......@@ -279,7 +282,7 @@ ep-prodfac:shutDownSequenceNumber
rdfs:range xsd:integer .
ep-prodfac:timeAvailable
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:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ;
rdfs:label "time available"^^xsd:string ;
rdfs:range ep-core:TimeDuration .
......
......@@ -14,9 +14,15 @@
<http://www.reportinghub.no/ep/schema/1.0/production-well>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/flow> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:PointInSpace
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart .
ep-core:RegionOfSpace
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart .
<http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing>
rdfs:subClassOf ep-well:TemporalPartOfASpatialPartOfAWellBore .
......@@ -342,7 +348,7 @@ ep-material:substance-T13dmcyPentane
rdf:type ep-prodwell:ComponentMaterialType .
ep-prodwell:AbandonedWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been abandoned"^^xsd:string ;
rdfs:label "abandoned well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
......@@ -353,7 +359,7 @@ ep-prodwell:Annulus
rdfs:subClassOf ep-well:TemporalPartOfASpatialPartOfAWellBore .
ep-prodwell:ClosedWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been closed"^^xsd:string ;
rdfs:label "closed well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
......@@ -371,7 +377,7 @@ ep-prodwell:FluidComponentKindType
rdfs:subClassOf owl:Class .
ep-prodwell:InjectingWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that is used for injecting"^^xsd:string ;
rdfs:label "injecting well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
......@@ -383,37 +389,37 @@ ep-prodwell:InjectionFluidType
rdfs:subClassOf owl:Class .
ep-prodwell:JunkedWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been junked"^^xsd:string ;
rdfs:label "junked well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:OperatingWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that is operating"^^xsd:string ;
rdfs:label "operating well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:PluggedAndAbandonedWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been plugged and abandoned"^^xsd:string ;
rdfs:label "plugged and abandoned well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:PluggedWell , ep-prodwell:AbandonedWell .
rdfs:subClassOf ep-prodwell:AbandonedWell , ep-prodwell:PluggedWell .
ep-prodwell:PluggedWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been plugged"^^xsd:string ;
rdfs:label "plugged well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:ProducingInjectingWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that <advice needed>"^^xsd:string ;
rdfs:label "producing injecting well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:ProducingWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that is producing"^^xsd:string ;
rdfs:label "producing well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
......@@ -425,13 +431,13 @@ ep-prodwell:RockFormation
rdfs:subClassOf ep-core:PhysicalObject .
ep-prodwell:SuspendedAtTdWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that <advice needed>"^^xsd:string ;
rdfs:label "suspended at td well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-prodwell:SuspendedWell
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been suspended"^^xsd:string ;
rdfs:label "suspended well"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
......@@ -457,13 +463,13 @@ ep-prodwell:WellCompletionAssembly
"http://posccaesar.org/rdl/RDS8015624975"^^xsd:string .
ep-prodwell:WellHead-flowingConditions
rdf:type owl:Class , ep-prodwell:WellHeadFlowingConditionsType ;
rdf:type ep-prodwell:WellHeadFlowingConditionsType , owl:Class ;
rdfs:comment "wellhead that is in flowing conditions"^^xsd:string ;
rdfs:label "well head - flowing conditions"^^xsd:string ;
rdfs:subClassOf ep-well:WellHead .
ep-prodwell:WellHead-nonflowingConditions
rdf:type owl:Class , ep-prodwell:WellHeadFlowingConditionsType ;
rdf:type ep-prodwell:WellHeadFlowingConditionsType , owl:Class ;
rdfs:comment "wellhead that is in nonflowing conditions"^^xsd:string ;
rdfs:label "well head - nonflowing conditions"^^xsd:string ;
rdfs:subClassOf ep-well:WellHead .
......@@ -481,7 +487,7 @@ ep-prodwell:WellHeadFlowingConditionsType
rdfs:subClassOf owl:Class .
ep-prodwell:WellReclassedToDevelopment
rdf:type owl:Class , ep-prodwell:WellStatusType ;
rdf:type ep-prodwell:WellStatusType , owl:Class ;
rdfs:comment "well or wellbore that has been reclassified as a development well"^^xsd:string ;
rdfs:label "well reclassed to development"^^xsd:string ;
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
......@@ -493,42 +499,42 @@ ep-prodwell:WellStatusType
rdfs:subClassOf owl:Class .
ep-prodwell:completeLiquidPartOf
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:comment "all of a quantity of material that is liquid"^^xsd:string ;
rdfs:domain ep-material:QuantityOfMaterial ;
rdfs:label "complete liquid part of"^^xsd:string ;
rdfs:range ep-material:Liquid .
ep-prodwell:depthOfBaseUsableWaterFromSurface
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 "length that is the lowest usable water depth as measured from the surface. (source: MPR-XSD)"^^xsd:string ;
rdfs:domain ep-material:Fluid ;
rdfs:label "depth of base of usable water from surface"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:depthOfFluidSurfaceFromTopOfWell
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 "length that is the fluid level achieved in the well. The value is given as length units from the top of the well. (source MPR-XSD)"^^xsd:string ;
rdfs:domain ep-material:Fluid ;
rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:pOverZ
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 "The P/Z value at the point. This is P/Z, pressure over gas compressibility factor (z). Note that the uom is units of pressure, since Z is dimensionless. (source: MPR-XSD)"^^xsd:string ;
rdfs:domain ep-material:Gas ;
rdfs:label "pressure over gas compressibility factor"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-prodwell:potentialGasProduction
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 "volumetric flow rate that is the potential of the well to produce natural gas. This represents the flow rate that could be achieved under maximum drawdown. (source: MPR-XSD)"^^xsd:string ;
rdfs:domain ep-prodwell:TemporalPartOfAWellOrWellBore ;
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
ep-prodwell:potentialOilProduction
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 "volumetric flow rate is the the potential of a well or wellbore to produce crude oil. This represents the flow rate that could be achieved under maximum drawdown. (source: MPR-XSD)"^^xsd:string ;
rdfs:domain ep-prodwell:TemporalPartOfAWellOrWellBore ;
rdfs:label "potential oil production"^^xsd:string ;
......@@ -540,5 +546,8 @@ ep-well:TemporalPartOfAWell
ep-well:TemporalPartOfAWellBore
rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
ep-well:WellBore
rdf:type ep-core:ClassNotInheritedByAStrictTemporalPart .
ep-well:WellGroup
rdf:type owl:Class .
......
......@@ -15,16 +15,20 @@
<http://www.reportinghub.no/ep/schema/1.0/property-maps-to-mpr-enumeration>
rdf:type owl:Ontology ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/core#Area>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_valveopening> .
<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.epim.no/schemas/mprml/1#FP_chokesize> , <http://www.epim.no/schemas/mprml/1#FP_relativevalveopening> .
<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> .
<http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_density> .
<http://www.reportinghub.no/ep/schema/core#Frequency>
transhelp:rangeOfPropertyMapsToMPREnumeration
......@@ -32,19 +36,19 @@
<http://www.reportinghub.no/ep/schema/core#Pressure>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <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_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> .
<http://www.reportinghub.no/ep/schema/core#Temperature>
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.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
<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.epim.no/schemas/mprml/1#FP_scheduleddowntime> , <http://www.epim.no/schemas/mprml/1#FP_facilityuptime> .
<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> .
<http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> .
<http://www.reportinghub.no/ep/schema/equipment#Compressor>
transhelp:domainOfPropertyMapsToMPREnumeration
......@@ -52,19 +56,47 @@
<http://www.reportinghub.no/ep/schema/equipment#Tubing>
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.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> .
<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.epim.no/schemas/mprml/1#FP_shutdownorder> , <http://www.epim.no/schemas/mprml/1#FP_scheduleddowntime> , <http://www.epim.no/schemas/mprml/1#FP_facilityuptime> , <http://www.epim.no/schemas/mprml/1#FP_available> .
<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.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_density> .
<http://www.reportinghub.no/ep/schema/production-equipment#BlockValve>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_blockvalvestatus> .
<http://www.reportinghub.no/ep/schema/production-equipment#ClosedValve>
transhelp:valueOfPropertyMapsToMPRString
"closed"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-equipment#OpenValve>
transhelp:valueOfPropertyMapsToMPRString
"open"^^xsd:string .
<http://www.reportinghub.no/ep/schema/production-equipment#Valve>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_valveopening> , <http://www.epim.no/schemas/mprml/1#FP_relativevalveopening> .
<http://www.reportinghub.no/ep/schema/production-equipment#ValveOpenClosedType>
transhelp:rangeOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_blockvalvestatus> , <http://www.epim.no/schemas/mprml/1#FP_wingvalvestatus> .
<http://www.reportinghub.no/ep/schema/production-equipment#WingValve>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_wingvalvestatus> .
<http://www.reportinghub.no/ep/schema/production-equipment#areaOpen>
transhelp:propertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_valveopening> .
<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.epim.no/schemas/mprml/1#FP_chokesize> , <http://www.epim.no/schemas/mprml/1#FP_relativevalveopening> .
<http://www.reportinghub.no/ep/schema/production-facility#AvailableFacility>
transhelp:valueOfPropertyMapsToMPRString
......@@ -96,24 +128,24 @@
<http://www.reportinghub.no/ep/schema/production-well#WellHead-flowingConditions>
transhelp:flowingStateMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> .
<http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> .
<http://www.reportinghub.no/ep/schema/production-well#WellHead-nonflowingConditions>
transhelp:flowingStateMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> .
<http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> .
<http://www.reportinghub.no/ep/schema/production-well#WellHeadDownStreamChokeValve>
transhelp:domainOfPropertyMapsToMPREnumeration
<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.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_chokesize> .
<http://www.reportinghub.no/ep/schema/well#WellBoreBottom>
transhelp:domainOfPropertyMapsToMPREnumeration
<http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> .
<http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> .
<http://www.reportinghub.no/ep/schema/well#WellHead>
transhelp:domainOfPropertyMapsToMPREnumeration
<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_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
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_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> .
<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_wingvalvestatus> , <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_blockvalvestatus> , <http://www.epim.no/schemas/mprml/1#FP_linedensity> , <http://www.epim.no/schemas/mprml/1#FP_density> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
......
......@@ -69,6 +69,29 @@
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "narrowerClassOfSpatialPart"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "narrowerClassOfASpatialPart"^^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>
])
])
] ;
spin:rule
......@@ -286,26 +309,50 @@
] ;
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 ;
sp:templates ([ sp:object
[ sp:varName "intervalString"^^xsd:string
rdfs:comment "STEP 80005a Assign parameter value - member of a property space"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
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:object
[ sp:varName "quantityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "measureValue"^^xsd:string
] ;
sp:predicate
[ sp:varName "measureScale"^^xsd:string
] ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
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 "nameRef"^^xsd:string
] ;
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 "classOfParameterSetFacility"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#rangeOfPropertyMapsToMPREnumeration> ;
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 "parameterSetFacility"^^xsd:string
[ sp:varName "quantityType"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
......@@ -313,46 +360,39 @@
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 "measureValueRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#measureValueRef> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "intervalStart"^^xsd:string
] [ sp:object
[ sp:varName "measureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "measureValueRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
[ sp:varName "measureUom"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
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:varName "measureValueRef"^^xsd:string
]
] [ sp:object
[ sp:varName "measureUom"^^xsd:string
] ;
sp:variable
[ sp:varName "intervalString"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#scaleMapsToMPREnumeration> ;
sp:subject
[ sp:varName "measureScale"^^xsd:string
]
])
] ;
......@@ -364,13 +404,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 ;
......@@ -379,183 +419,147 @@
[ 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:object
[ sp:varName "intervalStartString"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
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 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
] ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ 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/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
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 "intervalStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalStartString"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
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 "dTim"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "intervalEnd"^^xsd:string
]
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
sp:variable
[ sp:varName "intervalEndString"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dTim"^^xsd:string
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:concat ;
sp:arg1 [ sp:varName "intervalStartString"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
sp:arg2 "$" ;
sp:arg3 [ sp:varName "intervalEndString"^^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: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 ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
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 "parameterFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterSetRef> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "facilityRef"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
[ sp:varName "facilityRef"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
] [ 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 "intervalStart"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "classOfSpatialPart"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
] [ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^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:object
[ sp:varName "narrowerClassOfSpatialPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEnd"^^xsd:string
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "narrowerClassOfASpatialPart"^^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>
]))
])
] ;
spin:rule
......@@ -570,20 +574,6 @@
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "stringValue"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "stringValueTest"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "nameRef"^^xsd:string
......@@ -597,11 +587,18 @@
sp:subject
[ sp:varName "propertyType"^^xsd:string
]
] [ sp:object
] [ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "nameRef"^^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 "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#rangeOfPropertyMapsToMPREnumeration> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-equipment#ValveOpenClosedType>
]))
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
......@@ -635,16 +632,11 @@
sp:subject
[ sp:varName "classOfFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "stringValueTest"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#valueOfPropertyMapsToMPRString> ;
sp:subject <http://www.reportinghub.no/ep/schema/production-facility#AvailableFacility>
])
] ;
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 80003c Assign temporal parts of parameterSet facility to parameter elements"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
] ;
......@@ -659,123 +651,116 @@
[ 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 "dTim"^^xsd:string
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dTim"^^xsd:string
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
[ sp:varName "intervalStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterSetFacility"^^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 ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "intervalStart"^^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:variable
[ sp:varName "intervalStartString"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "intervalEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "intervalEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "intervalEndString"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "intervalStartString"^^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#intervalStart> ;
sp:subject
[ sp:varName "flowingStateType"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "intervalEndString"^^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 80005a Assign parameter value - member of a property space"^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
sp:predicate
[ sp:varName "propertyType"^^xsd:string
] ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "quantityType"^^xsd:string
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
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "measureValue"^^xsd:string
] ;
sp:predicate
[ sp:varName "measureScale"^^xsd:string
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b4
]) ;
sp:where ([ sp:object
[ sp:varName "nameRef"^^xsd:string
] [ sp:object
[ sp:varName "parameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject spin:_this
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#propertyMapsToMPREnumeration> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b4
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "propertyType"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "classOfParameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#rangeOfPropertyMapsToMPREnumeration> ;
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:varName "parameterSetFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "parameterRef"^^xsd:string
......@@ -783,80 +768,148 @@
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
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "measureValueRef"^^xsd:string
[ sp:varName "parameterSetFacility"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#measureValueRef> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "measureValue"^^xsd:string
])
])
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
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
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "measureValueRef"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "measureUom"^^xsd:string
[ sp:varName "dateStartString"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "measureValueRef"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "measureUom"^^xsd:string
[ sp:varName "dTimEndString"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#scaleMapsToMPREnumeration> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject
[ sp:varName "measureScale"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
])
] [ sp:object
[ sp:varName "dateEndString"^^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:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterRef"^^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:where ([ 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
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dTimStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dTimStartString"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dTimEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dTimEndString"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dateStart"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dateStartString"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dateEnd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dateEndString"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80000d The whole production facility has the parameterSet property"^^xsd:string ;
rdfs:comment "STEP 80000e The whole production facility is a valve and 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
......@@ -889,76 +942,103 @@
[ 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/production-equipment#Valve>
] [ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.reportinghub.no/ep/schema/production-equipment#Valve> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "classOfProductionFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ rdf:type sp:Union ;
sp:elements (([ sp:object
]) ([ sp:object
[ sp:varName "classOfProductionFacility"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-equipment#Valve> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "classOfProductionFacility"^^xsd:string
]
]) ([ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "classOfProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject <http://www.reportinghub.no/ep/schema/facility#Facility>
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "broaderClassOfProductionFacility"^^xsd:string
] ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "classOfProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-equipment#Valve> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "broaderClassOfProductionFacility"^^xsd:string
]
]))
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80005b Assign parameter value - integer"^^xsd:string ;
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 "integerValue"^^xsd:string
] ;
sp:predicate
[ sp:varName "propertyType"^^xsd:string
[ sp:varName "startString"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
[ sp:varName "parameterRef"^^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: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 "nameRef"^^xsd:string
[ sp:varName "startedAt"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#propertyMapsToMPREnumeration> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "propertyType"^^xsd:string
[ 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
] [ 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:object
[ sp:varName "integerValueRef"^^xsd:string
] [ 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#integerValueRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "integerValue"^^xsd:string
]) ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "integerValueRef"^^xsd:string
[ sp:varName "parameterRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
......@@ -1007,76 +1087,6 @@
] ;
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 80003d No temporal part of the parameterSetFacility is required"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "parameterRef"^^xsd:string
......@@ -1148,118 +1158,255 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80001a Regularise start and end times - time specified by parameter element"^^xsd:string ;
rdfs:comment "STEP 80006 Set flowing or not-flowing state"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dTimStartString"^^xsd:string
[ sp:varName "flowingStateType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalStart> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ 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:object
[ sp:varName "dateStartString"^^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 "dTimEndString"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "parameterFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEndString"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalEnd> ;
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 "parameterRef"^^xsd:string
[ sp:varName "flowingStateType"^^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
[ sp:varName "parameterRef"^^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.epim.no/schemas/mprml/1#parameterRef> ;
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
] [ rdf:type sp:Optional ;
] [ 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 "dTimStart"^^xsd:string
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dTimStart"^^xsd:string
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "narrowerClassOfSpatialPart"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "classOfSpatialPart"^^xsd:string
] ;
sp:variable
[ sp:varName "dTimStartString"^^xsd:string
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "narrowerClassOfASpatialPart"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
sp:subject <http://www.reportinghub.no/ep/schema/facility#Facility>
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80005b Assign parameter value - integer"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "integerValue"^^xsd:string
] ;
sp:predicate
[ sp:varName "propertyType"^^xsd:string
] ;
sp:subject
[ sp:varName "parameterFacility"^^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 "nameRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#propertyMapsToMPREnumeration> ;
sp:subject
[ sp:varName "propertyType"^^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 "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 smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dTimEnd"^^xsd:string
] [ sp:object
[ sp:varName "integerValueRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#integerValueRef> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ sp:object
[ sp:varName "integerValue"^^xsd:string
] ;
sp:variable
[ sp:varName "dTimEndString"^^xsd:string
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "integerValueRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 80004b Measurement qualifier not specified"^^xsd:string ;
sp:templates () ;
sp:where ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "dateStart"^^xsd:string
[ sp:varName "qualifierRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
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 80002b Find existing temporal part of parameterSet facility corresponding to the nominal time"^^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
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dateStart"^^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:variable
[ sp:varName "dateStartString"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dateEnd"^^xsd:string
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#dateEnd> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:subject
[ sp:varName "parameterRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:cast ;
arg:datatype xsd:string ;
sp:arg1 [ sp:varName "dateEnd"^^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:variable
[ sp:varName "dateEndString"^^xsd:string
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "parameterFacility"^^xsd:string
]
])
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1>
......