Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
Bob DuCharme
2012-10-24 15:59:53 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eff8c7966d6fe92d2c7e825905cf498b888af0de
eff8c796
1 parent
93977d0e
finished first pass at adding weather data to report
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
161 additions
and
64 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
View file @
eff8c79
...
...
@@ -4364,15 +4364,25 @@ dpr-tables:WeatherInformation
rdfs:
subClassOf
rhspin:
DPRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"facilityName"
^^
xsd:
string
]
[
sp:
varName
"definingType"
^^
xsd:
string
]
[
sp:
varName
"duration"
^^
xsd:
string
sp:
distinct
"true"
^^
xsd:
boolean
;
sp:
resultVariables
([
sp:
varName
"baromPressure"
^^
xsd:
string
]
[
sp:
varName
"windChill"
^^
xsd:
string
]
[
sp:
varName
"cloudCeilingHeight"
^^
xsd:
string
]
[
sp:
varName
"avgWaveHeight"
^^
xsd:
string
]
[
sp:
varName
"avgHighest3rdWaveHeight"
^^
xsd:
string
]
[
sp:
varName
"maxWaveHeight"
^^
xsd:
string
]
[
sp:
varName
"description"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"report"
^^
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
]
;
...
...
@@ -4380,116 +4390,203 @@ dpr-tables:WeatherInformation
sp:
subject
[
sp:
varName
"productionOperationReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionOperationReport>
;
]
[
sp:
object
[
sp:
varName
"installationPart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"prodOpInstallRpt"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"prodOpInstallRpt"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionOperationReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
[
sp:
varName
"prodOpInstallRpt"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"surroundingEnvironment2"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
temporalPartOfFacility
"
^^
xsd:
string
[
sp:
varName
"
installationPart
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
report#reportOn
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#spatialPartOf
>
;
sp:
subject
[
sp:
varName
"productionOperationReport"
^^
xsd:
string
[
sp:
varName
"surroundingEnvironment2"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"surroundingEnvironment1"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionFacility
"
^^
xsd:
string
[
sp:
varName
"
surroundingEnvironment2
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"
temporalPartOfFacility
"
^^
xsd:
string
[
sp:
varName
"
surroundingEnvironment1
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#Field>
;
]
[
sp:
object
[
sp:
varName
"description"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#description>
;
sp:
subject
[
sp:
varName
"surroundingEnvironment1"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#SurroundingAir>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
productionFacility
"
^^
xsd:
string
[
sp:
varName
"
surroundingAir
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
facilityNam
e"
^^
xsd:
string
[
sp:
varName
"
pressur
e"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
productionFacility
"
^^
xsd:
string
[
sp:
varName
"
surroundingAir
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
productionOperationReport
"
^^
xsd:
string
[
sp:
varName
"
surroundingEnvironment1
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#
p
artOf>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#
spatialP
artOf>
;
sp:
subject
[
sp:
varName
"
productionOperationInstallationReport
"
^^
xsd:
string
[
sp:
varName
"
surroundingAir
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport>
;
]
[
sp:
object
[
sp:
varName
"windChillObject"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/facility#windChillTemperature>
;
sp:
subject
[
sp:
varName
"surroundingAir"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"windChill"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#celsius>
;
sp:
subject
[
sp:
varName
"windChillObject"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Pressure>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"pr
oductionOperationInstallationReport
"
^^
xsd:
string
[
sp:
varName
"pr
essure
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
installationPart
"
^^
xsd:
string
[
sp:
varName
"
baromPressure
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
report#reportOn
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#pascal
>
;
sp:
subject
[
sp:
varName
"productionOperationInstallationReport"
^^
xsd:
string
[
sp:
varName
"pressure"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#CloudCover>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"cloudCover"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
installationPart
"
^^
xsd:
string
[
sp:
varName
"
surroundingAir
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
production-activity#onProductionFacility
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
core#spatialPartOf
>
;
sp:
subject
[
sp:
varName
"
productionOperation
"
^^
xsd:
string
[
sp:
varName
"
cloudCover
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
lastPar
t"
^^
xsd:
string
[
sp:
varName
"
cloudCeilingHeightObjec
t"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
production-activity#hasLastPartOfTypeRemainingActivityPair
>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/
facility#cloudCeilingHeight
>
;
sp:
subject
[
sp:
varName
"
productionOperation
"
^^
xsd:
string
[
sp:
varName
"
cloudCover
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
lastPartDefiningType
"
^^
xsd:
string
[
sp:
varName
"
cloudCeilingHeight
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#
definingTyp
e>
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#
metr
e>
;
sp:
subject
[
sp:
varName
"lastPart"
^^
xsd:
string
[
sp:
varName
"cloudCeilingHeightObject"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/facility#SurroundingWater>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"surroundingWater"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
definingType
"
^^
xsd:
string
[
sp:
varName
"
surroundingEnvironment1
"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#spatialPartOf>
;
sp:
subject
[
sp:
varName
"lastPartDefiningType"
^^
xsd:
string
[
sp:
varName
"surroundingWater"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"surfaceWaves"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#hasFeature>
;
sp:
subject
[
sp:
varName
"surroundingWater"
^^
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
"avgWaveHeightObject"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/facility#averageWaveHeight>
;
sp:
subject
[
sp:
varName
"surfaceWaves"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"avgHighest3rdWaveHeightObject"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight>
;
sp:
subject
[
sp:
varName
"surfaceWaves"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"maxWaveHeightObject"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/facility#maximumWaveHeight>
;
sp:
subject
[
sp:
varName
"surfaceWaves"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"avgWaveHeight"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre>
;
sp:
subject
[
sp:
varName
"avgWaveHeightObject"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"maxWaveHeight"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre>
;
sp:
subject
[
sp:
varName
"maxWaveHeightObject"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"avgHighest3rdWaveHeight"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#metre>
;
sp:
subject
[
sp:
varName
"avgHighest3rdWaveHeightObject"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"remainingActivity"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#remainingActivity>
;
sp:
subject
[
sp:
varName
"lastPart"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"remainingActivityType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"remainingActivity"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#TimeDuration>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"remainingActivityType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"duration"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#day>
;
sp:
subject
[
sp:
varName
"remainingActivityType"
^^
xsd:
string
]
])
])
]
;
rhspin:
tableHeaders
(
"vv"
^^
xsd:
string
"ww"
^^
xsd:
string
"""xx
yy"""
^^
xsd:
string
)
.
rhspin:
tableHeaders
(
"""Barometric
Pressure (Pa)"""
^^
xsd:
string
"""Wind
Chill (c)"""
^^
xsd:
string
"""Cloud Ceiling
Height (m)"""
^^
xsd:
string
"""Average Wave
Height (m)"""
^^
xsd:
string
"""Average Third
Highest Wave
Height (m)"""
^^
xsd:
string
"""Maximum Wave
Height (m)"""
^^
xsd:
string
"Comments"
^^
xsd:
string
)
.
dpr-tables:
WellFluidLevelTest
rdf:
type
rhspin:
TableTemplate
;
...
...
Please
register
or
login
to post a comment