Bob DuCharme

added fields to Sea Weather table

......@@ -19,7 +19,7 @@
<http://www.reportinghub.no/ep/spin/dpr-tables>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
dpr-tables:ExportVolumes
......@@ -4441,9 +4441,13 @@ dpr-tables:SeaWeatherInformation
spin:body
[ rdf:type sp:Select ;
sp:distinct "true"^^xsd:boolean ;
sp:resultVariables ([ sp:varName "avgWaveHeight"^^xsd:string
sp:resultVariables ([ sp:varName "waterTemperature"^^xsd:string
] [ sp:varName "horizontalDirectionAzimuth"^^xsd:string
] [ sp:varName "avgWaveHeight"^^xsd:string
] [ sp:varName "avgHighest3rdWaveHeight"^^xsd:string
] [ sp:varName "maxWaveHeight"^^xsd:string
] [ sp:varName "period"^^xsd:string
] [ sp:varName "aziCurrentSea"^^xsd:string
]) ;
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
......@@ -4524,6 +4528,55 @@ dpr-tables:SeaWeatherInformation
sp:subject
[ sp:varName "surroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "temperatureType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingWater"^^xsd:string
]
] [ sp:object
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
sp:subject
[ sp:varName "surroundingWater"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Current> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "planeAngleObject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#horizontalDirectionAzimuth> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "planeAngleObject"^^xsd:string
]
] ;
sp:variable
[ sp:varName "aziCurrentSea"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperatureType"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "temperatureType"^^xsd:string
]
] ;
sp:variable
[ sp:varName "waterTemperature"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
sp:predicate rdf:type ;
sp:subject
......@@ -4551,6 +4604,20 @@ dpr-tables:SeaWeatherInformation
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object
[ sp:varName "horizontalDirectionAzimuthObject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#horizontalDirectionAzimuth> ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object
[ sp:varName "periodObject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#period> ;
sp:subject
[ sp:varName "surfaceWaves"^^xsd:string
]
] [ sp:object
[ sp:varName "avgWaveHeight"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
......@@ -4584,13 +4651,34 @@ dpr-tables:SeaWeatherInformation
sp:variable
[ sp:varName "averageWaveHeight"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "horizontalDirectionAzimuthObject"^^xsd:string
]
] ;
sp:variable
[ sp:varName "horizontalDirectionAzimuth"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "periodObject"^^xsd:string
]
] ;
sp:variable
[ sp:varName "period"^^xsd:string
]
])
] ;
rhspin:tableHeaders ("""Average
Wave Height"""^^xsd:string """Average Third
Highest Wave
Height"""^^xsd:string """Maximum Wave
Height"""^^xsd:string) .
rhspin:tableHeaders ("""Sea
Temperature"""^^xsd:string """Wave Direction
(Azimuth Wave)"""^^xsd:string """Average
Wave Height"""^^xsd:string """Significant
Wave Height"""^^xsd:string """Maximum
Wave Height"""^^xsd:string """Wave
Period"""^^xsd:string """Azimuth
Sea Current"""^^xsd:string) .
dpr-tables:WeatherInformation
rdf:type rhspin:TableTemplate ;
......@@ -4603,6 +4691,7 @@ dpr-tables:WeatherInformation
] [ sp:varName "windChill"^^xsd:string
] [ sp:varName "cloudCeilingHeight"^^xsd:string
] [ sp:varName "coverCloud"^^xsd:string
] [ sp:varName "visibility"^^xsd:string
] [ sp:varName "beaufortNumber"^^xsd:string
] [ sp:varName "windSpeed"^^xsd:string
] [ sp:varName "aziWind"^^xsd:string
......@@ -4798,6 +4887,22 @@ dpr-tables:WeatherInformation
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "visibilityObject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#visibility> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
sp:arg1 [ sp:varName "visibilityObject"^^xsd:string
]
] ;
sp:variable
[ sp:varName "visibility"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
sp:predicate rdf:type ;
sp:subject
......@@ -4876,7 +4981,7 @@ dpr-tables:WeatherInformation
] ;
rhspin:tableHeaders ("""Barometric
Pressure"""^^xsd:string """Wind Chill
Factor"""^^xsd:string "Cloud Ceiling"^^xsd:string "Cloud Description"^^xsd:string """Beaufort
Factor"""^^xsd:string "Cloud Ceiling"^^xsd:string "Cloud Description"^^xsd:string "Visibility"^^xsd:string """Beaufort
Wind Scale"""^^xsd:string "Wind Speed"^^xsd:string "Azimuth Wind"^^xsd:string """Precipitation
Type"""^^xsd:string """Amount
Precipitation"""^^xsd:string "Comments"^^xsd:string) .
......