David Price

Changed to use transform helper schema everywhere rather than production-core for helper properties.

Showing 32 changed files with 5948 additions and 6016 deletions
# baseURI: http://www.reportinghub.no/ep/schema/1.0/material
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-material: <http://www.reportinghub.no/ep/schema/material#> .
@prefix ep-prodcore: <http://www.reportinghub.no/ep/schema/production-core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/material>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-material:Air-gas
rdf:type owl:Class ;
rdfs:label "air gas"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:AqueousMaterial
rdf:type owl:Class ;
rdfs:label "aqueous material"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:BasicSedimentAndWater
rdf:type owl:Class ;
rdfs:label "basic sediment and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Brine
rdf:type owl:Class ;
rdfs:label "brine"^^xsd:string ;
rdfs:subClassOf ep-material:Water .
ep-material:C10AndHeavier
rdf:type owl:Class ;
rdfs:label "C10+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C10AndLighter
rdf:type owl:Class ;
rdfs:label "C10-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C2AndHeavier
rdf:type owl:Class ;
rdfs:label "C2+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C2AndLighter
rdf:type owl:Class ;
rdfs:label "C2-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C3AndHeavier
rdf:type owl:Class ;
rdfs:label "C3+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C3AndLighter
rdf:type owl:Class ;
rdfs:label "C3-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C4AndHeavier
rdf:type owl:Class ;
rdfs:label "C4+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C4AndLighter
rdf:type owl:Class ;
rdfs:label "C4-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C5AndHeavier
rdf:type owl:Class ;
rdfs:label "C5+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C5AndLighter
rdf:type owl:Class ;
rdfs:label "C5-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6AndHeavier
rdf:type owl:Class ;
rdfs:label "C6+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6AndLighter
rdf:type owl:Class ;
rdfs:label "C6-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C7AndHeavier
rdf:type owl:Class ;
rdfs:label "C7+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C7AndLighter
rdf:type owl:Class ;
rdfs:label "C7-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C8AndHeavier
rdf:type owl:Class ;
rdfs:label "C8+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C8AndLighter
rdf:type owl:Class ;
rdfs:label "C8-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C9AndHeavier
rdf:type owl:Class ;
rdfs:label "C9+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C9AndLighter
rdf:type owl:Class ;
rdfs:label "C9-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:CO2-gas
rdf:type owl:Class ;
rdfs:label "CO2 gas"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:CarbonDioxide
rdf:type owl:Class ;
rdfs:label "carbon dioxide"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:CarbonMonoxide
rdf:type owl:Class ;
rdfs:label "carbon monoxide"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Chemical
rdf:type owl:Class ;
rdfs:label "chemical"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Chloride
rdf:type owl:Class ;
rdfs:label "chloride"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Condensate
rdf:type owl:Class ;
rdfs:label "condensate"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Crude-stabilized
rdf:type owl:Class ;
rdfs:label "crude - stabilized"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:CrudeOil
rdf:type owl:Class ;
rdfs:subClassOf ep-material:Material .
ep-material:Cuttings
rdf:type owl:Class ;
rdfs:label "cuttings"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Diesel
rdf:type owl:Class ;
rdfs:label "diesel"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Diethyleneglycol
rdf:type owl:Class ;
rdfs:label "diethyleneglycol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Dioxygen
rdf:type owl:Class ;
rdfs:label "dioxygen"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:DryFluid
rdf:type owl:Class ;
rdfs:label "dry fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Ethane
rdf:type owl:Class ;
rdfs:label "ethane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Ethane-component
rdf:type owl:Class ;
rdfs:label "ethane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Filtrate
rdf:type owl:Class ;
rdfs:label "filtrate"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Fluid
rdf:type owl:Class ;
rdfs:label "fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:FluidFraction
rdf:type owl:Class ;
rdfs:label "fluid fraction"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:FreshWater
rdf:type owl:Class ;
rdfs:label "fresh water"^^xsd:string ;
rdfs:subClassOf ep-material:Water .
ep-material:Gas
rdf:type owl:Class ;
rdfs:label "gas"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Gas-componentInOil
rdf:type owl:Class ;
rdfs:label "gas - component in oil"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Gas-dry
rdf:type owl:Class ;
rdfs:label "gas - dry"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:Gas-rich
rdf:type owl:Class ;
rdfs:label "gas - rich"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:Gas-wet
rdf:type owl:Class ;
rdfs:label "gas - wet"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:GasAndWater
rdf:type owl:Class ;
rdfs:label "gas and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:HeliumGas
rdf:type owl:Class ;
rdfs:label "helium gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Heptane
rdf:type owl:Class ;
rdfs:label "heptane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:HydrogenGas
rdf:type owl:Class ;
rdfs:label "hydrogen gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:HydrogenSulfide
rdf:type owl:Class ;
rdfs:label "hydrogen sulfide"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Isobutane
rdf:type owl:Class ;
rdfs:label "isobutane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Isobutane-component
rdf:type owl:Class ;
rdfs:label "i-butane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Isopentane
rdf:type owl:Class ;
rdfs:label "isopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Liquid
rdf:type owl:Class ;
rdfs:label "liquid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:LiquifiedNaturalGas
rdf:type owl:Class ;
rdfs:label "liquified natural gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:LiquifiedPetroleumGas
rdf:type owl:Class ;
rdfs:label "liquified petroleum gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Material
rdf:type owl:Class ;
rdfs:label "material"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-material:MaterialPair
rdf:type owl:Class ;
rdfs:label "material pair"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-material:MaterialPartWholePair
rdf:type owl:Class ;
rdfs:label "material part - whole pair"^^xsd:string ;
rdfs:subClassOf ep-material:MaterialPair .
ep-material:Methane
rdf:type owl:Class ;
rdfs:label "methane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Methanol
rdf:type owl:Class ;
rdfs:label "methanol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:MixedButane
rdf:type owl:Class ;
rdfs:label "mixed butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Monoethyleneglycol
rdf:type owl:Class ;
rdfs:label "monoethyleneglycol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NGL-componentInGas
rdf:type owl:Class ;
rdfs:label "NGL - component in gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Naptha
rdf:type owl:Class ;
rdfs:label "naptha"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NaturalGas
rdf:type owl:Class ;
rdfs:subClassOf ep-material:Material .
ep-material:NaturalGasLiquid
rdf:type owl:Class ;
rdfs:label "natural gas liquid"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Neopentane
rdf:type owl:Class ;
rdfs:label "neopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NitrogenGas
rdf:type owl:Class ;
rdfs:label "nitrogen gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NitrogenOxideGas
rdf:type owl:Class ;
rdfs:label "nitrogen oxide gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NonHcGas
rdf:type owl:Class ;
rdfs:label "non-HC gas"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:NormalButane
rdf:type owl:Class ;
rdfs:label "normal butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NormalButane-component
rdf:type owl:Class ;
rdfs:label "n-butane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NormalPentane
rdf:type owl:Class ;
rdfs:label "normal pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Oil
rdf:type owl:Class ;
rdfs:label "oil"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Oil-componentInWater
rdf:type owl:Class ;
rdfs:label "oil - component in water"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:OilAndGas
rdf:type owl:Class ;
rdfs:label "oil and gas"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:OilAndWater
rdf:type owl:Class ;
rdfs:label "oil and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Oleic
rdf:type owl:Class ;
rdfs:label "oleic"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:OrganicCarbon
rdf:type owl:Class ;
rdfs:label "organic carbon"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:OtherInjectionFluid
rdf:type owl:Class ;
rdfs:label "other injection fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Pentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_pentane> .
ep-material:PetroleumGasLiquid
rdf:type owl:Class ;
rdfs:label "petroleum gas liquid"^^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 owl:Class , ep-material:SubstanceType ;
rdfs:label "propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_propane> .
ep-material:Propane-component
rdf:type owl:Class ;
rdfs:label "propane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:PureFluid
rdf:type owl:Class ;
rdfs:label "pure fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:QuantityOfMaterial
rdf:type owl:Class ;
rdfs:label "(temporal part of a) quantity of material"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Salt
rdf:type owl:Class ;
rdfs:label "salt"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Sand
rdf:type owl:Class ;
rdfs:label "sand"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:SplitFraction
rdf:type owl:Class ;
rdfs:label "split fraction"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Steam
rdf:type owl:Class ;
rdfs:label "steam"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:SubstanceType
rdf:type rdfs:Class ;
rdfs:label "substance type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-material:Triethyleneglycol
rdf:type owl:Class ;
rdfs:label "triethyleneglycol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:UnknownFluid
rdf:type owl:Class ;
rdfs:label "unknown fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Vapour
rdf:type owl:Class ;
rdfs:label "vapour"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Water
rdf:type owl:Class ;
rdfs:label "water"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Water-discharge
rdf:type owl:Class ;
rdfs:label "water - discharge"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Water-processed
rdf:type owl:Class ;
rdfs:label "water - processed"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:firstMaterialOfPair
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "first material of pair"^^xsd:string ;
rdfs:range ep-material:Material .
ep-material:hasComponent
rdf:type owl:TransitiveProperty ;
rdfs:comment "A component is all part material of the class."^^xsd:string ;
rdfs:domain ep-material:Material ;
rdfs:label "hasComponent"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-core:hasPart .
ep-material:hasNonPrimaryComponent
rdf:type owl:ObjectProperty ;
rdfs:domain ep-material:Material ;
rdfs:label "has non-primary component"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-material:hasComponent .
ep-material:hasPrimaryComponent
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: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: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 ;
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:secondMaterialOfPair
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "second material of pair"^^xsd:string ;
rdfs:range ep-material:Material .
ep-material:substance-11dmcyPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "11dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_11dmcypentane> .
ep-material:substance-124tmBenzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "124tm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_124tmbenzene> .
ep-material:substance-12dmBenzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "12dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_12dmbenzene> .
ep-material:substance-13dmBenzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "13dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_13dmbenzene> .
ep-material:substance-14dmBenzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "14dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_14dmbenzene> .
ep-material:substance-223tmButane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "223tm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_223tmbutane> .
ep-material:substance-223tmPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "223tm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_223tmpentane> .
ep-material:substance-22dmButane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmbutane> .
ep-material:substance-22dmHexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmhexane> .
ep-material:substance-22dmPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmpentane> .
ep-material:substance-22dmPropane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "22dm propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_22dmpropane> .
ep-material:substance-23dmButane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "23dm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_23dmbutane> .
ep-material:substance-23dmPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "23dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_23dmpentane> .
ep-material:substance-24dmHexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "24dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_24dmhexane> .
ep-material:substance-24dmPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "24dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_24dmpentane> .
ep-material:substance-25dmHexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "25dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_25dmhexane> .
ep-material:substance-2mButane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mbutane> .
ep-material:substance-2mHexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mhexane> .
ep-material:substance-2mPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mpentane> .
ep-material:substance-2mPropane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "2m propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_2mpropane> .
ep-material:substance-33dmPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "33dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_33dmpentane> .
ep-material:substance-3etPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "3et pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_3etpentane> .
ep-material:substance-3mHexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "3m hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_3mhexane> .
ep-material:substance-3mPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "3m pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_3mpentane> .
ep-material:substance-Ar
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "Argon"^^xsd:string , "Ar"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_Ar> .
ep-material:substance-Benzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_benzene> .
ep-material:substance-Butane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_butane> .
ep-material:substance-C11F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C11F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C11F> .
ep-material:substance-C12F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C12F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C12F> .
ep-material:substance-C13F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C13F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C13F> .
ep-material:substance-C13dmcyPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "c13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_c13dmcypentane> .
ep-material:substance-C14F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C14F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C14F> .
ep-material:substance-C15F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C15F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C15F> .
ep-material:substance-C16F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C16F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C16F> .
ep-material:substance-C17F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C17F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C17F> .
ep-material:substance-C18F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C18F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C18F> .
ep-material:substance-C19F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C19F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C19F> .
ep-material:substance-C20F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C20F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C20F> .
ep-material:substance-C21F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C21F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C21F> .
ep-material:substance-C22F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C22F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C22F> .
ep-material:substance-C23F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C23F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C23F> .
ep-material:substance-C24F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C24F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C24F> .
ep-material:substance-C25F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C25F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C25F> .
ep-material:substance-C26F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C26F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C26F> .
ep-material:substance-C27F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C27F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C27F> .
ep-material:substance-C28F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C28F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C28F> .
ep-material:substance-C29F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C29F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C29F> .
ep-material:substance-C30F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C30F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C30F> .
ep-material:substance-C31F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C31F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C31F> .
ep-material:substance-C32F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C32F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C32F> .
ep-material:substance-C33F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C33F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C33F> .
ep-material:substance-C34F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C34F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C34F> .
ep-material:substance-C35F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C35F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C35F> .
ep-material:substance-C36F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C36F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C36F> .
ep-material:substance-C37F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C37F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C37F> .
ep-material:substance-C38F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C38F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C38F> .
ep-material:substance-C39F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C39F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C39F> .
ep-material:substance-C40F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C40F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C40F> .
ep-material:substance-C41F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C41F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C41F> .
ep-material:substance-C42F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C42F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C42F> .
ep-material:substance-C43F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C43F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C43F> .
ep-material:substance-C44F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C44F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C44F> .
ep-material:substance-C45F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C45F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C45F> .
ep-material:substance-C46F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C46F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C46F> .
ep-material:substance-C47F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C47F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C47F> .
ep-material:substance-C48F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C48F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C48F> .
ep-material:substance-C49F
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "C49F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_C49F> .
ep-material:substance-CO2
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_CO2> .
ep-material:substance-Cyclohexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "cyclohexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_cyclohexane> .
ep-material:substance-Cyclopentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "cyclopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_cyclopentane> .
ep-material:substance-Decanes
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "decanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_decanes> .
ep-material:substance-EtBenzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "et benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_etbenzene> .
ep-material:substance-EtcyPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "etcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_etcypentane> .
ep-material:substance-Ethane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "ethane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_ethane> .
ep-material:substance-H2
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "H2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_H2> .
ep-material:substance-H2O
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "H2O"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_H2O> .
ep-material:substance-H2S
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "H2S"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_H2S> .
ep-material:substance-Heptanes
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "heptanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_heptanes> .
ep-material:substance-Hexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_hexane> .
ep-material:substance-Hexanes
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "hexanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_hexanes> .
ep-material:substance-MBenzene
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "m benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_mbenzene> .
ep-material:substance-McyHexane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "mcy hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_mcyhexane> .
ep-material:substance-McyPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "mcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_mcypentane> .
ep-material:substance-Methane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "methane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_methane> .
ep-material:substance-N2
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "N2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_N2> .
ep-material:substance-Nonanes
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "nonanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_nonanes> .
ep-material:substance-O2
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "O2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_O2> .
ep-material:substance-Octanes
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "octanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_octanes> .
ep-material:substance-T12dmcyPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "t12dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_t12dmcypentane> .
ep-material:substance-T13dmcyPentane
rdf:type owl:Class , ep-material:SubstanceType ;
rdfs:label "t13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
ep-prodcore:mapsTo <http://www.epim.no/schemas/mprml/1#FC_t13dmcypentane> .
ep-material:volumeRatio
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:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPartWholePair ;
rdfs:label "whole material of pair"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-material:secondMaterialOfPair .
# baseURI: http://www.reportinghub.no/ep/schema/1.0/material
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-material: <http://www.reportinghub.no/ep/schema/material#> .
@prefix ep-prodcore: <http://www.reportinghub.no/ep/schema/production-core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/material>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-material:Air-gas
rdf:type owl:Class ;
rdfs:label "air gas"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:AqueousMaterial
rdf:type owl:Class ;
rdfs:label "aqueous material"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:BasicSedimentAndWater
rdf:type owl:Class ;
rdfs:label "basic sediment and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Brine
rdf:type owl:Class ;
rdfs:label "brine"^^xsd:string ;
rdfs:subClassOf ep-material:Water .
ep-material:C10AndHeavier
rdf:type owl:Class ;
rdfs:label "C10+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C10AndLighter
rdf:type owl:Class ;
rdfs:label "C10-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C2AndHeavier
rdf:type owl:Class ;
rdfs:label "C2+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C2AndLighter
rdf:type owl:Class ;
rdfs:label "C2-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C3AndHeavier
rdf:type owl:Class ;
rdfs:label "C3+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C3AndLighter
rdf:type owl:Class ;
rdfs:label "C3-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C4AndHeavier
rdf:type owl:Class ;
rdfs:label "C4+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C4AndLighter
rdf:type owl:Class ;
rdfs:label "C4-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C5AndHeavier
rdf:type owl:Class ;
rdfs:label "C5+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C5AndLighter
rdf:type owl:Class ;
rdfs:label "C5-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6AndHeavier
rdf:type owl:Class ;
rdfs:label "C6+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C6AndLighter
rdf:type owl:Class ;
rdfs:label "C6-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C7AndHeavier
rdf:type owl:Class ;
rdfs:label "C7+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C7AndLighter
rdf:type owl:Class ;
rdfs:label "C7-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C8AndHeavier
rdf:type owl:Class ;
rdfs:label "C8+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C8AndLighter
rdf:type owl:Class ;
rdfs:label "C8-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C9AndHeavier
rdf:type owl:Class ;
rdfs:label "C9+"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:C9AndLighter
rdf:type owl:Class ;
rdfs:label "C9-"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:CO2-gas
rdf:type owl:Class ;
rdfs:label "CO2 gas"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:CarbonDioxide
rdf:type owl:Class ;
rdfs:label "carbon dioxide"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:CarbonMonoxide
rdf:type owl:Class ;
rdfs:label "carbon monoxide"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Chemical
rdf:type owl:Class ;
rdfs:label "chemical"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Chloride
rdf:type owl:Class ;
rdfs:label "chloride"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Condensate
rdf:type owl:Class ;
rdfs:label "condensate"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Crude-stabilized
rdf:type owl:Class ;
rdfs:label "crude - stabilized"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:CrudeOil
rdf:type owl:Class ;
rdfs:subClassOf ep-material:Material .
ep-material:Cuttings
rdf:type owl:Class ;
rdfs:label "cuttings"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Diesel
rdf:type owl:Class ;
rdfs:label "diesel"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Diethyleneglycol
rdf:type owl:Class ;
rdfs:label "diethyleneglycol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Dioxygen
rdf:type owl:Class ;
rdfs:label "dioxygen"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:DryFluid
rdf:type owl:Class ;
rdfs:label "dry fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Ethane
rdf:type owl:Class ;
rdfs:label "ethane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Ethane-component
rdf:type owl:Class ;
rdfs:label "ethane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Filtrate
rdf:type owl:Class ;
rdfs:label "filtrate"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Fluid
rdf:type owl:Class ;
rdfs:label "fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:FluidFraction
rdf:type owl:Class ;
rdfs:label "fluid fraction"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:FreshWater
rdf:type owl:Class ;
rdfs:label "fresh water"^^xsd:string ;
rdfs:subClassOf ep-material:Water .
ep-material:Gas
rdf:type owl:Class ;
rdfs:label "gas"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Gas-componentInOil
rdf:type owl:Class ;
rdfs:label "gas - component in oil"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Gas-dry
rdf:type owl:Class ;
rdfs:label "gas - dry"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:Gas-rich
rdf:type owl:Class ;
rdfs:label "gas - rich"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:Gas-wet
rdf:type owl:Class ;
rdfs:label "gas - wet"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:GasAndWater
rdf:type owl:Class ;
rdfs:label "gas and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:HeliumGas
rdf:type owl:Class ;
rdfs:label "helium gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Heptane
rdf:type owl:Class ;
rdfs:label "heptane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:HydrogenGas
rdf:type owl:Class ;
rdfs:label "hydrogen gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:HydrogenSulfide
rdf:type owl:Class ;
rdfs:label "hydrogen sulfide"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Isobutane
rdf:type owl:Class ;
rdfs:label "isobutane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Isobutane-component
rdf:type owl:Class ;
rdfs:label "i-butane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Isopentane
rdf:type owl:Class ;
rdfs:label "isopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Liquid
rdf:type owl:Class ;
rdfs:label "liquid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:LiquifiedNaturalGas
rdf:type owl:Class ;
rdfs:label "liquified natural gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:LiquifiedPetroleumGas
rdf:type owl:Class ;
rdfs:label "liquified petroleum gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Material
rdf:type owl:Class ;
rdfs:label "material"^^xsd:string ;
rdfs:subClassOf ep-core:PhysicalObject .
ep-material:MaterialPair
rdf:type owl:Class ;
rdfs:label "material pair"^^xsd:string ;
rdfs:subClassOf owl:Thing .
ep-material:MaterialPartWholePair
rdf:type owl:Class ;
rdfs:label "material part - whole pair"^^xsd:string ;
rdfs:subClassOf ep-material:MaterialPair .
ep-material:Methane
rdf:type owl:Class ;
rdfs:label "methane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Methanol
rdf:type owl:Class ;
rdfs:label "methanol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:MixedButane
rdf:type owl:Class ;
rdfs:label "mixed butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Monoethyleneglycol
rdf:type owl:Class ;
rdfs:label "monoethyleneglycol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NGL-componentInGas
rdf:type owl:Class ;
rdfs:label "NGL - component in gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Naptha
rdf:type owl:Class ;
rdfs:label "naptha"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NaturalGas
rdf:type owl:Class ;
rdfs:subClassOf ep-material:Material .
ep-material:NaturalGasLiquid
rdf:type owl:Class ;
rdfs:label "natural gas liquid"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Neopentane
rdf:type owl:Class ;
rdfs:label "neopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NitrogenGas
rdf:type owl:Class ;
rdfs:label "nitrogen gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NitrogenOxideGas
rdf:type owl:Class ;
rdfs:label "nitrogen oxide gas"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NonHcGas
rdf:type owl:Class ;
rdfs:label "non-HC gas"^^xsd:string ;
rdfs:subClassOf ep-material:Gas .
ep-material:NormalButane
rdf:type owl:Class ;
rdfs:label "normal butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NormalButane-component
rdf:type owl:Class ;
rdfs:label "n-butane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:NormalPentane
rdf:type owl:Class ;
rdfs:label "normal pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Oil
rdf:type owl:Class ;
rdfs:label "oil"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Oil-componentInWater
rdf:type owl:Class ;
rdfs:label "oil - component in water"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:OilAndGas
rdf:type owl:Class ;
rdfs:label "oil and gas"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:OilAndWater
rdf:type owl:Class ;
rdfs:label "oil and water"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Oleic
rdf:type owl:Class ;
rdfs:label "oleic"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:OrganicCarbon
rdf:type owl:Class ;
rdfs:label "organic carbon"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:OtherInjectionFluid
rdf:type owl:Class ;
rdfs:label "other injection fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Pentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_pentane> .
ep-material:PetroleumGasLiquid
rdf:type owl:Class ;
rdfs:label "petroleum gas liquid"^^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 "propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_propane> .
ep-material:Propane-component
rdf:type owl:Class ;
rdfs:label "propane - component"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:PureFluid
rdf:type owl:Class ;
rdfs:label "pure fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:QuantityOfMaterial
rdf:type owl:Class ;
rdfs:label "(temporal part of a) quantity of material"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Salt
rdf:type owl:Class ;
rdfs:label "salt"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Sand
rdf:type owl:Class ;
rdfs:label "sand"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:SplitFraction
rdf:type owl:Class ;
rdfs:label "split fraction"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Steam
rdf:type owl:Class ;
rdfs:label "steam"^^xsd:string ;
rdfs:subClassOf ep-material:NonHcGas .
ep-material:SubstanceType
rdf:type rdfs:Class ;
rdfs:label "substance type"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-material:Triethyleneglycol
rdf:type owl:Class ;
rdfs:label "triethyleneglycol"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:UnknownFluid
rdf:type owl:Class ;
rdfs:label "unknown fluid"^^xsd:string ;
rdfs:subClassOf ep-material:Fluid .
ep-material:Vapour
rdf:type owl:Class ;
rdfs:label "vapour"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Water
rdf:type owl:Class ;
rdfs:label "water"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Water-discharge
rdf:type owl:Class ;
rdfs:label "water - discharge"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:Water-processed
rdf:type owl:Class ;
rdfs:label "water - processed"^^xsd:string ;
rdfs:subClassOf ep-material:Material .
ep-material:firstMaterialOfPair
rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "first material of pair"^^xsd:string ;
rdfs:range ep-material:Material .
ep-material:hasComponent
rdf:type owl:TransitiveProperty ;
rdfs:comment "A component is all part material of the class."^^xsd:string ;
rdfs:domain ep-material:Material ;
rdfs:label "hasComponent"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-core:hasPart .
ep-material:hasNonPrimaryComponent
rdf:type owl:ObjectProperty ;
rdfs:domain ep-material:Material ;
rdfs:label "has non-primary component"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-material:hasComponent .
ep-material:hasPrimaryComponent
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
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 ;
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 ;
rdfs:domain ep-material:MaterialPair ;
rdfs:label "mole ratio"^^xsd:string ;
rdfs:range ep-core:Ratio .
ep-material:partMaterialOfPair
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:secondMaterialOfPair
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 ;
rdfs:label "11dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_11dmcypentane> .
ep-material:substance-124tmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "124tm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_124tmbenzene> .
ep-material:substance-12dmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "12dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_12dmbenzene> .
ep-material:substance-13dmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "13dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_13dmbenzene> .
ep-material:substance-14dmBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "14dm benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_14dmbenzene> .
ep-material:substance-223tmButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "223tm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_223tmbutane> .
ep-material:substance-223tmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "223tm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_223tmpentane> .
ep-material:substance-22dmButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "22dm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_22dmbutane> .
ep-material:substance-22dmHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "22dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_22dmhexane> .
ep-material:substance-22dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "22dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_22dmpentane> .
ep-material:substance-22dmPropane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "22dm propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_22dmpropane> .
ep-material:substance-23dmButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "23dm butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_23dmbutane> .
ep-material:substance-23dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "23dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_23dmpentane> .
ep-material:substance-24dmHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "24dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_24dmhexane> .
ep-material:substance-24dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "24dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_24dmpentane> .
ep-material:substance-25dmHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "25dm hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_25dmhexane> .
ep-material:substance-2mButane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "2m butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_2mbutane> .
ep-material:substance-2mHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "2m hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_2mhexane> .
ep-material:substance-2mPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "2m pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_2mpentane> .
ep-material:substance-2mPropane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "2m propane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_2mpropane> .
ep-material:substance-33dmPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "33dm pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_33dmpentane> .
ep-material:substance-3etPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "3et pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_3etpentane> .
ep-material:substance-3mHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "3m hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_3mhexane> .
ep-material:substance-3mPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "3m pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_3mpentane> .
ep-material:substance-Ar
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "Ar"^^xsd:string , "Argon"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_Ar> .
ep-material:substance-Benzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_benzene> .
ep-material:substance-Butane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "butane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_butane> .
ep-material:substance-C11F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C11F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C11F> .
ep-material:substance-C12F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C12F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C12F> .
ep-material:substance-C13F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C13F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C13F> .
ep-material:substance-C13dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "c13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_c13dmcypentane> .
ep-material:substance-C14F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C14F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C14F> .
ep-material:substance-C15F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C15F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C15F> .
ep-material:substance-C16F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C16F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C16F> .
ep-material:substance-C17F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C17F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C17F> .
ep-material:substance-C18F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C18F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C18F> .
ep-material:substance-C19F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C19F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C19F> .
ep-material:substance-C20F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C20F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C20F> .
ep-material:substance-C21F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C21F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C21F> .
ep-material:substance-C22F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C22F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C22F> .
ep-material:substance-C23F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C23F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C23F> .
ep-material:substance-C24F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C24F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C24F> .
ep-material:substance-C25F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C25F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C25F> .
ep-material:substance-C26F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C26F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C26F> .
ep-material:substance-C27F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C27F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C27F> .
ep-material:substance-C28F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C28F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C28F> .
ep-material:substance-C29F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C29F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C29F> .
ep-material:substance-C30F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C30F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C30F> .
ep-material:substance-C31F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C31F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C31F> .
ep-material:substance-C32F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C32F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C32F> .
ep-material:substance-C33F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C33F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C33F> .
ep-material:substance-C34F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C34F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C34F> .
ep-material:substance-C35F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C35F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C35F> .
ep-material:substance-C36F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C36F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C36F> .
ep-material:substance-C37F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C37F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C37F> .
ep-material:substance-C38F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C38F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C38F> .
ep-material:substance-C39F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C39F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C39F> .
ep-material:substance-C40F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C40F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C40F> .
ep-material:substance-C41F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C41F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C41F> .
ep-material:substance-C42F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C42F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C42F> .
ep-material:substance-C43F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C43F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C43F> .
ep-material:substance-C44F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C44F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C44F> .
ep-material:substance-C45F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C45F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C45F> .
ep-material:substance-C46F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C46F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C46F> .
ep-material:substance-C47F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C47F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C47F> .
ep-material:substance-C48F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C48F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C48F> .
ep-material:substance-C49F
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "C49F"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_C49F> .
ep-material:substance-CO2
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "CO2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_CO2> .
ep-material:substance-Cyclohexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "cyclohexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_cyclohexane> .
ep-material:substance-Cyclopentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "cyclopentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_cyclopentane> .
ep-material:substance-Decanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "decanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_decanes> .
ep-material:substance-EtBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "et benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_etbenzene> .
ep-material:substance-EtcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "etcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_etcypentane> .
ep-material:substance-Ethane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "ethane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_ethane> .
ep-material:substance-H2
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "H2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_H2> .
ep-material:substance-H2O
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "H2O"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_H2O> .
ep-material:substance-H2S
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "H2S"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_H2S> .
ep-material:substance-Heptanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "heptanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_heptanes> .
ep-material:substance-Hexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_hexane> .
ep-material:substance-Hexanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "hexanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_hexanes> .
ep-material:substance-MBenzene
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "m benzene"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_mbenzene> .
ep-material:substance-McyHexane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "mcy hexane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_mcyhexane> .
ep-material:substance-McyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "mcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_mcypentane> .
ep-material:substance-Methane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "methane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_methane> .
ep-material:substance-N2
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "N2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_N2> .
ep-material:substance-Nonanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "nonanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_nonanes> .
ep-material:substance-O2
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "O2"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_O2> .
ep-material:substance-Octanes
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "octanes"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_octanes> .
ep-material:substance-T12dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "t12dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_t12dmcypentane> .
ep-material:substance-T13dmcyPentane
rdf:type ep-material:SubstanceType , owl:Class ;
rdfs:label "t13dmcy pentane"^^xsd:string ;
rdfs:subClassOf ep-material:Material ;
<http://www.reportinghub.no/ep/transform/transform-helper-schema#mapsTo>
<http://www.epim.no/schemas/mprml/1#FC_t13dmcypentane> .
ep-material:volumeRatio
rdf:type owl:FunctionalProperty , owl:ObjectProperty ;
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 ;
rdfs:domain ep-material:MaterialPartWholePair ;
rdfs:label "whole material of pair"^^xsd:string ;
rdfs:range ep-material:Material ;
rdfs:subPropertyOf ep-material:secondMaterialOfPair .
......
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-core
@prefix ep-prodcore: <http://www.reportinghub.no/ep/schema/production-core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/production-core>
rdf:type owl:Ontology ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodcore:dummyTrue
rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "dummy true - I can't get FILTER to work."^^xsd:string .
ep-prodcore:intervalIdentifier
rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "ph"^^xsd:string .
ep-prodcore:mapsTo
rdf:type rdf:Property ;
rdfs:label "maps to"^^xsd:string .
ep-prodcore:derivedFrom
rdf:type owl:ObjectProperty , owl:TransitiveProperty ;
rdfs:label "derived from"^^xsd:string .
\ No newline at end of file
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-core
@prefix ep-prodcore: <http://www.reportinghub.no/ep/schema/production-core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/production-core>
rdf:type owl:Ontology ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
This diff could not be displayed because it is too large.
......@@ -10,3 +10,15 @@
rdf:type owl:Ontology ;
rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
transhelp:derivedFrom
rdf:type owl:ObjectProperty , owl:TransitiveProperty .
transhelp:dummyTrue
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
transhelp:intervalIdentifier
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:mapsTo
rdf:type rdf:Property .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix productVolume: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> .
@prefix productVolumeReport: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport#> .
@prefix productionOperations: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations#> .
@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix productVolume: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> .
@prefix productVolumeReport: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport#> .
@prefix productionOperations: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations#> .
@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-well
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix : <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-well> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#dateCoveredByReport> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10003 Set the overall daily activity installation and its operator"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#productionOperator> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionInstallation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInstallationType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallation"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "installationKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallationType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/ep/schema/1.0/production-well
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix : <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
<http://www.witsml.org/schemas/131/addendum/combo#A_Global-WITSMLComposite>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002b Create the DailyProductionActivity - start and end dates
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] .
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dateEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 10002a Create the DailyProductionActivity - start and end date-times
The DPR transform will fall in a heap unless productionOperation/installationRef is supplied. The XML schema says it is optional."""^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "productionActivityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "startDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "endDateTime"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionActivityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "startDateTime"^^xsd:string
] ;
sp:arg3 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildAnnualProductionActivityToEndOfPeriodURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "annualProductionActivityToDate"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionActivityToDateURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
] ;
sp:arg2 [ sp:varName "endDateTime"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionActivityToDate"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10003 Set the overall daily activity installation and its operator"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#productionOperator> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Company> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject _:b1
] [ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "dailyProductionActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionInstallation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInstallationType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInstallation"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "dailyProductionActivity"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationSetRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationSetRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productionOperationRef> ;
sp:subject
[ sp:varName "productionOperationSetRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationKind"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
sp:subject
[ sp:varName "installationRef"^^xsd:string
]
])
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#operatorRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorName"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "installationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedInstallationName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
sp:arg1 [ sp:varName "normalizedInstallationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallation"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "installationKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionInstallationType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 10001 Create the DailyProductionReport"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#DailyProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "docDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#dateCoveredByReport> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#createdAt> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "dailyProductionReport"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "documentInfoRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentInfoRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "documentNameRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentNameRef> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "documentNameRef"^^xsd:string
]
] [ sp:object
[ sp:varName "documentDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#documentDate> ;
sp:subject
[ sp:varName "documentInfoRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "fileCreationInformationRef"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationInformationRef> ;
sp:subject
[ sp:varName "documentInfoRe"^^xsd:string
]
] [ sp:object
[ sp:varName "fileCreationDate"^^xsd:string
] ;
sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#fileCreationDate> ;
sp:subject
[ sp:varName "fileCreationInformationRef"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "documentName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedDocumentName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildDailyProductionReportURI ;
sp:arg1 [ sp:varName "normalizedDocumentName"^^xsd:string
] ;
sp:arg2 [ sp:varName "documentDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "dailyProductionReport"^^xsd:string
]
])
] .
......
This diff could not be displayed because it is too large.
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
@prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> .
@prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
@prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> .
@prefix TRANSFORM_mpr-installationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> .
@prefix TRANSFORM_mpr-operationalHSEReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> .
@prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
@prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> .
@prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
@prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix TRANSFORM_mpr-facility-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
@prefix TRANSFORM_mpr-facilityIdentifierStructure-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> .
@prefix TRANSFORM_mpr-fluidSample-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0#> .
@prefix TRANSFORM_mpr-geographicContext-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> .
@prefix TRANSFORM_mpr-installationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> .
@prefix TRANSFORM_mpr-operationalHSEReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> .
@prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
@prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
@prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
@prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> .
@prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
@prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
@prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> .
@prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix wellTest: <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/material
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_datedComment>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90202 Set the commentation role (whole life person set)"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "commentator"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "personRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRoleType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "commentator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
sp:arg1 [ sp:varName "role"^^xsd:string
]
] ;
sp:variable
[ sp:varName "personRoleType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90201 Set the commentation whole life person"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Person> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "person"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#WholeLifePerson> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "person"^^xsd:string
]
] [ sp:object
[ sp:varName "who"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "person"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "who"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#who> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildPersonURI ;
sp:arg1 [ sp:varName "who"^^xsd:string
]
] ;
sp:variable
[ sp:varName "person"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90203 Set the commentation role (whole life person not set)"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Person> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "personRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRoleType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "commentator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
])
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
sp:arg1 [ sp:varName "role"^^xsd:string
]
] ;
sp:variable
[ sp:varName "personRoleType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90200 Create the commenting activity"^^xsd:string ;
sp:templates ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "activityForComment"^^xsd:string
]
] [ sp:object
[ sp:varName "typeOfPartCommentedOn"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b5
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MakeAComment> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentUpon> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentMade> ;
sp:subject _:b6
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject _:b6
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "activityForComment"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject
[ sp:varName "typeOfPartCommentedOn"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject spin:_this
])
] [ 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 spin:_this
])
] [ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#remark> ;
sp:subject spin:_this
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <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/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/flow
# imports: http://www.reportinghub.no/ep/schema/1.0/material
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_datedComment>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90202 Set the commentation role (whole life person set)"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "commentator"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "personRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRoleType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "commentator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
sp:arg1 [ sp:varName "role"^^xsd:string
]
] ;
sp:variable
[ sp:varName "personRoleType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90201 Set the commentation whole life person"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Person> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "person"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#WholeLifePerson> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "person"^^xsd:string
]
] [ sp:object
[ sp:varName "who"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "person"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "who"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#who> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildPersonURI ;
sp:arg1 [ sp:varName "who"^^xsd:string
]
] ;
sp:variable
[ sp:varName "person"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90203 Set the commentation role (whole life person not set)"^^xsd:string ;
sp:templates ([ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Person> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object
[ sp:varName "personRoleType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRoleType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonRole> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "personRoleType"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "commentator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentator> ;
sp:subject
[ sp:varName "commentingActivity"^^xsd:string
]
])
] [ sp:object
[ sp:varName "role"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#role> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPersonRoleTypeURI ;
sp:arg1 [ sp:varName "role"^^xsd:string
]
] ;
sp:variable
[ sp:varName "personRoleType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90200 Create the commenting activity"^^xsd:string ;
sp:templates ([ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:subject
[ sp:varName "activityForComment"^^xsd:string
]
] [ sp:object
[ sp:varName "typeOfPartCommentedOn"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
sp:subject _:b5
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MakeAComment> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentUpon> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#commentMade> ;
sp:subject _:b6
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b6
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#forComment> ;
sp:subject
[ sp:varName "activityForComment"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#typeOfPartCommentedOn> ;
sp:subject
[ sp:varName "typeOfPartCommentedOn"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTimStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
sp:subject spin:_this
])
] [ 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 spin:_this
])
] [ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#remark> ;
sp:subject spin:_this
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Tue Sep 20 20:27:24 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
......@@ -14,5 +14,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facility-v1.0>
rdf:type owl:Ontology ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Tue Sep 20 20:27:24 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00010 Record the Facility that has the flows - not in the NPD Fact Pages - already in the file
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
]) ;
sp:where ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ sp:object
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00011 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Terminal> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildTerminalURI ;
sp:arg1 [ sp:varName "facilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "terminal"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an ParentCompany
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00004 Record the Facility that has the flows - kind is \"platform\" - assumed to be a MoveableFacility
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00012 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b1
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00003 Record the Facility that has the flows - kind is \"platform\" - assumed to be a SurfaceFixedFacility
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject _:b1
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b1
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00006 Record the Facility that has the flows - kind is \"terminal\", \"pipeline\", \"flowline\", \"installation\", etc.
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "tuf"^^xsd:string
]
] [ sp:object
[ sp:varName "tufName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_pipeline> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_flowline> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_installation> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_processingfacility> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_trunkline> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_storage> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant-processing> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "tufName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#TUF> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "tuf"^^xsd:string
]
] [ sp:object
[ sp:varName "tufName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "tuf"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00011 Record the Facility that has the flows - not in the NPD Fact Pages - not already in the file - a terminal
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Terminal> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "terminal"^^xsd:string
]
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildTerminalURI ;
sp:arg1 [ sp:varName "facilityName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "terminal"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "tuf"^^xsd:string
]
] [ sp:object
[ sp:varName "tufName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_pipeline> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_flowline> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_installation> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_processingfacility> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_trunkline> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_storage> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_plant-processing> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "tufName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#TUF> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "tuf"^^xsd:string
]
] [ sp:object
[ sp:varName "tufName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "tuf"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00003 Record the Facility that has the flows - kind is \"platform\" - assumed to be a SurfaceFixedFacility
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
] [ sp:object
[ sp:varName "platformName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "platform"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc.
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "field"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00005 Record the Facility that has the flows - kind is \"well\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "well"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "field"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00009 Record the Facility that has the flows - kind is \"licence\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:Union ;
sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
]))
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "company"^^xsd:string
]
] [ sp:object
[ sp:varName "companyName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "company"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
] [ sp:object
[ sp:varName "licenceName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "licence"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00005 Record the Facility that has the flows - kind is \"well\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "well"^^xsd:string
]
] [ sp:object
[ sp:varName "wellName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "well"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\"
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
]) ;
sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
] [ sp:object
[ sp:varName "wellBoreName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "wellBore"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment """STEP 00010 Record the Facility that has the flows - not in the NPD Fact Pages - already in the file
Nothing is done with the namingSystem!"""^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
]) ;
sp:where ([ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "facilityKind"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "facilityName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
])
] [ sp:object
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ sp:object <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "aFacilityIdentifierStructure"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "facility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ;
sp:arg1 [ sp:varName "facilityKind"^^xsd:string
]
] ;
sp:variable
[ sp:varName "productionFacilityType"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# c14n-version: 3
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/geography
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_geographicContext>
spin:rule [
rdf:type sp:Construct ;
sp:templates (
[
sp:object <http://www.reportinghub.no/ep/schema/geography#OffshoreLocation> ;
sp:predicate rdf:type ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "quadrant"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId> ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "blockSuffix"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId> ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "areaName"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasAreaName> ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "areaNameNorthSeaOffshore"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName> ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "commentOffshoreLocation"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment> ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
) ;
sp:where (
[
sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject [
sp:varName "target"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "offshoreLocationRef"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ;
sp:subject spin:_this ;
]
[
sp:object [
sp:varName "northSeaOffshoreRef"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#northSeaOffshoreRef> ;
sp:subject [
sp:varName "offshoreLocationRef"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "quadrant"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#quadrant> ;
sp:subject [
sp:varName "northSeaOffshoreRef"^^xsd:string ;
] ;
]
[
rdf:type sp:Optional ;
sp:elements (
[
sp:object [
sp:varName "areaNameNorthSeaOffshore"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ;
sp:subject [
sp:varName "northSeaOffshoreRef"^^xsd:string ;
] ;
]
) ;
]
[
rdf:type sp:Optional ;
sp:elements (
[
sp:object [
sp:varName "blockSuffix"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#blockSuffix> ;
sp:subject [
sp:varName "northSeaOffshoreRef"^^xsd:string ;
] ;
]
) ;
]
[
rdf:type sp:Optional ;
sp:elements (
[
sp:object [
sp:varName "areaName"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ;
sp:subject [
sp:varName "offshoreLocationRef"^^xsd:string ;
] ;
]
) ;
]
[
rdf:type sp:Optional ;
sp:elements (
[
sp:object [
sp:varName "commentOffshoreLocation"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ;
sp:subject [
sp:varName "offshoreLocationRef"^^xsd:string ;
] ;
]
) ;
]
[
sp:object [
sp:varName "target"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "locationOfProductionFacility"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject [
sp:varName "temporalPartOfAProductionFacility"^^xsd:string ;
] ;
]
) ;
rdfs:comment "STEP 90105 Set the geographic context - offshore location"^^xsd:string ;
] ;
spin:rule [
rdf:type sp:Construct ;
sp:templates (
[
sp:object _:b66790 ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject [
sp:varName "temporalPartOfAProductionFacility"^^xsd:string ;
] ;
]
[
sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ;
sp:predicate rdf:type ;
sp:subject _:b66790 ;
]
[
sp:object [
sp:varName "comment"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject _:b66790 ;
]
) ;
sp:where (
[
sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject [
sp:varName "target"^^xsd:string ;
] ;
]
[
rdf:type sp:Optional ;
sp:elements (
[
sp:object [
sp:varName "comment"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ;
sp:subject spin:_this ;
]
) ;
]
[
sp:object [
sp:varName "target"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 ;
] ;
]
) ;
rdfs:comment "STEP 90101 Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext"^^xsd:string ;
] ;
spin:rule [
rdf:type sp:Construct ;
sp:templates (
[
sp:object [
sp:varName "block"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject [
sp:varName "locationOfProductionFacility"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "blockId"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject [
sp:varName "block"^^xsd:string ;
] ;
]
) ;
sp:where (
[
sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject [
sp:varName "target"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "offshoreLocationRef"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ;
sp:subject spin:_this ;
]
[
sp:object [
sp:varName "blockId"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ;
sp:subject [
sp:varName "offshoreLocationRef"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "target"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "locationOfProductionFacility"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject [
sp:varName "temporalPartOfAProductionFacility"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [
sp:varName "blockId"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "normalizedBlockId"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ep-dpr-spin-lib:buildBlockURI ;
sp:arg1 [
sp:varName "normalizedBlockId"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "block"^^xsd:string ;
] ;
]
) ;
rdfs:comment "STEP 90106 Set the geographic context - offshore location - blockId"^^xsd:string ;
] ;
spin:rule [
rdf:type sp:Construct ;
sp:templates (
[
sp:object [
sp:varName "country"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject [
sp:varName "temporalPartOfAProductionFacility"^^xsd:string ;
] ;
]
[
sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ;
sp:predicate rdf:type ;
sp:subject [
sp:varName "country"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "countryName"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject [
sp:varName "country"^^xsd:string ;
] ;
]
) ;
sp:where (
[
sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject [
sp:varName "target"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "countryName"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#country> ;
sp:subject spin:_this ;
]
[
sp:object [
sp:varName "target"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [
sp:varName "countryName"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "normalizedCountryName"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ep-dpr-spin-lib:buildCountryURI ;
sp:arg1 [
sp:varName "normalizedCountryName"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "country"^^xsd:string ;
] ;
]
) ;
rdfs:comment "STEP 90102 Set the geographic context - country"^^xsd:string ;
] ;
spin:rule [
rdf:type sp:Construct ;
sp:templates (
[
sp:object [
sp:varName "country"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject [
sp:varName "temporalPartOfAProductionFacility"^^xsd:string ;
] ;
]
[
sp:object <http://www.reportinghub.no/ep/schema/geography#State> ;
sp:predicate rdf:type ;
sp:subject [
sp:varName "country"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "stateName"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject [
sp:varName "country"^^xsd:string ;
] ;
]
) ;
sp:where (
[
sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject [
sp:varName "target"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "stateName"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#state> ;
sp:subject spin:_this ;
]
[
sp:object [
sp:varName "target"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [
sp:varName "countryName"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "normalizedCountryName"^^xsd:string ;
] ;
]
[
rdf:type sp:Bind ;
sp:expression [
rdf:type ep-dpr-spin-lib:buildCountryURI ;
sp:arg1 [
sp:varName "normalizedCountryName"^^xsd:string ;
] ;
] ;
sp:variable [
sp:varName "country"^^xsd:string ;
] ;
]
) ;
rdfs:comment "STEP 90103 Set the geographic context - state"^^xsd:string ;
] ;
spin:rule [
rdf:type sp:Construct ;
sp:templates (
[
sp:object [
sp:varName "field"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject [
sp:varName "temporalPartOfAProductionFacility"^^xsd:string ;
] ;
]
) ;
sp:where (
[
sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject [
sp:varName "target"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "fieldRef"^^xsd:string ;
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ;
sp:subject spin:_this ;
]
[
sp:object [
sp:varName "fieldName"^^xsd:string ;
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject [
sp:varName "fieldRef"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "target"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 ;
] ;
]
[
rdf:type sp:NamedGraph ;
sp:elements (
[
sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:predicate rdf:type ;
sp:subject [
sp:varName "field"^^xsd:string ;
] ;
]
[
sp:object [
sp:varName "fieldName"^^xsd:string ;
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject [
sp:varName "field"^^xsd:string ;
] ;
]
) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd> ;
]
) ;
rdfs:comment "STEP 90104 Set the geographic context - field"^^xsd:string ;
] ;
.
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90105 Set the geographic context - offshore location"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/geography#OffshoreLocation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "quadrant"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "blockSuffix"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "areaName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasAreaName> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "areaNameNorthSeaOffshore"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "commentOffshoreLocation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ sp:object
[ sp:varName "offshoreLocationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "northSeaOffshoreRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#northSeaOffshoreRef> ;
sp:subject
[ sp:varName "offshoreLocationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "quadrant"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#quadrant> ;
sp:subject
[ sp:varName "northSeaOffshoreRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "areaNameNorthSeaOffshore"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ;
sp:subject
[ sp:varName "northSeaOffshoreRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "blockSuffix"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#blockSuffix> ;
sp:subject
[ sp:varName "northSeaOffshoreRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "areaName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ;
sp:subject
[ sp:varName "offshoreLocationRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "commentOffshoreLocation"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ;
sp:subject
[ sp:varName "offshoreLocationRef"^^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 "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 "locationOfProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90101 Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "target"^^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
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90106 Set the geographic context - offshore location - blockId"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "block"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "locationOfProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "blockId"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "block"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ sp:object
[ sp:varName "offshoreLocationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "blockId"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ;
sp:subject
[ sp:varName "offshoreLocationRef"^^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 "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 "locationOfProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "blockId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedBlockId"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildBlockURI ;
sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string
]
] ;
sp:variable
[ sp:varName "block"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90102 Set the geographic context - country"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "country"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "country"^^xsd:string
]
] [ sp:object
[ sp:varName "countryName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "country"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ sp:object
[ sp:varName "countryName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#country> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "target"^^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
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "countryName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedCountryName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildCountryURI ;
sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "country"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90103 Set the geographic context - state"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "country"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "country"^^xsd:string
]
] [ sp:object
[ sp:varName "stateName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "country"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ sp:object
[ sp:varName "stateName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#state> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "target"^^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
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 [ sp:varName "countryName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "normalizedCountryName"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildCountryURI ;
sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "country"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90104 Set the geographic context - field"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "field"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ;
sp:subject
[ sp:varName "target"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "fieldRef"^^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 "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "field"^^xsd:string
]
] [ sp:object
[ sp:varName "fieldName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "field"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> ;
owl:imports <http://www.epim.no/schemas/mprml/1> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/geography> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string ;
.
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/geography> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Crew> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "crewType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "crewCountRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "crewCountRef"^^xsd:string
]
] [ sp:object
[ sp:varName "typeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:subject
[ sp:varName "crewCountRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectCrewType ;
sp:arg1 [ sp:varName "typeRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "crewType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject _:b2
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
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/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ;
sp:subject _:b3
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "workRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWork"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "realWorkYearToDate"^^xsd:string
] ;
sp:predicate
[ sp:varName "workYearToDateScale"^^xsd:string
] ;
sp:subject _:b7
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workYearToDateRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWorkYearToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workYearToDateRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWorkYearToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workYearToDateRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workYearToDateScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realWorkMonthToDate"^^xsd:string
] ;
sp:predicate
[ sp:varName "workMonthToDateScale"^^xsd:string
] ;
sp:subject _:b8
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workMonthToDateRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workMonthToDateRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workMonthToDateRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workMonthToDateScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate
[ sp:varName "workScale"^^xsd:string
] ;
sp:subject _:b9
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "workRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWork"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWork"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workScale"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40104 Set the crew numbers"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Crew> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "crewType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ;
sp:subject _:b1
]) ;
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#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^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 "crewCountRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#crewCountRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "crewCount"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "crewCountRef"^^xsd:string
]
] [ sp:object
[ sp:varName "typeRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typeRef> ;
sp:subject
[ sp:varName "crewCountRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectCrewType ;
sp:arg1 [ sp:varName "typeRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "crewType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40100 Create the ProductionOperationInstallationReport; the ProductionOperationActivity; and set the facility and number of beds"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object
[ sp:varName "productionOperationReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject _:b2
] [ sp:object
[ sp:varName "installationReportRef"^^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/report#reportOn> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "productionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b3
] [ sp:object
[ sp:varName "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
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/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfBedsAvailable> ;
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#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "bedsAvailable"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#bedsAvailable> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "workRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWork"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40103 Set the hours worked year to date"^^xsd:string ;
sp:templates ([ sp:object _:b7 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object
[ sp:varName "realWorkYearToDate"^^xsd:string
] ;
sp:predicate
[ sp:varName "workYearToDateScale"^^xsd:string
] ;
sp:subject _:b7
]) ;
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#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^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 <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "annualProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AnnualProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "annualProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workYearToDateRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workYearToDateRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWorkYearToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workYearToDateRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWorkYearToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workYearToDateRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkYearToDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workYearToDateScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40102 Set the hours worked month to date"^^xsd:string ;
sp:templates ([ sp:object _:b8 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object
[ sp:varName "realWorkMonthToDate"^^xsd:string
] ;
sp:predicate
[ sp:varName "workMonthToDateScale"^^xsd:string
] ;
sp:subject _:b8
]) ;
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#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^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 <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MonthlyProductionOperationToDate> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "monthlyProductionOperationToDate"^^xsd:string
]
] [ sp:object
[ sp:varName "workMonthToDateRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workMonthToDateRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workMonthToDateRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWorkMonthToDate"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workMonthToDateRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWorkMonthToDate"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workMonthToDateScale"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40101 Set the hours worked in reporting period"^^xsd:string ;
sp:templates ([ sp:object _:b9 ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#timeWorked> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
sp:predicate rdf:type ;
sp:subject _:b9
] [ sp:object
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate
[ sp:varName "workScale"^^xsd:string
] ;
sp:subject _:b9
]) ;
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#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 "installationReportRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationReportRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationReportRef"^^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 <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ;
sp:subject
[ sp:varName "productionOperation"^^xsd:string
]
] [ sp:object
[ sp:varName "workRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#workRef> ;
sp:subject
[ sp:varName "installationReportRef"^^xsd:string
]
] [ sp:object
[ sp:varName "realWork"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ sp:object
[ sp:varName "uomWork"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#uomRef> ;
sp:subject
[ sp:varName "workRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:selectDurationScale ;
sp:arg1 [ sp:varName "uomWork"^^xsd:string
]
] ;
sp:variable
[ sp:varName "workScale"^^xsd:string
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_businessAssociate>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00041 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00042 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00043 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] .
<http://www.epim.no/schemas/mprml/1#RefNameString>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00026 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00031 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00021 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00023 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00027 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00029 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00025 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00030 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00022 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#Cs_businessAssociate>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00041 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00042 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00043 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#name> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] .
<http://www.epim.no/schemas/mprml/1#RefNameString>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00026 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00031 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00021 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00023 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00027 Set organization - define organization not in the NPD fact pages."^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "somethingElse"^^xsd:string
]
])
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "organizationName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "organization"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00029 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00025 Set organization - parent company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ownerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00030 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#sellerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 00022 Set organization - operating company in NPD fact pages"^^xsd:string ;
sp:templates ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#buyerRef> ;
sp:subject
[ sp:varName "something"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
sp:subject spin:_this
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
] [ sp:object
[ sp:varName "organizationName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "organization"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/np/data/npd>
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40020 Add the report kind ."^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 _: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 "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
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b1
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionReport"^^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
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^xsd:string
] ;
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-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportPeriodType"^^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
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
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:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productionOperationsRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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 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> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "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/schema/production-core#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 "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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 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
[ sp:varName "productionFacility"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ 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/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40020 Add the report kind ."^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "reportKind"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReportKind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
] [ sp:object
[ sp:varName "kind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "reportKind"^^xsd:string
]
]) ;
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#ProductionOperationReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ 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 _: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 "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
] ;
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:object
[ sp:varName "title"^^xsd:string
] ;
sp:predicate <http://purl.org/dc/elements/1.1/title> ;
sp:subject _:b1
]) ;
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
[ 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
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "periodKindRef"^^xsd:string
] ;
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-mpr-spin-lib:selectReportPeriodType ;
sp:arg1 [ sp:varName "periodKindRef"^^xsd:string
]
] ;
sp:variable
[ sp:varName "reportPeriodType"^^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
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
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:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateStart"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "dateEnd"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
sp:subject
[ sp:varName "productionOperationsRef"^^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:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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 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> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "dTimEnd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "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 "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 "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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 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
[ sp:varName "productionFacility"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ 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
]
])
] ;
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 _:b4 ;
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 _:b4
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40040 Set the installation"^^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:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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 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 _:b5
] [ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b5
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#derivedFrom> ;
sp:subject
[ 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/schema/production-core#derivedFrom> ;
sp:subject
[ sp:varName "contextFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productVolumeRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-core#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 "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1>
rdf:type owl:Ontology ;
owl:imports <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 .
role is ignored, because it is implicitly \"operator\""""^^xsd:string ;
sp:templates ([ sp:object _:b4 ;
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 _:b4
] [ sp:object
[ sp:varName "operator"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b4
]) ;
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 "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:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operatorRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "operatorRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "operator"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40040 Set the installation"^^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:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "productionFacility"^^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:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object
[ sp:varName "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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 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 _:b5
] [ sp:object
[ sp:varName "contextFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ;
sp:subject _:b5
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productionFacilityToDate"^^xsd:string
]
]) ;
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 "productionOperationRef"^^xsd:string
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#installationRef> ;
sp:subject
[ sp:varName "productionOperationRef"^^xsd:string
]
] [ sp:object
[ sp:varName "installationRef"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ 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
[ 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 "productionFacilityToDate"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ 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
]
])
] .
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1>
rdf:type owl:Ontology ;
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 .
......
This diff could not be displayed because it is too large.