David Leal

Fixed visibility bug

......@@ -20,24 +20,15 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40704 Set the air temperature function - object"^^xsd:string ;
sp:templates ([ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfTemporalInstants> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfTemporalInstants> ;
rdfs:comment "STEP 40713a Set the precipitation object"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
sp:predicate rdf:type ;
sp:subject _:b1
] [ sp:object <http://www.reportinghub.no/ep/schema/core#ClassificationFunctionOverTime> ;
sp:predicate rdf:type ;
sp:subject _:b2
] [ sp:object _:b1 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#domain> ;
sp:subject _:b2
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#range> ;
sp:subject _:b2
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -80,11 +71,6 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
......@@ -114,23 +100,16 @@
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "tempSurfaceRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "tempSurfaceMnRef"^^xsd:string
[ sp:varName "typePrecip"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMnRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typePrecip> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "tempSurfaceMxRef"^^xsd:string
[ sp:varName "amtPrecipRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMxRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#amtPrecipRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -140,56 +119,15 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40700a Create the surrounding water and air objects - and set the dateTime"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
rdfs:comment "STEP 40702b Set the wind velocity object"^^xsd:string ;
sp:templates ([ sp:object _:b2 ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Velocity> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b8
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
sp:subject _:b2
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -220,6 +158,54 @@
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedWind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
......@@ -234,43 +220,35 @@
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#beaufortScaleNumber> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "velWindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#velWindRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40713b Set the precipitation type"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#PrecipitationType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "precipitationType"^^xsd:string
]
] [ sp:object
[ sp:varName "typePrecip"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "precipitationType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "precipitationType"^^xsd:string
]
] [ sp:object
[ sp:varName "precipitationType"^^xsd:string
rdfs:comment "STEP 40702c Set the wind force - Beaufort"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#beaufortScaleNumber> ;
sp:subject
[ sp:varName "precipitation"^^xsd:string
[ sp:varName "observedWindVelocity"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -314,29 +292,53 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "precipitation"^^xsd:string
[ sp:varName "observedWind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "precipitation"^^xsd:string
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object
[ sp:varName "observedWindVelocity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Velocity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWindVelocity"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -353,33 +355,66 @@
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "typePrecip"^^xsd:string
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typePrecip> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#beaufortScaleNumber> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-mpr-spin-lib:buildPrecipitationTypeURI ;
sp:arg1 [ sp:varName "typePrecip"^^xsd:string
]
] ;
sp:variable
[ sp:varName "precipitationType"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40722 Set the weather comment"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "comments"^^xsd:string
rdfs:comment "STEP 40700a Create the surrounding water and air objects - and set the dateTime"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject _:b3
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b3
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject _:b4
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b4
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
sp:predicate rdf:type ;
sp:subject _:b5
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b5
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject _:b6
] [ sp:object _:b3 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b6
] [ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
sp:subject _:b6
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject _:b7
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b7
] [ sp:object _:b4 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b7
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
sp:predicate rdf:type ;
sp:subject _:b8
] [ sp:object _:b6 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject _:b8
] [ sp:object _:b5 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b8
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -410,30 +445,6 @@
sp:subject
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
......@@ -448,13 +459,15 @@
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comments> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "dTim"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
])
])
] ;
spin:rule
......@@ -570,15 +583,24 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40702b Set the wind velocity object"^^xsd:string ;
rdfs:comment "STEP 40704 Set the air temperature function - object"^^xsd:string ;
sp:templates ([ sp:object _:b10 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfTemporalInstants> ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Velocity> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/core#SetOfTemporalInstants> ;
sp:predicate rdf:type ;
sp:subject _:b10
] [ sp:object <http://www.reportinghub.no/ep/schema/core#ClassificationFunctionOverTime> ;
sp:predicate rdf:type ;
sp:subject _:b11
] [ sp:object _:b10 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#domain> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#range> ;
sp:subject _:b11
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -624,38 +646,19 @@
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedWind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -674,16 +677,23 @@
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
[ sp:varName "tempSurfaceRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#beaufortScaleNumber> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "velWindRef"^^xsd:string
[ sp:varName "tempSurfaceMnRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMnRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "tempSurfaceMxRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#velWindRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMxRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -693,14 +703,15 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40702c Set the wind force - Beaufort"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#beaufortScaleNumber> ;
rdfs:comment "STEP 40702a Set the wind object"^^xsd:string ;
sp:templates ([ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedWindVelocity"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
sp:predicate rdf:type ;
sp:subject _:b12
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -768,30 +779,6 @@
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedWind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object
[ sp:varName "observedWindVelocity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Velocity> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWindVelocity"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
......@@ -805,41 +792,59 @@
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#beaufortScaleNumber> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#beaufortScaleNumber> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "velWindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#velWindRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "velWindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#aziWindRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]))
])
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40700b Set the data supply agency"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#ObserveTheWeather> ;
rdfs:comment "STEP 40713b Set the precipitation type"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#PrecipitationType> ;
sp:predicate rdf:type ;
sp:subject _:b11
sp:subject
[ sp:varName "precipitationType"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "typePrecip"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#observedObject> ;
sp:subject _:b11
] [ sp:object _:b12 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#observationResultsSuppliedBy> ;
sp:subject _:b11
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b12
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "precipitationType"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
sp:predicate rdfs:subClassOf ;
sp:subject
[ sp:varName "precipitationType"^^xsd:string
]
] [ sp:object
[ sp:varName "agency"^^xsd:string
[ sp:varName "precipitationType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b12
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization-WholeLife> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "agency"^^xsd:string
[ sp:varName "precipitation"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -883,29 +888,29 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "precipitation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "precipitation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -922,20 +927,20 @@
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ sp:object
[ sp:varName "agencyName"^^xsd:string
[ sp:varName "typePrecip"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#agency> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typePrecip> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "agencyName"^^xsd:string
[ rdf:type ep-mpr-spin-lib:buildPrecipitationTypeURI ;
sp:arg1 [ sp:varName "typePrecip"^^xsd:string
]
] ;
sp:variable
[ sp:varName "agency"^^xsd:string
[ sp:varName "precipitationType"^^xsd:string
]
])
] ;
......@@ -1073,15 +1078,31 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40702a Set the wind object"^^xsd:string ;
sp:templates ([ sp:object _:b14 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
rdfs:comment "STEP 40700b Set the data supply agency"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/activity#ObserveTheWeather> ;
sp:predicate rdf:type ;
sp:subject _:b14
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#observedObject> ;
sp:subject _:b14
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#observationResultsSuppliedBy> ;
sp:subject _:b14
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object
[ sp:varName "agency"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject _:b15
] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization-WholeLife> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "agency"^^xsd:string
]
]) ;
sp:where ([ sp:object
[ sp:varName "productionOperationRef"^^xsd:string
......@@ -1162,31 +1183,22 @@
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "beaufortScaleNumber"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#beaufortScaleNumber> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "velWindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#velWindRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "velWindRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#aziWindRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]))
])
] [ sp:object
[ sp:varName "agencyName"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#agency> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-dpr-spin-lib:buildOrganizationURI ;
sp:arg1 [ sp:varName "agencyName"^^xsd:string
]
] ;
sp:variable
[ sp:varName "agency"^^xsd:string
]
])
] ;
spin:rule
......@@ -1302,14 +1314,13 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40713a Set the precipitation object"^^xsd:string ;
sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
sp:predicate rdf:type ;
sp:subject _:b15
] [ sp:object _:b15 ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
rdfs:comment "STEP 40722 Set the weather comment"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
]) ;
sp:where ([ sp:object
......@@ -1353,17 +1364,17 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -1379,35 +1390,24 @@
sp:subject
[ sp:varName "operationalHSERef"^^xsd:string
]
] [ rdf:type sp:Exists ;
sp:elements ([ rdf:type sp:Union ;
sp:elements (([ sp:object
[ sp:varName "typePrecip"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#typePrecip> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]) ([ sp:object
[ sp:varName "amtPrecipRef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#amtPrecipRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
]))
])
] [ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#comments> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
])
] .
<http://www.epim.no/schemas/mprml/1#LengthMeasure>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40712 Set the cloud ceiling height"^^xsd:string ;
rdfs:comment "STEP 40710 Set the visibility"^^xsd:string ;
sp:templates ([ sp:object _:b16 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#cloudCeilingHeight> ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#visibility> ;
sp:subject
[ sp:varName "observedCloudCeiling"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
......@@ -1421,7 +1421,7 @@
sp:subject _:b16
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ceilingCloudRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#visibilityRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -1473,18 +1473,6 @@
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#CloudCover> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedCloudCeiling"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingAir"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedCloudCeiling"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
......@@ -1522,9 +1510,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40719 Set the significant wave height"^^xsd:string ;
rdfs:comment "STEP 40718 Set the average wave height"^^xsd:string ;
sp:templates ([ sp:object _:b17 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight> ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#averageWaveHeight> ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
]
......@@ -1540,7 +1528,7 @@
sp:subject _:b17
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#significantWaveRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#htWaveRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -1641,11 +1629,11 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40710 Set the visibility"^^xsd:string ;
rdfs:comment "STEP 40720 Set the maximum wave height"^^xsd:string ;
sp:templates ([ sp:object _:b18 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#visibility> ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#maximumWaveHeight> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
......@@ -1659,7 +1647,7 @@
sp:subject _:b18
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#visibilityRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#maxWaveRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -1712,6 +1700,18 @@
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "surfaceWaves"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasFeature> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
] ;
sp:predicate <http://www.epim.no/schemas/mprml/1#operationalHSERef> ;
......@@ -1748,11 +1748,11 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40720 Set the maximum wave height"^^xsd:string ;
rdfs:comment "STEP 40714 Set the amount of precipitation"^^xsd:string ;
sp:templates ([ sp:object _:b19 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#maximumWaveHeight> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#amountOfPrecipitation> ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
[ sp:varName "precipitation"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
......@@ -1766,7 +1766,7 @@
sp:subject _:b19
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#maxWaveRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#amtPrecipRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -1794,41 +1794,29 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "surfaceWaves"^^xsd:string
[ sp:varName "precipitation"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasFeature> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
[ sp:varName "precipitation"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -1867,9 +1855,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40718 Set the average wave height"^^xsd:string ;
rdfs:comment "STEP 40719 Set the significant wave height"^^xsd:string ;
sp:templates ([ sp:object _:b20 ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#averageWaveHeight> ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight> ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
]
......@@ -1885,7 +1873,7 @@
sp:subject _:b20
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#htWaveRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#significantWaveRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -1986,11 +1974,11 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40714 Set the amount of precipitation"^^xsd:string ;
rdfs:comment "STEP 40712 Set the cloud ceiling height"^^xsd:string ;
sp:templates ([ sp:object _:b21 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#amountOfPrecipitation> ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#cloudCeilingHeight> ;
sp:subject
[ sp:varName "precipitation"^^xsd:string
[ sp:varName "observedCloudCeiling"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Length> ;
sp:predicate rdf:type ;
......@@ -2004,7 +1992,7 @@
sp:subject _:b21
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#amtPrecipRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#ceilingCloudRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -2032,29 +2020,41 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "precipitation"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Precipitation> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#CloudCover> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "precipitation"^^xsd:string
[ sp:varName "observedCloudCeiling"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingAir"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedCloudCeiling"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -2095,11 +2095,11 @@
<http://www.epim.no/schemas/mprml/1#PlaneAngleMeasure>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40717b Set the wave direction"^^xsd:string ;
rdfs:comment "STEP 40715 Set the wind direction"^^xsd:string ;
sp:templates ([ sp:object _:b22 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#horizontalDirectionAzimuth> ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PlaneAngle> ;
sp:predicate rdf:type ;
......@@ -2113,7 +2113,7 @@
sp:subject _:b22
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#aziWaveRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#aziWindRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -2153,29 +2153,29 @@
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "surfaceWaves"^^xsd:string
[ sp:varName "observedWind"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasFeature> ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "observedSurroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
[ sp:varName "observedWind"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -2327,11 +2327,11 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40715 Set the wind direction"^^xsd:string ;
rdfs:comment "STEP 40717b Set the wave direction"^^xsd:string ;
sp:templates ([ sp:object _:b25 ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#horizontalDirectionAzimuth> ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#PlaneAngle> ;
sp:predicate rdf:type ;
......@@ -2345,7 +2345,7 @@
sp:subject _:b25
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#aziWindRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#aziWaveRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -2385,29 +2385,29 @@
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "observedWind"^^xsd:string
[ sp:varName "surfaceWaves"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasFeature> ;
sp:subject
[ sp:varName "observedSurroundingAir"^^xsd:string
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Wind> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedWind"^^xsd:string
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -2557,9 +2557,9 @@
<http://www.epim.no/schemas/mprml/1#ThermodynamicTemperatureMeasure>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40705 Set the average air temperature"^^xsd:string ;
rdfs:comment "STEP 40707 Set the maximum air temperature"^^xsd:string ;
sp:templates ([ sp:object _:b27 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#average> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#maximum> ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
......@@ -2575,7 +2575,7 @@
sp:subject _:b27
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMxRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -2676,11 +2676,11 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40709 Set the sea temperature"^^xsd:string ;
rdfs:comment "STEP 40706 Set the minimum air temperature"^^xsd:string ;
sp:templates ([ sp:object _:b28 ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#minimum> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
......@@ -2694,7 +2694,7 @@
sp:subject _:b28
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempseaRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMnRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -2722,29 +2722,41 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
] [ sp:object
[ sp:varName "surroundingAirInstants"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfTemporalInstants> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#ClassificationFunctionOverTime> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
] [ sp:object
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
[ sp:varName "surroundingAirInstants"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#domain> ;
sp:subject
[ sp:varName "observedSurroundingWater"^^xsd:string
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#range> ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -2890,11 +2902,11 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40706 Set the minimum air temperature"^^xsd:string ;
rdfs:comment "STEP 40709 Set the sea temperature"^^xsd:string ;
sp:templates ([ sp:object _:b30 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#minimum> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
......@@ -2908,7 +2920,7 @@
sp:subject _:b30
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMnRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempseaRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -2936,41 +2948,29 @@
sp:subject
[ sp:varName "surroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingAirInstants"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSetOfTemporalInstants> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#ClassificationFunctionOverTime> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingAirInstants"^^xsd:string
[ sp:varName "observedSurroundingEnvironment"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#domain> ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#range> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
[ sp:varName "observedSurroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "operationalHSERef"^^xsd:string
......@@ -3009,9 +3009,9 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 40707 Set the maximum air temperature"^^xsd:string ;
rdfs:comment "STEP 40705 Set the average air temperature"^^xsd:string ;
sp:templates ([ sp:object _:b31 ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#maximum> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#average> ;
sp:subject
[ sp:varName "suroundingAirTemperatureFunction"^^xsd:string
]
......@@ -3027,7 +3027,7 @@
sp:subject _:b31
]) ;
sp:where ([ sp:object spin:_this ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceMxRef> ;
sp:predicate <http://www.epim.no/schemas/mprml/1#tempSurfaceRef> ;
sp:subject
[ sp:varName "weatherRef"^^xsd:string
]
......@@ -3377,5 +3377,5 @@
<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-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/schema/1.0/core> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
owl:imports <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......