Bob DuCharme

finished first pass at adding weather data to report

...@@ -4364,15 +4364,25 @@ dpr-tables:WeatherInformation ...@@ -4364,15 +4364,25 @@ dpr-tables:WeatherInformation
4364 rdfs:subClassOf rhspin:DPRTableTemplates ; 4364 rdfs:subClassOf rhspin:DPRTableTemplates ;
4365 spin:body 4365 spin:body
4366 [ rdf:type sp:Select ; 4366 [ rdf:type sp:Select ;
4367 - sp:resultVariables ([ sp:varName "facilityName"^^xsd:string 4367 + sp:distinct "true"^^xsd:boolean ;
4368 - ] [ sp:varName "definingType"^^xsd:string 4368 + sp:resultVariables ([ sp:varName "baromPressure"^^xsd:string
4369 - ] [ sp:varName "duration"^^xsd:string 4369 + ] [ sp:varName "windChill"^^xsd:string
4370 + ] [ sp:varName "cloudCeilingHeight"^^xsd:string
4371 + ] [ sp:varName "avgWaveHeight"^^xsd:string
4372 + ] [ sp:varName "avgHighest3rdWaveHeight"^^xsd:string
4373 + ] [ sp:varName "maxWaveHeight"^^xsd:string
4374 + ] [ sp:varName "description"^^xsd:string
4370 ]) ; 4375 ]) ;
4371 sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; 4376 sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
4372 sp:predicate rdf:type ; 4377 sp:predicate rdf:type ;
4373 sp:subject 4378 sp:subject
4374 [ sp:varName "report"^^xsd:string 4379 [ sp:varName "report"^^xsd:string
4375 ] 4380 ]
4381 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ;
4382 + sp:predicate rdf:type ;
4383 + sp:subject
4384 + [ sp:varName "productionOperationReport"^^xsd:string
4385 + ]
4376 ] [ sp:object 4386 ] [ sp:object
4377 [ sp:varName "productionReport"^^xsd:string 4387 [ sp:varName "productionReport"^^xsd:string
4378 ] ; 4388 ] ;
...@@ -4380,116 +4390,203 @@ dpr-tables:WeatherInformation ...@@ -4380,116 +4390,203 @@ dpr-tables:WeatherInformation
4380 sp:subject 4390 sp:subject
4381 [ sp:varName "productionOperationReport"^^xsd:string 4391 [ sp:varName "productionOperationReport"^^xsd:string
4382 ] 4392 ]
4383 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; 4393 + ] [ sp:object
4394 + [ sp:varName "installationPart"^^xsd:string
4395 + ] ;
4396 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
4397 + sp:subject
4398 + [ sp:varName "prodOpInstallRpt"^^xsd:string
4399 + ]
4400 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ;
4384 sp:predicate rdf:type ; 4401 sp:predicate rdf:type ;
4385 sp:subject 4402 sp:subject
4403 + [ sp:varName "prodOpInstallRpt"^^xsd:string
4404 + ]
4405 + ] [ sp:object
4386 [ sp:varName "productionOperationReport"^^xsd:string 4406 [ sp:varName "productionOperationReport"^^xsd:string
4407 + ] ;
4408 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
4409 + sp:subject
4410 + [ sp:varName "prodOpInstallRpt"^^xsd:string
4411 + ]
4412 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
4413 + sp:predicate rdf:type ;
4414 + sp:subject
4415 + [ sp:varName "surroundingEnvironment2"^^xsd:string
4387 ] 4416 ]
4388 ] [ sp:object 4417 ] [ sp:object
4389 - [ sp:varName "temporalPartOfFacility"^^xsd:string 4418 + [ sp:varName "installationPart"^^xsd:string
4390 ] ; 4419 ] ;
4391 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; 4420 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
4392 sp:subject 4421 sp:subject
4393 - [ sp:varName "productionOperationReport"^^xsd:string 4422 + [ sp:varName "surroundingEnvironment2"^^xsd:string
4423 + ]
4424 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingEnvironment> ;
4425 + sp:predicate rdf:type ;
4426 + sp:subject
4427 + [ sp:varName "surroundingEnvironment1"^^xsd:string
4394 ] 4428 ]
4395 ] [ sp:object 4429 ] [ sp:object
4396 - [ sp:varName "productionFacility"^^xsd:string 4430 + [ sp:varName "surroundingEnvironment2"^^xsd:string
4397 ] ; 4431 ] ;
4398 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 4432 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
4399 sp:subject 4433 sp:subject
4400 - [ sp:varName "temporalPartOfFacility"^^xsd:string 4434 + [ sp:varName "surroundingEnvironment1"^^xsd:string
4401 ] 4435 ]
4402 - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; 4436 + ] [ sp:object
4437 + [ sp:varName "description"^^xsd:string
4438 + ] ;
4439 + sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
4440 + sp:subject
4441 + [ sp:varName "surroundingEnvironment1"^^xsd:string
4442 + ]
4443 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingAir> ;
4403 sp:predicate rdf:type ; 4444 sp:predicate rdf:type ;
4404 sp:subject 4445 sp:subject
4405 - [ sp:varName "productionFacility"^^xsd:string 4446 + [ sp:varName "surroundingAir"^^xsd:string
4406 ] 4447 ]
4407 ] [ sp:object 4448 ] [ sp:object
4408 - [ sp:varName "facilityName"^^xsd:string 4449 + [ sp:varName "pressure"^^xsd:string
4409 ] ; 4450 ] ;
4410 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 4451 + sp:predicate rdf:type ;
4411 sp:subject 4452 sp:subject
4412 - [ sp:varName "productionFacility"^^xsd:string 4453 + [ sp:varName "surroundingAir"^^xsd:string
4413 ] 4454 ]
4414 ] [ sp:object 4455 ] [ sp:object
4415 - [ sp:varName "productionOperationReport"^^xsd:string 4456 + [ sp:varName "surroundingEnvironment1"^^xsd:string
4416 ] ; 4457 ] ;
4417 - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; 4458 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
4418 sp:subject 4459 sp:subject
4419 - [ sp:varName "productionOperationInstallationReport"^^xsd:string 4460 + [ sp:varName "surroundingAir"^^xsd:string
4420 ] 4461 ]
4421 - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; 4462 + ] [ sp:object
4463 + [ sp:varName "windChillObject"^^xsd:string
4464 + ] ;
4465 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#windChillTemperature> ;
4466 + sp:subject
4467 + [ sp:varName "surroundingAir"^^xsd:string
4468 + ]
4469 + ] [ sp:object
4470 + [ sp:varName "windChill"^^xsd:string
4471 + ] ;
4472 + sp:predicate <http://www.reportinghub.no/ep/schema/core#celsius> ;
4473 + sp:subject
4474 + [ sp:varName "windChillObject"^^xsd:string
4475 + ]
4476 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
4422 sp:predicate rdf:type ; 4477 sp:predicate rdf:type ;
4423 sp:subject 4478 sp:subject
4424 - [ sp:varName "productionOperationInstallationReport"^^xsd:string 4479 + [ sp:varName "pressure"^^xsd:string
4425 ] 4480 ]
4426 ] [ sp:object 4481 ] [ sp:object
4427 - [ sp:varName "installationPart"^^xsd:string 4482 + [ sp:varName "baromPressure"^^xsd:string
4428 ] ; 4483 ] ;
4429 - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; 4484 + sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
4430 sp:subject 4485 sp:subject
4431 - [ sp:varName "productionOperationInstallationReport"^^xsd:string 4486 + [ sp:varName "pressure"^^xsd:string
4487 + ]
4488 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#CloudCover> ;
4489 + sp:predicate rdf:type ;
4490 + sp:subject
4491 + [ sp:varName "cloudCover"^^xsd:string
4432 ] 4492 ]
4433 ] [ sp:object 4493 ] [ sp:object
4434 - [ sp:varName "installationPart"^^xsd:string 4494 + [ sp:varName "surroundingAir"^^xsd:string
4435 ] ; 4495 ] ;
4436 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#onProductionFacility> ; 4496 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
4437 sp:subject 4497 sp:subject
4438 - [ sp:varName "productionOperation"^^xsd:string 4498 + [ sp:varName "cloudCover"^^xsd:string
4439 ] 4499 ]
4440 ] [ sp:object 4500 ] [ sp:object
4441 - [ sp:varName "lastPart"^^xsd:string 4501 + [ sp:varName "cloudCeilingHeightObject"^^xsd:string
4442 ] ; 4502 ] ;
4443 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasLastPartOfTypeRemainingActivityPair> ; 4503 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#cloudCeilingHeight> ;
4444 sp:subject 4504 sp:subject
4445 - [ sp:varName "productionOperation"^^xsd:string 4505 + [ sp:varName "cloudCover"^^xsd:string
4446 ] 4506 ]
4447 ] [ sp:object 4507 ] [ sp:object
4448 - [ sp:varName "lastPartDefiningType"^^xsd:string 4508 + [ sp:varName "cloudCeilingHeight"^^xsd:string
4449 ] ; 4509 ] ;
4450 - sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ; 4510 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
4451 sp:subject 4511 sp:subject
4452 - [ sp:varName "lastPart"^^xsd:string 4512 + [ sp:varName "cloudCeilingHeightObject"^^xsd:string
4513 + ]
4514 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurroundingWater> ;
4515 + sp:predicate rdf:type ;
4516 + sp:subject
4517 + [ sp:varName "surroundingWater"^^xsd:string
4453 ] 4518 ]
4454 ] [ sp:object 4519 ] [ sp:object
4455 - [ sp:varName "definingType"^^xsd:string 4520 + [ sp:varName "surroundingEnvironment1"^^xsd:string
4456 ] ; 4521 ] ;
4457 - sp:predicate rdfs:label ; 4522 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
4458 sp:subject 4523 sp:subject
4459 - [ sp:varName "lastPartDefiningType"^^xsd:string 4524 + [ sp:varName "surroundingWater"^^xsd:string
4525 + ]
4526 + ] [ sp:object
4527 + [ sp:varName "surfaceWaves"^^xsd:string
4528 + ] ;
4529 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasFeature> ;
4530 + sp:subject
4531 + [ sp:varName "surroundingWater"^^xsd:string
4532 + ]
4533 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceWaves> ;
4534 + sp:predicate rdf:type ;
4535 + sp:subject
4536 + [ sp:varName "surfaceWaves"^^xsd:string
4537 + ]
4538 + ] [ sp:object
4539 + [ sp:varName "avgWaveHeightObject"^^xsd:string
4540 + ] ;
4541 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#averageWaveHeight> ;
4542 + sp:subject
4543 + [ sp:varName "surfaceWaves"^^xsd:string
4544 + ]
4545 + ] [ sp:object
4546 + [ sp:varName "avgHighest3rdWaveHeightObject"^^xsd:string
4547 + ] ;
4548 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#averageHighestThirdWaveHeight> ;
4549 + sp:subject
4550 + [ sp:varName "surfaceWaves"^^xsd:string
4551 + ]
4552 + ] [ sp:object
4553 + [ sp:varName "maxWaveHeightObject"^^xsd:string
4554 + ] ;
4555 + sp:predicate <http://www.reportinghub.no/ep/schema/facility#maximumWaveHeight> ;
4556 + sp:subject
4557 + [ sp:varName "surfaceWaves"^^xsd:string
4558 + ]
4559 + ] [ sp:object
4560 + [ sp:varName "avgWaveHeight"^^xsd:string
4561 + ] ;
4562 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
4563 + sp:subject
4564 + [ sp:varName "avgWaveHeightObject"^^xsd:string
4565 + ]
4566 + ] [ sp:object
4567 + [ sp:varName "maxWaveHeight"^^xsd:string
4568 + ] ;
4569 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
4570 + sp:subject
4571 + [ sp:varName "maxWaveHeightObject"^^xsd:string
4572 + ]
4573 + ] [ sp:object
4574 + [ sp:varName "avgHighest3rdWaveHeight"^^xsd:string
4575 + ] ;
4576 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
4577 + sp:subject
4578 + [ sp:varName "avgHighest3rdWaveHeightObject"^^xsd:string
4460 ] 4579 ]
4461 - ] [ rdf:type sp:Optional ;
4462 - sp:elements ([ sp:object
4463 - [ sp:varName "remainingActivity"^^xsd:string
4464 - ] ;
4465 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#remainingActivity> ;
4466 - sp:subject
4467 - [ sp:varName "lastPart"^^xsd:string
4468 - ]
4469 - ] [ sp:object
4470 - [ sp:varName "remainingActivityType"^^xsd:string
4471 - ] ;
4472 - sp:predicate rdf:type ;
4473 - sp:subject
4474 - [ sp:varName "remainingActivity"^^xsd:string
4475 - ]
4476 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
4477 - sp:predicate rdf:type ;
4478 - sp:subject
4479 - [ sp:varName "remainingActivityType"^^xsd:string
4480 - ]
4481 - ] [ sp:object
4482 - [ sp:varName "duration"^^xsd:string
4483 - ] ;
4484 - sp:predicate <http://www.reportinghub.no/ep/schema/core#day> ;
4485 - sp:subject
4486 - [ sp:varName "remainingActivityType"^^xsd:string
4487 - ]
4488 - ])
4489 ]) 4580 ])
4490 ] ; 4581 ] ;
4491 - rhspin:tableHeaders ("vv"^^xsd:string "ww"^^xsd:string """xx 4582 + rhspin:tableHeaders ("""Barometric
4492 -yy"""^^xsd:string) . 4583 +Pressure (Pa)"""^^xsd:string """Wind
4584 +Chill (c)"""^^xsd:string """Cloud Ceiling
4585 +Height (m)"""^^xsd:string """Average Wave
4586 +Height (m)"""^^xsd:string """Average Third
4587 +Highest Wave
4588 +Height (m)"""^^xsd:string """Maximum Wave
4589 +Height (m)"""^^xsd:string "Comments"^^xsd:string) .
4493 4590
4494 dpr-tables:WellFluidLevelTest 4591 dpr-tables:WellFluidLevelTest
4495 rdf:type rhspin:TableTemplate ; 4592 rdf:type rhspin:TableTemplate ;
......