David Price

Initial Cargo Ownership Table

...@@ -453,6 +453,255 @@ mpr-tables:Cargo ...@@ -453,6 +453,255 @@ mpr-tables:Cargo
453 ] ; 453 ] ;
454 rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Movement Type"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Bill of Lading"^^xsd:string "Volume"^^xsd:string "Mass"^^xsd:string "Density"^^xsd:string "Shipper"^^xsd:string "Destination"^^xsd:string "Country"^^xsd:string) . 454 rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Movement Type"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Bill of Lading"^^xsd:string "Volume"^^xsd:string "Mass"^^xsd:string "Density"^^xsd:string "Shipper"^^xsd:string "Destination"^^xsd:string "Country"^^xsd:string) .
455 455
456 +mpr-tables:CargoOwnership
457 + rdf:type rhspin:TableTemplate ;
458 + rdfs:label "Cargo Ownership Information1"^^xsd:string ;
459 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
460 + spin:body
461 + [ rdf:type sp:Select ;
462 + sp:orderBy ([ sp:varName "facilityName"^^xsd:string
463 + ] [ sp:varName "cargoNumber"^^xsd:string
464 + ] [ sp:varName "cargoBatchNumber"^^xsd:string
465 + ] [ sp:varName "ownerName"^^xsd:string
466 + ]) ;
467 + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
468 + ] [ sp:varName "cargoNumber"^^xsd:string
469 + ] [ sp:varName "cargoBatchNumber"^^xsd:string
470 + ] [ sp:varName "ownerName"^^xsd:string
471 + ] [ sp:varName "ownerShare"^^xsd:string
472 + ]) ;
473 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
474 + sp:predicate rdf:type ;
475 + sp:subject
476 + [ sp:varName "productionReport"^^xsd:string
477 + ]
478 + ] [ sp:object
479 + [ sp:varName "productionReport"^^xsd:string
480 + ] ;
481 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
482 + sp:subject
483 + [ sp:varName "productVolumeReport"^^xsd:string
484 + ]
485 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
486 + sp:predicate rdf:type ;
487 + sp:subject
488 + [ sp:varName "productVolumeReport"^^xsd:string
489 + ]
490 + ] [ sp:object
491 + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string
492 + ] ;
493 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
494 + sp:subject
495 + [ sp:varName "productVolumeReport"^^xsd:string
496 + ]
497 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
498 + sp:predicate rdf:type ;
499 + sp:subject
500 + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string
501 + ]
502 + ] [ sp:object
503 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
504 + ] ;
505 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
506 + sp:subject
507 + [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string
508 + ]
509 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
510 + sp:predicate rdf:type ;
511 + sp:subject
512 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
513 + ]
514 + ] [ sp:object
515 + [ sp:varName "productionFlowWhole"^^xsd:string
516 + ] ;
517 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
518 + sp:subject
519 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
520 + ]
521 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
522 + sp:predicate rdf:type ;
523 + sp:subject
524 + [ sp:varName "productionFlowWhole"^^xsd:string
525 + ]
526 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#HydrocarbonAccounting> ;
527 + sp:predicate rdf:type ;
528 + sp:subject
529 + [ sp:varName "productionFlowWhole"^^xsd:string
530 + ]
531 + ] [ sp:object
532 + [ sp:varName "productionFlowMixedPart"^^xsd:string
533 + ] ;
534 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
535 + sp:subject
536 + [ sp:varName "productionFlowWhole"^^xsd:string
537 + ]
538 + ] [ sp:object
539 + [ sp:varName "productionFlowFacility"^^xsd:string
540 + ] ;
541 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
542 + sp:subject
543 + [ sp:varName "productionFlowWhole"^^xsd:string
544 + ]
545 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
546 + sp:predicate rdf:type ;
547 + sp:subject
548 + [ sp:varName "productionFlowFacility"^^xsd:string
549 + ]
550 + ] [ sp:object
551 + [ sp:varName "facilityName"^^xsd:string
552 + ] ;
553 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
554 + sp:subject
555 + [ sp:varName "productionFlowFacility"^^xsd:string
556 + ]
557 + ] [ sp:object
558 + [ sp:varName "productionFlowMixedPart"^^xsd:string
559 + ] ;
560 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
561 + sp:subject
562 + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string
563 + ]
564 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
565 + sp:predicate rdf:type ;
566 + sp:subject
567 + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string
568 + ]
569 + ] [ sp:object
570 + [ sp:varName "productFlowPartOfMixedPart"^^xsd:string
571 + ] ;
572 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
573 + sp:subject
574 + [ sp:varName "productFlowInMonth"^^xsd:string
575 + ]
576 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth> ;
577 + sp:predicate rdf:type ;
578 + sp:subject
579 + [ sp:varName "productFlowInMonth"^^xsd:string
580 + ]
581 + ] [ sp:object
582 + [ sp:varName "materialFlowedInMonth"^^xsd:string
583 + ] ;
584 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
585 + sp:subject
586 + [ sp:varName "productFlowInMonth"^^xsd:string
587 + ]
588 + ] [ sp:object
589 + [ sp:varName "materialFlowedInMonth"^^xsd:string
590 + ] ;
591 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
592 + sp:subject
593 + [ sp:varName "spatialPartOfProductFlowInMonth"^^xsd:string
594 + ]
595 + ] [ sp:object
596 + [ sp:varName "spatialPartOfProductFlowInMonth"^^xsd:string
597 + ] ;
598 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
599 + sp:subject
600 + [ sp:varName "movedProduct"^^xsd:string
601 + ]
602 + ] [ sp:object
603 + [ sp:varName "movedProduct"^^xsd:string
604 + ] ;
605 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
606 + sp:subject
607 + [ sp:varName "movementOfProduct"^^xsd:string
608 + ]
609 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductTankerLifting> ;
610 + sp:predicate rdf:type ;
611 + sp:subject
612 + [ sp:varName "movementOfProduct"^^xsd:string
613 + ]
614 + ] [ sp:object
615 + [ sp:varName "cargoNumber"^^xsd:string
616 + ] ;
617 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#cargoNumber> ;
618 + sp:subject
619 + [ sp:varName "movedProduct"^^xsd:string
620 + ]
621 + ] [ sp:object
622 + [ sp:varName "cargoBatchNumber"^^xsd:string
623 + ] ;
624 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#cargoBatchNumber> ;
625 + sp:subject
626 + [ sp:varName "movedProduct"^^xsd:string
627 + ]
628 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
629 + sp:predicate rdf:type ;
630 + sp:subject
631 + [ sp:varName "movedProduct"^^xsd:string
632 + ]
633 + ] [ sp:object
634 + [ sp:varName "movedProduct"^^xsd:string
635 + ] ;
636 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
637 + sp:subject
638 + [ sp:varName "ownedPartOfMovedProduct"^^xsd:string
639 + ]
640 + ] [ sp:object
641 + [ sp:varName "ownerPart"^^xsd:string
642 + ] ;
643 + sp:predicate <http://www.reportinghub.no/ep/schema/organization#owner> ;
644 + sp:subject
645 + [ sp:varName "ownedPartOfMovedProduct"^^xsd:string
646 + ]
647 + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#Organization> ;
648 + sp:predicate rdf:type ;
649 + sp:subject
650 + [ sp:varName "ownerPart"^^xsd:string
651 + ]
652 + ] [ sp:object
653 + [ sp:varName "owner"^^xsd:string
654 + ] ;
655 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
656 + sp:subject
657 + [ sp:varName "ownerPart"^^xsd:string
658 + ]
659 + ] [ rdf:type sp:TriplePath ;
660 + sp:object
661 + [ sp:varName "ownerName"^^xsd:string
662 + ] ;
663 + sp:path [ rdf:type sp:AltPath ;
664 + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ;
665 + sp:path2 <http://www.reportinghub.no/np/schema/npd#name>
666 + ] ;
667 + sp:subject
668 + [ sp:varName "owner"^^xsd:string
669 + ]
670 + ] [ sp:object
671 + [ sp:varName "ownedPartOfMovedProduct"^^xsd:string
672 + ] ;
673 + sp:predicate <http://www.reportinghub.no/ep/schema/material#partMaterialOfPair> ;
674 + sp:subject
675 + [ sp:varName "materialPart"^^xsd:string
676 + ]
677 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair> ;
678 + sp:predicate rdf:type ;
679 + sp:subject
680 + [ sp:varName "materialPart"^^xsd:string
681 + ]
682 + ] [ sp:object
683 + [ sp:varName "ratio"^^xsd:string
684 + ] ;
685 + sp:predicate <http://www.reportinghub.no/ep/schema/material#volumeRatio> ;
686 + sp:subject
687 + [ sp:varName "materialPart"^^xsd:string
688 + ]
689 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
690 + sp:predicate rdf:type ;
691 + sp:subject
692 + [ sp:varName "ratio"^^xsd:string
693 + ]
694 + ] [ sp:object
695 + [ sp:varName "ownerShare"^^xsd:string
696 + ] ;
697 + sp:predicate <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
698 + sp:subject
699 + [ sp:varName "ratio"^^xsd:string
700 + ]
701 + ])
702 + ] ;
703 + rhspin:tableHeaders ("Facility"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Owner"^^xsd:string "Share"^^xsd:string) .
704 +
456 mpr-tables:GasSales 705 mpr-tables:GasSales
457 rdf:type rhspin:TableTemplate ; 706 rdf:type rhspin:TableTemplate ;
458 rdfs:label "Gas Sales"^^xsd:string ; 707 rdfs:label "Gas Sales"^^xsd:string ;
......
...@@ -176,6 +176,8 @@ OPTIONAL { ...@@ -176,6 +176,8 @@ OPTIONAL {
176 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" /> 176 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" />
177 177
178 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> 178 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" />
179 +
180 + <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" />
179 181
180 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> 182 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" />
181 183
......