Bob DuCharme

Merge branch 'bob-oct17'

......@@ -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
......@@ -4358,6 +4358,236 @@ dpr-tables:SafetyInformation
rhspin:tableHeaders ("Facility"^^xsd:string "Incident Type"^^xsd:string """Duration
day"""^^xsd:string) .
dpr-tables:WeatherInformation
rdf:type rhspin:TableTemplate ;
rdfs:label "Weather Information"^^xsd:string ;
rdfs:subClassOf rhspin:DPRTableTemplates ;
spin:body
[ rdf:type sp:Select ;
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
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
[ sp:varName "productionOperationReport"^^xsd:string
]
] [ 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 "installationPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ 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 "surroundingEnvironment2"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "surroundingEnvironment1"^^xsd:string
]
] [ 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 "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ sp:object
[ sp:varName "surroundingEnvironment1"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "surroundingAir"^^xsd:string
]
] [ 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 "pressure"^^xsd:string
]
] [ sp:object
[ sp:varName "baromPressure"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
sp:subject
[ 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 "surroundingAir"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "cloudCover"^^xsd:string
]
] [ sp:object
[ sp:varName "cloudCeilingHeightObject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/facility#cloudCeilingHeight> ;
sp:subject
[ sp:varName "cloudCover"^^xsd:string
]
] [ sp:object
[ sp:varName "cloudCeilingHeight"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
sp:subject
[ 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 "surroundingEnvironment1"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ 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
]
])
] ;
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 ;
rdfs:label "Well Fluid Level Test"^^xsd:string ;
......
......@@ -56,6 +56,7 @@ WHERE {
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:HSEInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:SafetyInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WeatherInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:OperationInformation" />
<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
......