David Leal

Completion of issuedBy and bug fixes in water quality

This diff could not be displayed because it is too large.
......@@ -19,14 +19,19 @@ ep-material:Air-gas
rdfs:label "air gas"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:Ammonium
rdf:type owl:Class ;
rdfs:label "ammonium"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:AqueousMaterial
rdf:type owl:Class ;
rdfs:label "aqueous material"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:BasicSedimentAndWater
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "basic sediment and water"^^xsd:string , "bsw"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "bsw"^^xsd:string , "basic sediment and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS16681480"^^xsd:string .
......@@ -42,97 +47,97 @@ ep-material:Brine
rdfs:subClassOf ep-material:Water .
ep-material:C10AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C10+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C10AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C10-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C2AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C2+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C2AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C2-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C3AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C3+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C3AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C3-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C4AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C4+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C4AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C4-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C5AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C5+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C5AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C5-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C6"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C6+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C6-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C7AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C7+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C7AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C7-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C8AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C8+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C8AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C8-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C9AndHeavier
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C9+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C9AndLighter
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C9-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
......@@ -288,6 +293,11 @@ ep-material:GasAndWater
rdfs:label "gas and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Glycols
rdf:type owl:Class ;
rdfs:label "glycols"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:HeliumGas
rdf:type owl:Class ;
rdfs:label "helium gas"^^xsd:string ;
......@@ -315,8 +325,8 @@ ep-material:HydrogenSulfide
rdfs:subClassOf ep-material:Material .
ep-material:Isobutane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "IC4"^^xsd:string , "isobutane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "isobutane"^^xsd:string , "IC4"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS419309"^^xsd:string .
......@@ -327,8 +337,8 @@ ep-material:Isobutane-component
rdfs:subClassOf ep-material:Material .
ep-material:Isopentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "IC5"^^xsd:string , "isopentane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "isopentane"^^xsd:string , "IC5"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS419399"^^xsd:string .
......@@ -436,8 +446,8 @@ ep-material:NonHcGas
rdfs:subClassOf ep-material:Gas .
ep-material:NormalButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "NC4"^^xsd:string , "normal butane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "normal butane"^^xsd:string , "NC4"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NormalButane-component
......@@ -446,8 +456,8 @@ ep-material:NormalButane-component
rdfs:subClassOf ep-material:Material .
ep-material:NormalPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "NC5"^^xsd:string , "normal pentane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "normal pentane"^^xsd:string , "NC5"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Oil
......@@ -492,7 +502,7 @@ ep-material:OtherInjectionFluid
rdfs:subClassOf ep-material:Fluid .
ep-material:Pentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
......@@ -503,14 +513,19 @@ ep-material:PetroleumGasLiquid
rdfs:label "petroleum gas liquid"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Phenols
rdf:type owl:Class ;
rdfs:label "phenols"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:PlusFraction
rdf:type owl:Class ;
rdfs:label "plus fraction"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Propane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C3"^^xsd:string , "propane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "propane"^^xsd:string , "C3"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS419264"^^xsd:string .
......@@ -536,7 +551,7 @@ ep-material:QuantityOfMaterialInAStandardState
rdfs:subClassOf ep-material:QuantityOfMaterial .
ep-material:Salt
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "salt"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
......@@ -599,7 +614,7 @@ ep-material:Water-processed
rdfs:subClassOf ep-material:Material .
ep-material:firstMaterialOfPair
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "first material of pair"^^xsd:string ;
rdfs:range ep-material:Material .
......@@ -620,519 +635,519 @@ ep-material:hasNonPrimaryComponent
rdfs:subPropertyOf ep-material:hasComponent .
ep-material:hasPrimaryComponent
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:Material ;
rdfs:label "has primary component"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-material:hasComponent .
ep-material:massRatio
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "mass ratio"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-material:moleRatio
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "mole ratio"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-material:partMaterialOfPair
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPartWholePair ;
rdfs:label "part material of pair"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-material:firstMaterialOfPair .
ep-material:ratioOfMassOfFirstMaterialToVolumeOfSecondMaterial
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "ratio of mass of first material to volume of second material"^^xsd:string ;
rdfs:range ep-core:Density .
ep-material:reidVaporPressure
rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "Reid vapor pressure"^^xsd:string ;
rdfs:range ep-core:Pressure .
ep-material:secondMaterialOfPair
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "second material of pair"^^xsd:string ;
rdfs:range ep-material:Material .
ep-material:substance-11dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "11dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-124tmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "124tm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-12dmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "12dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-13dmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "13dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-14dmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "14dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-223tmButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "223tm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-223tmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "223tm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-22dmButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-22dmHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-22dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-22dmPropane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-23dmButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "23dm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-23dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "23dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-24dmHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "24dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-24dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "24dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-25dmHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "25dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-2mButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-2mHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-2mPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-2mPropane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-33dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "33dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-3etPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "3et pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-3mHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "3m hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-3mPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "3m pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Ar
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "Ar"^^xsd:string , "Argon"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "Argon"^^xsd:string , "Ar"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Benzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS423899"^^xsd:string .
ep-material:substance-Butane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS419354"^^xsd:string .
ep-material:substance-C11F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C11F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C12F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C12F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C13F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C13F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C13dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "c13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C14F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C14F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C15F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C15F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C16F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C16F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C17F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C17F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C18F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C18F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C19F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C19F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C20F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C20F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C21F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C21F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C22F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C22F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C23F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C23F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C24F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C24F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C25F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C25F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C26F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C26F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C27F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C27F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C28F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C28F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C29F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C29F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C30F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C30F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C31F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C31F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C32F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C32F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C33F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C33F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C34F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C34F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C35F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C35F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C36F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C36F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C37F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C37F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C38F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C38F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C39F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C39F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C40F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C40F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C41F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C41F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C42F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C42F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C43F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C43F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C44F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C44F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C45F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C45F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C46F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C46F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C47F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C47F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C48F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C48F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-C49F
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C49F"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-CO2
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Cyclohexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "cyclohexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS424439"^^xsd:string .
ep-material:substance-Cyclopentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "cyclopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS424619"^^xsd:string .
ep-material:substance-Decanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "decanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-EtBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "et benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-EtcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "etcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Ethane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C2"^^xsd:string , "ethane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "ethane"^^xsd:string , "C2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS419219"^^xsd:string .
ep-material:substance-H2
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "H2"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-H2O
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "H2O"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-H2S
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "H2S"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Heptanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "heptanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Hexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-core:seeReferenceData
"http://posccaesar.org/rdl/RDS419489"^^xsd:string .
ep-material:substance-Hexanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "hexanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-MBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "m benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-McyHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "mcy hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-McyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "mcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Methane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C1"^^xsd:string , "methane"^^xsd:string ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "methane"^^xsd:string , "C1"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-N2
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "N2"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Nonanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "nonanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-O2
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "O2"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-Octanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "octanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-T12dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "t12dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:substance-T13dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "t13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:volumeRatio
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "volume ratio"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-material:wholeMaterialOfPair
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPartWholePair ;
rdfs:label "whole material of pair"^^xsd:string ;
rdfs:range ep-material:Material ;
......
......@@ -17,20 +17,68 @@
<http://www.epim.no/schemas/mprml/1#Cs_businessAssociate>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90200 Set the approver"^^xsd:string ;
rdfs:comment "STEP 90201 Set the approver"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#issuer> ;
sp:subject
[ sp:varName "issueReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "issuer"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issuedByRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ sp:object
[ sp:varName "target"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedReport> ;
sp:subject
[ sp:varName "issueReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#IssueAReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "issueReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "issuer"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90200 Set the approver"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#approver> ;
sp:subject
[ sp:varName "approveReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ;
sp:predicate rdf:type ;
sp:subject _:b1
sp:subject _:b2
] [ sp:object
[ sp:varName "approver"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
sp:subject _:b2
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ;
......@@ -66,5 +114,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
......@@ -22,67 +22,30 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40010 Create the ProductionOperationReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "reportPeriodType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
rdfs:comment "STEP 40031 Record the start and end dates"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b3
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#title> ;
sp:subject _:b1
]) ;
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#finishedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
]
] [ sp:object
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
......@@ -93,79 +56,62 @@
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
[ sp:varName "productionOperationsRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^xsd:string
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportPeriodType"^^xsd:string
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40030 Record the start and end date-times"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
rdfs:comment """STEP 40060 Set the facility operator
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -178,20 +124,6 @@
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
......@@ -204,35 +136,31 @@
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40040 Set the installation"^^xsd:string ;
rdfs:comment """STEP 40071 Set the approval date
The approver is set by STEP 90200 in the approval transform"""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "approvalDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "approveProductionOperationReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -246,43 +174,90 @@
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#approvedReport> ;
sp:subject
[ sp:varName "approveProductionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ApproveAReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "approveProductionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "approvalDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approvalDate> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40070 Create an approve a report activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#ApproveAReport> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#approvedReport> ;
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "approvalDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approvalDate> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
]) ([ sp:object
[ sp:varName "approverRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
......@@ -328,7 +303,111 @@
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
sp:subject spin:_this
] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_productionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "nameRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "nameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "kind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40010 Create the ProductionOperationReport; the period ProductionFacility and the ProductionFacilityToDate ."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "name"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "reportPeriodType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b4
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#title> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -354,44 +433,51 @@
sp:subject
[ sp:varName "nameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kind> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#periodKindRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "titleRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#titleRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "titleRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionReportKindURI ;
sp:arg1 [ sp:varName "kind"^^xsd:string
[ rdf:type ep-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportKind"^^xsd:string
[ sp:varName "reportPeriodType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40051 Set the context facility - installation does not exist"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
rdfs:comment "STEP 40050 Set the context facility - installation exists"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b4
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -404,8 +490,7 @@
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
......@@ -419,7 +504,6 @@
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
])
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
......@@ -434,43 +518,32 @@
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^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 ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40030 Record the start and end date-times"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40070 Create an approve a report activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#ApproveAReport> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#approvedReport> ;
sp:subject _:b5
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -483,53 +556,55 @@
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "approvalDate"^^xsd:string
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approvalDate> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ([ sp:object
[ sp:varName "approverRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]))
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40060 Set the facility operator
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#facilityOperator> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
rdfs:comment "STEP 40080 Create an issue a report activity"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#IssueAReport> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "operator"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedReport> ;
sp:subject _:b6
]) ;
sp:where ([ sp:object
......@@ -547,38 +622,49 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/report#Report> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "issueDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issueDate> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
]) ([ sp:object
[ sp:varName "issuedByRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issuedByRef> ;
sp:subject
[ sp:varName "operator"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40050 Set the context facility - installation exists"^^xsd:string ;
rdfs:comment "STEP 40040 Set the installation"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -606,31 +692,41 @@ role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
[ 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 "contextFacilityRef"^^xsd:string
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacilityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 40071 Set the approval date
The approver is set by STEP 90200 in the approval transform"""^^xsd:string ;
rdfs:comment """STEP 40081 Set the issue date
The issuer is set by STEP 90201 in the approval transform"""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "approvalDate"^^xsd:string
[ sp:varName "issueDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject
[ sp:varName "approveProductionOperationReport"^^xsd:string
[ sp:varName "issueProductionOperationReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -658,19 +754,19 @@ The approver is set by STEP 90200 in the approval transform"""^^xsd:string ;
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#approvedReport> ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedReport> ;
sp:subject
[ sp:varName "approveProductionOperationReport"^^xsd:string
[ sp:varName "issueProductionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ApproveAReport> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#IssueAReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "approveProductionOperationReport"^^xsd:string
[ sp:varName "issueProductionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "approvalDate"^^xsd:string
[ sp:varName "issueDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#approvalDate> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#issueDate> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
......@@ -678,25 +774,22 @@ The approver is set by STEP 90200 in the approval transform"""^^xsd:string ;
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40031 Record the start and end dates"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
rdfs:comment "STEP 40051 Set the context facility - installation does not exist"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b7
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
] [ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
......@@ -711,22 +804,38 @@ The approver is set by STEP 90200 in the approval transform"""^^xsd:string ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionOperationsRef"^^xsd:string
[ sp:varName "productionFacility"^^xsd:string
]
])
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#contextFacilityRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "contextFacilityRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
......@@ -754,5 +863,5 @@ The approver is set by STEP 90200 in the approval transform"""^^xsd:string ;
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......