David Leal

Merge branch 'MPR_02-16'

......@@ -4,6 +4,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-flow: <http://www.reportinghub.no/ep/schema/flow#> .
@prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> .
@prefix ep-prodcore: <http://www.reportinghub.no/ep/schema/production-core#> .
......@@ -163,6 +164,21 @@ ep-flow:ConstraintFlow
rdfs:label "constraint flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ConstraintFlow-fixed
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "constraint flow - fixed"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-maximum
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "constraint flow - maximum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:ConstraintFlow-minimum
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "constraint flow - minimum"^^xsd:string ;
rdfs:subClassOf ep-flow:ConstraintFlow .
ep-flow:Consume
rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
rdfs:label "consume"^^xsd:string ;
......@@ -236,6 +252,11 @@ ep-flow:DerivedFlow
rdfs:label "derived flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:DerivedFlow-difference
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "derived flow - difference"^^xsd:string ;
rdfs:subClassOf ep-flow:DerivedFlow .
ep-flow:Diesel
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "diesel"^^xsd:string ;
......@@ -299,7 +320,7 @@ ep-flow:Export-shortfall
ep-flow:Flow
rdf:type owl:Class ;
rdfs:label "(temporal part of a) flow"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:FlowAtInstant
rdf:type ep-flow:TemporalPartOfAFlowDurationType , owl:Class ;
......@@ -344,13 +365,23 @@ ep-flow:FlowDuringYearToDate
ep-flow:FlowOfLiquid
rdf:type owl:Class ;
rdfs:label "flow of liquid"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
rdfs:subClassOf ep-core:PhysicalThing .
ep-flow:ForecastFlow
rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
rdfs:label "forecast flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:ForecastFlow-declineCurve
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "forecast flow - decline curve"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:ForecastFlow-standard
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "forecast flow - standard"^^xsd:string ;
rdfs:subClassOf ep-flow:ForecastFlow .
ep-flow:Gas-componentInOil
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "gas - component in oil"^^xsd:string ;
......@@ -446,6 +477,21 @@ ep-flow:MeasuredFlow
rdfs:label "measured flow"^^xsd:string ;
rdfs:subClassOf ep-flow:WholeLifeFlow .
ep-flow:MeasuredFlow-fiscal
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "measured flow - fiscal"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-raw
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "measured flow - raw"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:MeasuredFlow-recalibrated
rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
rdfs:label "measured flow - recalibrated"^^xsd:string ;
rdfs:subClassOf ep-flow:MeasuredFlow .
ep-flow:Methane
rdf:type owl:Class , ep-flow:ProductMaterialType ;
rdfs:label "methane"^^xsd:string ;
......@@ -522,22 +568,22 @@ ep-flow:NormalPentane
ep-flow:ObjectThatLastsOneDay
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one day"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneMonth
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one month"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneWeek
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one week"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:ObjectThatLastsOneYear
rdf:type owl:Class , ep-flow:TemporalPartDurationType ;
rdfs:label "object that lasts one year"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
rdfs:subClassOf ep-core:PhysicalObject .
ep-flow:Oil-NetInventory
rdf:type owl:Class , ep-flow:ProductInventoryType ;
......@@ -888,35 +934,41 @@ ep-flow:flowInto
rdf:type owl:ObjectProperty ;
rdfs:domain ep-flow:WholeLifeFlow ;
rdfs:label "flow into"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
ep-flow:flowIntoOrOutOf
rdf:type owl:ObjectProperty ;
rdfs:domain ep-flow:WholeLifeFlow ;
rdfs:label "flow into"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
rdfs:range ep-core:PhysicalThing .
ep-flow:flowOutOf
rdf:type owl:ObjectProperty ;
rdfs:domain ep-flow:WholeLifeFlow ;
rdfs:label "flow into"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
rdfs:range ep-core:PhysicalThing ;
rdfs:subPropertyOf ep-flow:flowIntoOrOutOf .
ep-flow:grossCalorificValue
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-flow:QuantityOfMaterial ;
rdfs:label "gross calorific value"^^xsd:string ;
rdfs:range ep-core:Work .
ep-flow:hasMixedPart
rdf:type owl:ObjectProperty ;
rdfs:domain ep-flow:WholeLifeFlow ;
rdfs:label "has mixed part"^^xsd:string ;
rdfs:range ep-flow:WholeLifeFlow ;
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
rdfs:subPropertyOf ep-core:hasPart .
ep-flow:hasNetworkPart
rdf:type owl:ObjectProperty ;
rdfs:domain ep-flow:WholeLifeFlow ;
rdfs:label "has network part"^^xsd:string ;
rdfs:range ep-flow:WholeLifeFlow ;
rdfs:subPropertyOf <http://www.reportinghub.no/ep/schema/core#hasPart> .
rdfs:subPropertyOf ep-core:hasPart .
ep-flow:materialThatFlows
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
......@@ -924,10 +976,16 @@ ep-flow:materialThatFlows
rdfs:label "material that flows"^^xsd:string ;
rdfs:range ep-flow:QuantityOfMaterial .
ep-flow:mechanicalEnergyOfCompression
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-flow:QuantityOfMaterial ;
rdfs:label "mechanical energy of compression"^^xsd:string ;
rdfs:range ep-core:Work .
ep-flow:rateOfFlowOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "rate of flow of material"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
rdfs:range ep-core:MeasureOfAmountOfMaterial .
ep-flow:substance-11dmcyPentane
rdf:type ep-prodact:SubstanceType , ep-prodwell:FluidComponentType , owl:Class ;
......@@ -1472,7 +1530,7 @@ ep-flow:substance-T13dmcyPentane
ep-flow:totalVolumeOfMaterial-deprecated
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:label "total volume of material"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/core#MeasureOfAmountOfMaterial> .
rdfs:range ep-core:MeasureOfAmountOfMaterial .
ep-flow:yearlyAverageAmountOfMaterial
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
......
......@@ -4,6 +4,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
......@@ -19,7 +20,7 @@
<http://www.reportinghub.no/ep/schema/1.0/production-activity>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity>
......@@ -120,6 +121,16 @@ ep-prodact:Alarm
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:AlertLevel
rdf:type rdfs:Class ;
rdfs:label "alert level"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:AlertType
rdf:type rdfs:Class ;
rdfs:label "alert type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodact:AnnualProductionActivity
rdf:type ep-prodact:ProductionOperationClassByDuration , owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
......@@ -307,6 +318,11 @@ ep-prodact:MaintenanceActivity
rdfs:label "maintenance activity"^^xsd:string ;
rdfs:subClassOf ep-prodact:PartOfProductionActivity .
ep-prodact:MakeAComment
rdf:type owl:Class ;
rdfs:label "make a comment"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:MakeATransaction
rdf:type ep-prodact:SalesActivityType , owl:Class ;
rdfs:label "make a transaction"^^xsd:string ;
......@@ -475,6 +491,11 @@ ep-prodact:ProductionVolumeActivity
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
ep-prodact:RaiseAnAlert
rdf:type owl:Class ;
rdfs:label "raise an alert"^^xsd:string ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#Activity> .
ep-prodact:ReleasedToWater
rdf:type owl:Class ;
rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
......@@ -571,6 +592,12 @@ ep-prodact:WorkingUnderPermitWithSJA
rdf:type owl:Class , ep-prodact:SafetyActivityType ;
rdfs:subClassOf ep-prodact:WorkingUnderPermit .
ep-prodact:alertUpon
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:RaiseAnAlert ;
rdfs:label "alert upon"^^xsd:string ;
rdfs:range owl:Thing .
ep-prodact:ammoniumDensity
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
......@@ -602,6 +629,23 @@ ep-prodact:classificationBySafetyActivityType
rdfs:domain ep-prodact:FusionOfHSEActivitiesOverPeriod ;
rdfs:range ep-prodact:SafetyActivityType .
ep-prodact:commentMade
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-prodact:MakeAComment ;
rdfs:label "comment made"^^xsd:string .
ep-prodact:commentUpon
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MakeAComment ;
rdfs:label "comment upon"^^xsd:string ;
rdfs:range owl:Thing .
ep-prodact:commentator
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:MakeAComment ;
rdfs:label "commentator"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#Person> .
ep-prodact:conveyed
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:TransportationActivity ;
......@@ -619,6 +663,12 @@ ep-prodact:coulterCounter
rdfs:domain ep-prodact:WaterSample ;
rdfs:range ep-core:MassPerUnitMassConcentration .
ep-prodact:destination
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-prodact:MovementOfProduct ;
rdfs:label "destination"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> .
ep-prodact:glycolDensity
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:WaterSample ;
......@@ -805,6 +855,12 @@ ep-prodact:samplingPerformedAt
rdfs:domain ep-prodact:FluidSamplingAndAnalysis ;
rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> .
ep-prodact:shipper
rdf:type owl:TransitiveProperty ;
rdfs:domain ep-prodact:MovementOfProduct ;
rdfs:label "shipper"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/ep/schema/organization#Organization> .
ep-prodact:testedWellBoreInterval
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
......@@ -838,6 +894,11 @@ ep-prodact:withStandByVessel
rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#Ship> ;
rdfs:subPropertyOf ep-prodact:involvement .
ep-prodact:xpathToDataInSourceXmlFile
rdf:type owl:DatatypeProperty ;
rdfs:domain ep-prodact:RaiseAnAlert ;
rdfs:label "XPATH to data source in XML file"^^xsd:string .
ep-prodact:yearlyActivityToDate
rdf:type owl:ObjectProperty ;
rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ;
......
# Saved by TopBraid on Fri Oct 21 14:31:55 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-organization
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
......@@ -20,3 +19,13 @@ ep-prodorg:Person
ep-prodorg:PersonOrOrganization
rdf:type owl:Class ;
rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
ep-prodorg:PersonRole
rdf:type owl:Class ;
rdfs:label "person role"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Person .
ep-prodorg:WholeLifePerson
rdf:type owl:Class ;
rdfs:label "whole life person"^^xsd:string ;
rdfs:subClassOf ep-prodorg:Person .
......
......@@ -48,7 +48,7 @@ sp:if
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:Function
......@@ -281,6 +281,30 @@ ep-dpr-spin-lib:buildProductFlowURI
])
] .
ep-dpr-spin-lib:buildProductInventoryURI
rdf:type spin:Function ;
rdfs:label "build ProductInventory URI"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/productInventory/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1 ;
sp:arg2 "$" ;
sp:arg3 spin:_arg2
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
ep-dpr-spin-lib:buildProductionActivityToDateURI
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
......@@ -387,6 +411,28 @@ ep-dpr-spin-lib:buildProductionFlowsToDateURI
])
] .
ep-dpr-spin-lib:buildProductionInventoryURI
rdf:type spin:Function ;
rdfs:label "build ProductionInventory URI"^^xsd:string ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "https://www.reportinghub.no/ep/data/productionInventory/" ;
sp:arg2 [ rdf:type fn:concat ;
sp:arg1 spin:_arg1
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
ep-dpr-spin-lib:buildProductionReportKindURI
rdf:type spin:Function ;
rdfs:label "build ProductionReportKind URI"^^xsd:string ;
......@@ -5490,22 +5536,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b28
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5585,6 +5615,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b28) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b28
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......
......@@ -4169,6 +4169,86 @@ ep-mpr-spin-lib:selectProductionFacilityType
])
] .
ep-mpr-spin-lib:selectProductionFlowDefinitionSubType
rdf:type spin:Function ;
rdfs:label "select ProductionFlowDefinitionSubType"^^xsd:string ;
rdfs:subClassOf ep-mpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "productionFlowDefinitionSubType"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_declinecurve>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ForecastFlow-declineCurve> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_difference>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#DerivedFlow-difference> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_fiscal>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#MeasuredFlow-fiscal> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_fixed>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ConstraintFlow-fixed> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_minimum>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ConstraintFlow-minimum> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_maximum>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ConstraintFlow-maximum> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_raw>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#MeasuredFlow-raw> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_recalibrated>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#MeasuredFlow-recalibrated> ;
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#FSQ_standard>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#ForecastFlow-standard> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow>
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "productionFlowDefinitionSubType"^^xsd:string
]
])
] .
ep-mpr-spin-lib:selectProductionFlowDefinitionType
rdf:type spin:Function ;
rdfs:label "select ProductionFlowDefinitionType"^^xsd:string ;
......@@ -4463,7 +4543,7 @@ ep-mpr-spin-lib:selectProductionFlowPurposeType
sp:arg3 [ rdf:type sp:if ;
sp:arg1 [ rdf:type sp:eq ;
sp:arg1 spin:_arg1 ;
sp:arg2 <http://www.epim.no/schemas/mprml/1#RF_production>
sp:arg2 <http://www.epim.no/schemas/mprml/1#RF_hydrocarbonaccounting>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ;
sp:arg3 [ rdf:type sp:if ;
......