David Price

Added Injection Volumes, need to remove from Production Volumes

...@@ -444,6 +444,230 @@ dpr-tables:HSEInformation ...@@ -444,6 +444,230 @@ dpr-tables:HSEInformation
444 ] ; 444 ] ;
445 rhspin:tableHeaders ("Facility"^^xsd:string "Operation Type"^^xsd:string "Start"^^xsd:string "Finish"^^xsd:string "Safety Text"^^xsd:string "Comment"^^xsd:string) . 445 rhspin:tableHeaders ("Facility"^^xsd:string "Operation Type"^^xsd:string "Start"^^xsd:string "Finish"^^xsd:string "Safety Text"^^xsd:string "Comment"^^xsd:string) .
446 446
447 +dpr-tables:InjectionVolumes
448 + rdf:type rhspin:TableTemplate ;
449 + rdfs:label "Injection Volume List"^^xsd:string ;
450 + rdfs:subClassOf rhspin:DPRTableTemplates ;
451 + spin:body
452 + [ rdf:type sp:Select ;
453 + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string
454 + ] [ sp:varName "flowPurposeName"^^xsd:string
455 + ] [ sp:varName "flowDefinitionName"^^xsd:string
456 + ]) ;
457 + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string
458 + ] [ sp:varName "flowInOutFacilityName"^^xsd:string
459 + ] [ sp:varName "flowPurposeName"^^xsd:string
460 + ] [ sp:varName "flowDefinitionName"^^xsd:string
461 + ] [ sp:varName "densityValue"^^xsd:string
462 + ] [ sp:varName "pressureValue"^^xsd:string
463 + ] [ sp:varName "temperatureValue"^^xsd:string
464 + ]) ;
465 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
466 + sp:predicate rdf:type ;
467 + sp:subject
468 + [ sp:varName "report"^^xsd:string
469 + ]
470 + ] [ sp:object
471 + [ sp:varName "report"^^xsd:string
472 + ] ;
473 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
474 + sp:subject
475 + [ sp:varName "productvolumereport"^^xsd:string
476 + ]
477 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
478 + sp:predicate rdf:type ;
479 + sp:subject
480 + [ sp:varName "productvolumereport"^^xsd:string
481 + ]
482 + ] [ sp:object
483 + [ sp:varName "productionflownetwork"^^xsd:string
484 + ] ;
485 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
486 + sp:subject
487 + [ sp:varName "productvolumereport"^^xsd:string
488 + ]
489 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
490 + sp:predicate rdf:type ;
491 + sp:subject
492 + [ sp:varName "productionflownetwork"^^xsd:string
493 + ]
494 + ] [ sp:object
495 + [ sp:varName "flow"^^xsd:string
496 + ] ;
497 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
498 + sp:subject
499 + [ sp:varName "productionflownetwork"^^xsd:string
500 + ]
501 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
502 + sp:predicate rdf:type ;
503 + sp:subject
504 + [ sp:varName "flow"^^xsd:string
505 + ]
506 + ] [ sp:object
507 + [ sp:varName "productionflownetwork"^^xsd:string
508 + ] ;
509 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ;
510 + sp:subject
511 + [ sp:varName "productionflownetworkFacility"^^xsd:string
512 + ]
513 + ] [ sp:object
514 + [ sp:varName "containingWholeFacility"^^xsd:string
515 + ] ;
516 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
517 + sp:subject
518 + [ sp:varName "productionflownetworkFacility"^^xsd:string
519 + ]
520 + ] [ sp:object
521 + [ sp:varName "containingWholeFacilityName"^^xsd:string
522 + ] ;
523 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
524 + sp:subject
525 + [ sp:varName "containingWholeFacility"^^xsd:string
526 + ]
527 + ] [ sp:object
528 + [ sp:varName "flowWhole"^^xsd:string
529 + ] ;
530 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
531 + sp:subject
532 + [ sp:varName "flow"^^xsd:string
533 + ]
534 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
535 + sp:predicate rdf:type ;
536 + sp:subject
537 + [ sp:varName "flowWhole"^^xsd:string
538 + ]
539 + ] [ sp:object
540 + [ sp:varName "flowInOutFacility"^^xsd:string
541 + ] ;
542 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
543 + sp:subject
544 + [ sp:varName "flowWhole"^^xsd:string
545 + ]
546 + ] [ rdf:type sp:TriplePath ;
547 + sp:object
548 + [ sp:varName "flowInOutFacilityName"^^xsd:string
549 + ] ;
550 + sp:path [ rdf:type sp:AltPath ;
551 + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ;
552 + sp:path2 <http://www.reportinghub.no/np/schema/npd#name>
553 + ] ;
554 + sp:subject
555 + [ sp:varName "flowInOutFacility"^^xsd:string
556 + ]
557 + ] [ sp:object
558 + [ sp:varName "flowPurpose"^^xsd:string
559 + ] ;
560 + sp:predicate rdf:type ;
561 + sp:subject
562 + [ sp:varName "flowWhole"^^xsd:string
563 + ]
564 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
565 + sp:predicate rdf:type ;
566 + sp:subject
567 + [ sp:varName "flowPurpose"^^xsd:string
568 + ]
569 + ] [ rdf:type sp:Filter ;
570 + sp:expression
571 + [ rdf:type sp:eq ;
572 + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string
573 + ] ;
574 + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection>
575 + ]
576 + ] [ sp:object
577 + [ sp:varName "flowPurposeName"^^xsd:string
578 + ] ;
579 + sp:predicate rdfs:label ;
580 + sp:subject
581 + [ sp:varName "flowPurpose"^^xsd:string
582 + ]
583 + ] [ sp:object
584 + [ sp:varName "flowDefinition"^^xsd:string
585 + ] ;
586 + sp:predicate rdf:type ;
587 + sp:subject
588 + [ sp:varName "flowWhole"^^xsd:string
589 + ]
590 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
591 + sp:predicate rdf:type ;
592 + sp:subject
593 + [ sp:varName "flowDefinition"^^xsd:string
594 + ]
595 + ] [ sp:object
596 + [ sp:varName "flowDefinitionName"^^xsd:string
597 + ] ;
598 + sp:predicate rdfs:label ;
599 + sp:subject
600 + [ sp:varName "flowDefinition"^^xsd:string
601 + ]
602 + ] [ rdf:type sp:Optional ;
603 + sp:elements ([ sp:object
604 + [ sp:varName "temperature"^^xsd:string
605 + ] ;
606 + sp:predicate rdf:type ;
607 + sp:subject
608 + [ sp:varName "flow"^^xsd:string
609 + ]
610 + ] [ sp:object
611 + [ sp:varName "density"^^xsd:string
612 + ] ;
613 + sp:predicate rdf:type ;
614 + sp:subject
615 + [ sp:varName "flow"^^xsd:string
616 + ]
617 + ] [ sp:object
618 + [ sp:varName "pressure"^^xsd:string
619 + ] ;
620 + sp:predicate rdf:type ;
621 + sp:subject
622 + [ sp:varName "flow"^^xsd:string
623 + ]
624 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
625 + sp:predicate rdf:type ;
626 + sp:subject
627 + [ sp:varName "pressure"^^xsd:string
628 + ]
629 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
630 + sp:predicate rdf:type ;
631 + sp:subject
632 + [ sp:varName "density"^^xsd:string
633 + ]
634 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
635 + sp:predicate rdf:type ;
636 + sp:subject
637 + [ sp:varName "temperature"^^xsd:string
638 + ]
639 + ] [ rdf:type sp:Bind ;
640 + sp:expression
641 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
642 + sp:arg1 [ sp:varName "temperature"^^xsd:string
643 + ]
644 + ] ;
645 + sp:variable
646 + [ sp:varName "temperatureValue"^^xsd:string
647 + ]
648 + ] [ rdf:type sp:Bind ;
649 + sp:expression
650 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
651 + sp:arg1 [ sp:varName "pressure"^^xsd:string
652 + ]
653 + ] ;
654 + sp:variable
655 + [ sp:varName "pressureValue"^^xsd:string
656 + ]
657 + ] [ rdf:type sp:Bind ;
658 + sp:expression
659 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
660 + sp:arg1 [ sp:varName "density"^^xsd:string
661 + ]
662 + ] ;
663 + sp:variable
664 + [ sp:varName "densityValue"^^xsd:string
665 + ]
666 + ])
667 + ])
668 + ] ;
669 + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) .
670 +
447 dpr-tables:OperationInformation 671 dpr-tables:OperationInformation
448 rdf:type rhspin:TableTemplate ; 672 rdf:type rhspin:TableTemplate ;
449 rdfs:label "Operation Information"^^xsd:string ; 673 rdfs:label "Operation Information"^^xsd:string ;
......
...@@ -55,8 +55,12 @@ WHERE { ...@@ -55,8 +55,12 @@ WHERE {
55 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" /> 55 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionOperationActivity" />
56 56
57 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" /> 57 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" />
58 + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:InjectionVolumes" />
59 +
58 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" /> 60 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" />
59 61
62 +
63 +
60 <hr /> 64 <hr />
61 <h2>General Well Test Information</h2> 65 <h2>General Well Test Information</h2>
62 66
......