David Price

Added Production Saleable table and completed Production and Well Production

...@@ -1485,7 +1485,7 @@ mpr-tables:ProductionFlows ...@@ -1485,7 +1485,7 @@ mpr-tables:ProductionFlows
1485 1485
1486 mpr-tables:ProductionFlowsAll 1486 mpr-tables:ProductionFlowsAll
1487 rdf:type rhspin:TableTemplate ; 1487 rdf:type rhspin:TableTemplate ;
1488 - rdfs:label "Production5"^^xsd:string ; 1488 + rdfs:label "Production"^^xsd:string ;
1489 rdfs:subClassOf rhspin:MPRGTableTemplates ; 1489 rdfs:subClassOf rhspin:MPRGTableTemplates ;
1490 spin:body 1490 spin:body
1491 [ rdf:type sp:Select ; 1491 [ rdf:type sp:Select ;
...@@ -1557,7 +1557,7 @@ mpr-tables:ProductionFlowsAll ...@@ -1557,7 +1557,7 @@ mpr-tables:ProductionFlowsAll
1557 [ sp:varName "productionFlowWhole"^^xsd:string 1557 [ sp:varName "productionFlowWhole"^^xsd:string
1558 ] 1558 ]
1559 ] [ rdf:type sp:NotExists ; 1559 ] [ rdf:type sp:NotExists ;
1560 - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ; 1560 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#SaleableFlow> ;
1561 sp:predicate rdf:type ; 1561 sp:predicate rdf:type ;
1562 sp:subject 1562 sp:subject
1563 [ sp:varName "productionFlowWhole"^^xsd:string 1563 [ sp:varName "productionFlowWhole"^^xsd:string
...@@ -1620,6 +1620,18 @@ mpr-tables:ProductionFlowsAll ...@@ -1620,6 +1620,18 @@ mpr-tables:ProductionFlowsAll
1620 sp:subject 1620 sp:subject
1621 [ sp:varName "productFlowInMonth"^^xsd:string 1621 [ sp:varName "productFlowInMonth"^^xsd:string
1622 ] 1622 ]
1623 + ] [ sp:object
1624 + [ sp:varName "productFlowWhole"^^xsd:string
1625 + ] ;
1626 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1627 + sp:subject
1628 + [ sp:varName "productionFlowMixedPart"^^xsd:string
1629 + ]
1630 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
1631 + sp:predicate rdf:type ;
1632 + sp:subject
1633 + [ sp:varName "productFlowWhole"^^xsd:string
1634 + ]
1623 ] [ rdf:type sp:Optional ; 1635 ] [ rdf:type sp:Optional ;
1624 sp:elements ([ sp:object 1636 sp:elements ([ sp:object
1625 [ sp:varName "materialQuantityValue"^^xsd:string 1637 [ sp:varName "materialQuantityValue"^^xsd:string
...@@ -1814,7 +1826,7 @@ mpr-tables:ProductionFlowsAll ...@@ -1814,7 +1826,7 @@ mpr-tables:ProductionFlowsAll
1814 ] ; 1826 ] ;
1815 sp:predicate rdf:type ; 1827 sp:predicate rdf:type ;
1816 sp:subject 1828 sp:subject
1817 - [ sp:varName "productionFlowMixedPart"^^xsd:string 1829 + [ sp:varName "productFlowWhole"^^xsd:string
1818 ] 1830 ]
1819 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ; 1831 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ;
1820 sp:predicate rdf:type ; 1832 sp:predicate rdf:type ;
...@@ -1831,18 +1843,6 @@ mpr-tables:ProductionFlowsAll ...@@ -1831,18 +1843,6 @@ mpr-tables:ProductionFlowsAll
1831 ]) 1843 ])
1832 ] [ rdf:type sp:Optional ; 1844 ] [ rdf:type sp:Optional ;
1833 sp:elements ([ sp:object 1845 sp:elements ([ sp:object
1834 - [ sp:varName "productFlowWhole"^^xsd:string
1835 - ] ;
1836 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1837 - sp:subject
1838 - [ sp:varName "productionFlowMixedPart"^^xsd:string
1839 - ]
1840 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
1841 - sp:predicate rdf:type ;
1842 - sp:subject
1843 - [ sp:varName "productFlowWhole"^^xsd:string
1844 - ]
1845 - ] [ sp:object
1846 [ sp:varName "productFlowMaterialType"^^xsd:string 1846 [ sp:varName "productFlowMaterialType"^^xsd:string
1847 ] ; 1847 ] ;
1848 sp:predicate rdf:type ; 1848 sp:predicate rdf:type ;
...@@ -2438,6 +2438,429 @@ mpr-tables:ProductionInventoryOwnership ...@@ -2438,6 +2438,429 @@ mpr-tables:ProductionInventoryOwnership
2438 ] ; 2438 ] ;
2439 rhspin:tableHeaders ("Facility"^^xsd:string "Volume"^^xsd:string "Owner"^^xsd:string) . 2439 rhspin:tableHeaders ("Facility"^^xsd:string "Volume"^^xsd:string "Owner"^^xsd:string) .
2440 2440
2441 +mpr-tables:ProductionSales
2442 + rdf:type rhspin:TableTemplate ;
2443 + rdfs:label "Production Saleable"^^xsd:string ;
2444 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
2445 + spin:body
2446 + [ rdf:type sp:Select ;
2447 + sp:orderBy ([ sp:varName "facilityName"^^xsd:string
2448 + ] [ sp:varName "purposeTypeName"^^xsd:string
2449 + ] [ sp:varName "materialTypeName"^^xsd:string
2450 + ]) ;
2451 + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
2452 + ] [ sp:varName "purposeTypeName"^^xsd:string
2453 + ] [ sp:varName "materialTypeName"^^xsd:string
2454 + ] [ sp:varName "massValueString"^^xsd:string
2455 + ] [ sp:varName "volumeValueString"^^xsd:string
2456 + ] [ sp:varName "densityValueString"^^xsd:string
2457 + ] [ sp:varName "definitionTypeName"^^xsd:string
2458 + ] [ sp:varName "definitionSubTypeName"^^xsd:string
2459 + ] [ sp:varName "grossOrNet"^^xsd:string
2460 + ]) ;
2461 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
2462 + sp:predicate rdf:type ;
2463 + sp:subject
2464 + [ sp:varName "productionReport"^^xsd:string
2465 + ]
2466 + ] [ sp:object
2467 + [ sp:varName "productionReport"^^xsd:string
2468 + ] ;
2469 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
2470 + sp:subject
2471 + [ sp:varName "productVolumeReport"^^xsd:string
2472 + ]
2473 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ;
2474 + sp:predicate rdf:type ;
2475 + sp:subject
2476 + [ sp:varName "productVolumeReport"^^xsd:string
2477 + ]
2478 + ] [ sp:object
2479 + [ sp:varName "productionFlowNetwork"^^xsd:string
2480 + ] ;
2481 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
2482 + sp:subject
2483 + [ sp:varName "productVolumeReport"^^xsd:string
2484 + ]
2485 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
2486 + sp:predicate rdf:type ;
2487 + sp:subject
2488 + [ sp:varName "productionFlowNetwork"^^xsd:string
2489 + ]
2490 + ] [ sp:object
2491 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2492 + ] ;
2493 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
2494 + sp:subject
2495 + [ sp:varName "productionFlowNetwork"^^xsd:string
2496 + ]
2497 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
2498 + sp:predicate rdf:type ;
2499 + sp:subject
2500 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2501 + ]
2502 + ] [ sp:object
2503 + [ sp:varName "productionFlowWhole"^^xsd:string
2504 + ] ;
2505 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2506 + sp:subject
2507 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2508 + ]
2509 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ;
2510 + sp:predicate rdf:type ;
2511 + sp:subject
2512 + [ sp:varName "productionFlowWhole"^^xsd:string
2513 + ]
2514 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#SaleableFlow> ;
2515 + sp:predicate rdf:type ;
2516 + sp:subject
2517 + [ sp:varName "productionFlowWhole"^^xsd:string
2518 + ]
2519 + ] [ sp:object
2520 + [ sp:varName "productionFlowFacility"^^xsd:string
2521 + ] ;
2522 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ;
2523 + sp:subject
2524 + [ sp:varName "productionFlowWhole"^^xsd:string
2525 + ]
2526 + ] [ rdf:type sp:NotExists ;
2527 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
2528 + sp:predicate rdf:type ;
2529 + sp:subject
2530 + [ sp:varName "productionFlowFacility"^^xsd:string
2531 + ]
2532 + ])
2533 + ] [ sp:object
2534 + [ sp:varName "facilityName"^^xsd:string
2535 + ] ;
2536 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
2537 + sp:subject
2538 + [ sp:varName "productionFlowFacility"^^xsd:string
2539 + ]
2540 + ] [ sp:object
2541 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2542 + ] ;
2543 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
2544 + sp:subject
2545 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2546 + ]
2547 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
2548 + sp:predicate rdf:type ;
2549 + sp:subject
2550 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2551 + ]
2552 + ] [ sp:object
2553 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2554 + ] ;
2555 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2556 + sp:subject
2557 + [ sp:varName "productFlowInMonth"^^xsd:string
2558 + ]
2559 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
2560 + sp:predicate rdf:type ;
2561 + sp:subject
2562 + [ sp:varName "productFlowInMonth"^^xsd:string
2563 + ]
2564 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth> ;
2565 + sp:predicate rdf:type ;
2566 + sp:subject
2567 + [ sp:varName "productFlowInMonth"^^xsd:string
2568 + ]
2569 + ] [ sp:object
2570 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2571 + ] ;
2572 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
2573 + sp:subject
2574 + [ sp:varName "productFlowInMonth"^^xsd:string
2575 + ]
2576 + ] [ sp:object
2577 + [ sp:varName "productFlowWhole"^^xsd:string
2578 + ] ;
2579 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2580 + sp:subject
2581 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2582 + ]
2583 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
2584 + sp:predicate rdf:type ;
2585 + sp:subject
2586 + [ sp:varName "productFlowWhole"^^xsd:string
2587 + ]
2588 + ] [ rdf:type sp:Optional ;
2589 + sp:elements ([ sp:object
2590 + [ sp:varName "materialQuantityValue"^^xsd:string
2591 + ] ;
2592 + sp:predicate rdf:type ;
2593 + sp:subject
2594 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2595 + ]
2596 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
2597 + sp:predicate rdf:type ;
2598 + sp:subject
2599 + [ sp:varName "materialQuantityValue"^^xsd:string
2600 + ]
2601 + ] [ sp:object
2602 + [ sp:varName "materialValue"^^xsd:string
2603 + ] ;
2604 + sp:predicate
2605 + [ sp:varName "materialProperty"^^xsd:string
2606 + ] ;
2607 + sp:subject
2608 + [ sp:varName "materialQuantityValue"^^xsd:string
2609 + ]
2610 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
2611 + sp:predicate rdf:type ;
2612 + sp:subject
2613 + [ sp:varName "materialProperty"^^xsd:string
2614 + ]
2615 + ] [ sp:object
2616 + [ sp:varName "materialPropertyName"^^xsd:string
2617 + ] ;
2618 + sp:predicate rdfs:label ;
2619 + sp:subject
2620 + [ sp:varName "materialProperty"^^xsd:string
2621 + ]
2622 + ] [ rdf:type sp:Bind ;
2623 + sp:expression
2624 + [ rdf:type fn:concat ;
2625 + sp:arg1 [ rdf:type spif:decimalFormat ;
2626 + arg:number
2627 + [ sp:varName "materialValue"^^xsd:string
2628 + ] ;
2629 + arg:pattern "#.##"
2630 + ] ;
2631 + sp:arg2 " " ;
2632 + sp:arg3 [ sp:varName "materialPropertyName"^^xsd:string
2633 + ]
2634 + ] ;
2635 + sp:variable
2636 + [ sp:varName "massValueString"^^xsd:string
2637 + ]
2638 + ])
2639 + ] [ rdf:type sp:Optional ;
2640 + sp:elements ([ sp:object
2641 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2642 + ] ;
2643 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2644 + sp:subject
2645 + [ sp:varName "stateOfMaterialThatFlowsInPeriodVolume"^^xsd:string
2646 + ]
2647 + ] [ sp:object
2648 + [ sp:varName "stateVolume"^^xsd:string
2649 + ] ;
2650 + sp:predicate rdf:type ;
2651 + sp:subject
2652 + [ sp:varName "stateOfMaterialThatFlowsInPeriodVolume"^^xsd:string
2653 + ]
2654 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
2655 + sp:predicate rdf:type ;
2656 + sp:subject
2657 + [ sp:varName "stateVolume"^^xsd:string
2658 + ]
2659 + ] [ sp:object
2660 + [ sp:varName "volumeValue"^^xsd:string
2661 + ] ;
2662 + sp:predicate
2663 + [ sp:varName "volumePredicate"^^xsd:string
2664 + ] ;
2665 + sp:subject
2666 + [ sp:varName "stateVolume"^^xsd:string
2667 + ]
2668 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
2669 + sp:predicate rdf:type ;
2670 + sp:subject
2671 + [ sp:varName "volumePredicate"^^xsd:string
2672 + ]
2673 + ] [ sp:object
2674 + [ sp:varName "volumeUnit"^^xsd:string
2675 + ] ;
2676 + sp:predicate rdfs:label ;
2677 + sp:subject
2678 + [ sp:varName "volumePredicate"^^xsd:string
2679 + ]
2680 + ] [ rdf:type sp:Bind ;
2681 + sp:expression
2682 + [ rdf:type fn:concat ;
2683 + sp:arg1 [ rdf:type spif:decimalFormat ;
2684 + arg:number
2685 + [ sp:varName "volumeValue"^^xsd:string
2686 + ] ;
2687 + arg:pattern "#.##"
2688 + ] ;
2689 + sp:arg2 " " ;
2690 + sp:arg3 [ sp:varName "volumeUnit"^^xsd:string
2691 + ]
2692 + ] ;
2693 + sp:variable
2694 + [ sp:varName "volumeValueString"^^xsd:string
2695 + ]
2696 + ])
2697 + ] [ rdf:type sp:Optional ;
2698 + sp:elements ([ sp:object
2699 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2700 + ] ;
2701 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2702 + sp:subject
2703 + [ sp:varName "stateOfMaterialThatFlowsInPeriodDensity"^^xsd:string
2704 + ]
2705 + ] [ sp:object
2706 + [ sp:varName "stateDensity"^^xsd:string
2707 + ] ;
2708 + sp:predicate rdf:type ;
2709 + sp:subject
2710 + [ sp:varName "stateOfMaterialThatFlowsInPeriodDensity"^^xsd:string
2711 + ]
2712 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
2713 + sp:predicate rdf:type ;
2714 + sp:subject
2715 + [ sp:varName "stateDensity"^^xsd:string
2716 + ]
2717 + ] [ sp:object
2718 + [ sp:varName "densityValue"^^xsd:string
2719 + ] ;
2720 + sp:predicate
2721 + [ sp:varName "densityPredicate"^^xsd:string
2722 + ] ;
2723 + sp:subject
2724 + [ sp:varName "stateDensity"^^xsd:string
2725 + ]
2726 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
2727 + sp:predicate rdf:type ;
2728 + sp:subject
2729 + [ sp:varName "densityPredicate"^^xsd:string
2730 + ]
2731 + ] [ sp:object
2732 + [ sp:varName "densityUnit"^^xsd:string
2733 + ] ;
2734 + sp:predicate rdfs:label ;
2735 + sp:subject
2736 + [ sp:varName "densityPredicate"^^xsd:string
2737 + ]
2738 + ] [ rdf:type sp:Bind ;
2739 + sp:expression
2740 + [ rdf:type fn:concat ;
2741 + sp:arg1 [ rdf:type spif:decimalFormat ;
2742 + arg:number
2743 + [ sp:varName "densityValue"^^xsd:string
2744 + ] ;
2745 + arg:pattern "#.##"
2746 + ] ;
2747 + sp:arg2 " " ;
2748 + sp:arg3 [ sp:varName "densityUnit"^^xsd:string
2749 + ]
2750 + ] ;
2751 + sp:variable
2752 + [ sp:varName "densityValueString"^^xsd:string
2753 + ]
2754 + ])
2755 + ] [ rdf:type sp:Optional ;
2756 + sp:elements ([ sp:object
2757 + [ sp:varName "productionFlowPurposeType"^^xsd:string
2758 + ] ;
2759 + sp:predicate rdf:type ;
2760 + sp:subject
2761 + [ sp:varName "productionFlowWhole"^^xsd:string
2762 + ]
2763 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ;
2764 + sp:predicate rdf:type ;
2765 + sp:subject
2766 + [ sp:varName "productionFlowPurposeType"^^xsd:string
2767 + ]
2768 + ] [ sp:object
2769 + [ sp:varName "purposeTypeName"^^xsd:string
2770 + ] ;
2771 + sp:predicate rdfs:label ;
2772 + sp:subject
2773 + [ sp:varName "productionFlowPurposeType"^^xsd:string
2774 + ]
2775 + ])
2776 + ] [ rdf:type sp:Optional ;
2777 + sp:elements ([ sp:object
2778 + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string
2779 + ] ;
2780 + sp:predicate rdf:type ;
2781 + sp:subject
2782 + [ sp:varName "productFlowWhole"^^xsd:string
2783 + ]
2784 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ;
2785 + sp:predicate rdf:type ;
2786 + sp:subject
2787 + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string
2788 + ]
2789 + ] [ sp:object
2790 + [ sp:varName "grossOrNet"^^xsd:string
2791 + ] ;
2792 + sp:predicate rdfs:label ;
2793 + sp:subject
2794 + [ sp:varName "productionFlowPartGrossOrNetType"^^xsd:string
2795 + ]
2796 + ])
2797 + ] [ rdf:type sp:Optional ;
2798 + sp:elements ([ sp:object
2799 + [ sp:varName "productFlowMaterialType"^^xsd:string
2800 + ] ;
2801 + sp:predicate rdf:type ;
2802 + sp:subject
2803 + [ sp:varName "productFlowWhole"^^xsd:string
2804 + ]
2805 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
2806 + sp:predicate rdf:type ;
2807 + sp:subject
2808 + [ sp:varName "productFlowMaterialType"^^xsd:string
2809 + ]
2810 + ] [ sp:object
2811 + [ sp:varName "materialTypeName"^^xsd:string
2812 + ] ;
2813 + sp:predicate rdfs:label ;
2814 + sp:subject
2815 + [ sp:varName "productFlowMaterialType"^^xsd:string
2816 + ]
2817 + ])
2818 + ] [ rdf:type sp:Optional ;
2819 + sp:elements ([ sp:object
2820 + [ sp:varName "productionFlowDefinitionType"^^xsd:string
2821 + ] ;
2822 + sp:predicate rdf:type ;
2823 + sp:subject
2824 + [ sp:varName "productionFlowWhole"^^xsd:string
2825 + ]
2826 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ;
2827 + sp:predicate rdf:type ;
2828 + sp:subject
2829 + [ sp:varName "productionFlowDefinitionType"^^xsd:string
2830 + ]
2831 + ] [ sp:object
2832 + [ sp:varName "definitionTypeName"^^xsd:string
2833 + ] ;
2834 + sp:predicate rdfs:label ;
2835 + sp:subject
2836 + [ sp:varName "productionFlowDefinitionType"^^xsd:string
2837 + ]
2838 + ])
2839 + ] [ rdf:type sp:Optional ;
2840 + sp:elements ([ sp:object
2841 + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string
2842 + ] ;
2843 + sp:predicate rdf:type ;
2844 + sp:subject
2845 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2846 + ]
2847 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ;
2848 + sp:predicate rdf:type ;
2849 + sp:subject
2850 + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string
2851 + ]
2852 + ] [ sp:object
2853 + [ sp:varName "definitionSubTypeName"^^xsd:string
2854 + ] ;
2855 + sp:predicate rdfs:label ;
2856 + sp:subject
2857 + [ sp:varName "productionFlowDefinitionSubType"^^xsd:string
2858 + ]
2859 + ])
2860 + ])
2861 + ] ;
2862 + rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Mass"^^xsd:string "Volume"^^xsd:string "Density"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) .
2863 +
2441 mpr-tables:WellProductionFlows 2864 mpr-tables:WellProductionFlows
2442 rdf:type rhspin:TableTemplate ; 2865 rdf:type rhspin:TableTemplate ;
2443 rdfs:label "Well Production"^^xsd:string ; 2866 rdfs:label "Well Production"^^xsd:string ;
...@@ -2454,7 +2877,6 @@ mpr-tables:WellProductionFlows ...@@ -2454,7 +2877,6 @@ mpr-tables:WellProductionFlows
2454 ] [ sp:varName "materialTypeName"^^xsd:string 2877 ] [ sp:varName "materialTypeName"^^xsd:string
2455 ] [ sp:varName "volumeValueString"^^xsd:string 2878 ] [ sp:varName "volumeValueString"^^xsd:string
2456 ] [ sp:varName "dayValue"^^xsd:string 2879 ] [ sp:varName "dayValue"^^xsd:string
2457 - ] [ sp:varName "temperatureInCelcius"^^xsd:string
2458 ] [ sp:varName "definitionTypeName"^^xsd:string 2880 ] [ sp:varName "definitionTypeName"^^xsd:string
2459 ] [ sp:varName "definitionSubTypeName"^^xsd:string 2881 ] [ sp:varName "definitionSubTypeName"^^xsd:string
2460 ] [ sp:varName "grossOrNet"^^xsd:string 2882 ] [ sp:varName "grossOrNet"^^xsd:string
...@@ -2574,6 +2996,18 @@ mpr-tables:WellProductionFlows ...@@ -2574,6 +2996,18 @@ mpr-tables:WellProductionFlows
2574 sp:subject 2996 sp:subject
2575 [ sp:varName "productFlowInMonth"^^xsd:string 2997 [ sp:varName "productFlowInMonth"^^xsd:string
2576 ] 2998 ]
2999 + ] [ sp:object
3000 + [ sp:varName "productFlowWhole"^^xsd:string
3001 + ] ;
3002 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3003 + sp:subject
3004 + [ sp:varName "productionFlowMixedPart"^^xsd:string
3005 + ]
3006 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
3007 + sp:predicate rdf:type ;
3008 + sp:subject
3009 + [ sp:varName "productFlowWhole"^^xsd:string
3010 + ]
2577 ] [ rdf:type sp:Optional ; 3011 ] [ rdf:type sp:Optional ;
2578 sp:elements ([ sp:object 3012 sp:elements ([ sp:object
2579 [ sp:varName "productionFlowFacility"^^xsd:string 3013 [ sp:varName "productionFlowFacility"^^xsd:string
...@@ -2604,6 +3038,34 @@ mpr-tables:WellProductionFlows ...@@ -2604,6 +3038,34 @@ mpr-tables:WellProductionFlows
2604 ]) 3038 ])
2605 ] [ rdf:type sp:Optional ; 3039 ] [ rdf:type sp:Optional ;
2606 sp:elements ([ sp:object 3040 sp:elements ([ sp:object
3041 + [ sp:varName "productionFlowFacility"^^xsd:string
3042 + ] ;
3043 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3044 + sp:subject
3045 + [ sp:varName "producingWell"^^xsd:string
3046 + ]
3047 + ] [ sp:object
3048 + [ sp:varName "wellStatusType"^^xsd:string
3049 + ] ;
3050 + sp:predicate rdf:type ;
3051 + sp:subject
3052 + [ sp:varName "producingWell"^^xsd:string
3053 + ]
3054 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#WellStatusType> ;
3055 + sp:predicate rdf:type ;
3056 + sp:subject
3057 + [ sp:varName "wellStatusType"^^xsd:string
3058 + ]
3059 + ] [ sp:object
3060 + [ sp:varName "wellStatus"^^xsd:string
3061 + ] ;
3062 + sp:predicate rdfs:label ;
3063 + sp:subject
3064 + [ sp:varName "wellStatusType"^^xsd:string
3065 + ]
3066 + ])
3067 + ] [ rdf:type sp:Optional ;
3068 + sp:elements ([ sp:object
2607 [ sp:varName "productFlowInMonthMaterial"^^xsd:string 3069 [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2608 ] ; 3070 ] ;
2609 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 3071 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
...@@ -2687,7 +3149,7 @@ mpr-tables:WellProductionFlows ...@@ -2687,7 +3149,7 @@ mpr-tables:WellProductionFlows
2687 ] ; 3149 ] ;
2688 sp:predicate rdf:type ; 3150 sp:predicate rdf:type ;
2689 sp:subject 3151 sp:subject
2690 - [ sp:varName "productionFlowMixedPart"^^xsd:string 3152 + [ sp:varName "productFlowWhole"^^xsd:string
2691 ] 3153 ]
2692 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ; 3154 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlowGrossOrNetType> ;
2693 sp:predicate rdf:type ; 3155 sp:predicate rdf:type ;
...@@ -2704,18 +3166,6 @@ mpr-tables:WellProductionFlows ...@@ -2704,18 +3166,6 @@ mpr-tables:WellProductionFlows
2704 ]) 3166 ])
2705 ] [ rdf:type sp:Optional ; 3167 ] [ rdf:type sp:Optional ;
2706 sp:elements ([ sp:object 3168 sp:elements ([ sp:object
2707 - [ sp:varName "productFlowWhole"^^xsd:string
2708 - ] ;
2709 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2710 - sp:subject
2711 - [ sp:varName "productionFlowMixedPart"^^xsd:string
2712 - ]
2713 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
2714 - sp:predicate rdf:type ;
2715 - sp:subject
2716 - [ sp:varName "productFlowWhole"^^xsd:string
2717 - ]
2718 - ] [ sp:object
2719 [ sp:varName "productFlowMaterialType"^^xsd:string 3169 [ sp:varName "productFlowMaterialType"^^xsd:string
2720 ] ; 3170 ] ;
2721 sp:predicate rdf:type ; 3171 sp:predicate rdf:type ;
...@@ -2762,7 +3212,7 @@ mpr-tables:WellProductionFlows ...@@ -2762,7 +3212,7 @@ mpr-tables:WellProductionFlows
2762 ] ; 3212 ] ;
2763 sp:predicate rdf:type ; 3213 sp:predicate rdf:type ;
2764 sp:subject 3214 sp:subject
2765 - [ sp:varName "productionFlowMixedPart"^^xsd:string 3215 + [ sp:varName "productionFlowWhole"^^xsd:string
2766 ] 3216 ]
2767 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ; 3217 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionSubType> ;
2768 sp:predicate rdf:type ; 3218 sp:predicate rdf:type ;
...@@ -2779,4 +3229,4 @@ mpr-tables:WellProductionFlows ...@@ -2779,4 +3229,4 @@ mpr-tables:WellProductionFlows
2779 ]) 3229 ])
2780 ]) 3230 ])
2781 ] ; 3231 ] ;
2782 - rhspin:tableHeaders ("Wellbore"^^xsd:string "Status"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Volume"^^xsd:string "Days"^^xsd:string "Temperature C"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) . 3232 + rhspin:tableHeaders ("Wellbore"^^xsd:string "Status"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Volume"^^xsd:string "Days"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) .
......
...@@ -178,6 +178,8 @@ OPTIONAL { ...@@ -178,6 +178,8 @@ OPTIONAL {
178 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" /> 178 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" />
179 179
180 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" /> 180 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" />
181 +
182 + <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" />
181 183
182 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> 184 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" />
183 185
......