David Price

Production nearly working, start 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 "Production"^^xsd:string ; 1488 + rdfs:label "Production5"^^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 ;
...@@ -1591,6 +1591,11 @@ mpr-tables:ProductionFlowsAll ...@@ -1591,6 +1591,11 @@ mpr-tables:ProductionFlowsAll
1591 sp:subject 1591 sp:subject
1592 [ sp:varName "productionFlowInReportingPeriod"^^xsd:string 1592 [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
1593 ] 1593 ]
1594 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
1595 + sp:predicate rdf:type ;
1596 + sp:subject
1597 + [ sp:varName "productionFlowMixedPart"^^xsd:string
1598 + ]
1594 ] [ sp:object 1599 ] [ sp:object
1595 [ sp:varName "productionFlowMixedPart"^^xsd:string 1600 [ sp:varName "productionFlowMixedPart"^^xsd:string
1596 ] ; 1601 ] ;
...@@ -1608,13 +1613,20 @@ mpr-tables:ProductionFlowsAll ...@@ -1608,13 +1613,20 @@ mpr-tables:ProductionFlowsAll
1608 sp:subject 1613 sp:subject
1609 [ sp:varName "productFlowInMonth"^^xsd:string 1614 [ sp:varName "productFlowInMonth"^^xsd:string
1610 ] 1615 ]
1616 + ] [ sp:object
1617 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
1618 + ] ;
1619 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
1620 + sp:subject
1621 + [ sp:varName "productFlowInMonth"^^xsd:string
1622 + ]
1611 ] [ rdf:type sp:Optional ; 1623 ] [ rdf:type sp:Optional ;
1612 sp:elements ([ sp:object 1624 sp:elements ([ sp:object
1613 [ sp:varName "materialQuantityValue"^^xsd:string 1625 [ sp:varName "materialQuantityValue"^^xsd:string
1614 ] ; 1626 ] ;
1615 sp:predicate rdf:type ; 1627 sp:predicate rdf:type ;
1616 sp:subject 1628 sp:subject
1617 - [ sp:varName "flowDuringMonthMaterial"^^xsd:string 1629 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
1618 ] 1630 ]
1619 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ; 1631 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
1620 sp:predicate rdf:type ; 1632 sp:predicate rdf:type ;
...@@ -1661,7 +1673,7 @@ mpr-tables:ProductionFlowsAll ...@@ -1661,7 +1673,7 @@ mpr-tables:ProductionFlowsAll
1661 ]) 1673 ])
1662 ] [ rdf:type sp:Optional ; 1674 ] [ rdf:type sp:Optional ;
1663 sp:elements ([ sp:object 1675 sp:elements ([ sp:object
1664 - [ sp:varName "flowDuringMonthMaterial"^^xsd:string 1676 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
1665 ] ; 1677 ] ;
1666 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 1678 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1667 sp:subject 1679 sp:subject
...@@ -1719,7 +1731,7 @@ mpr-tables:ProductionFlowsAll ...@@ -1719,7 +1731,7 @@ mpr-tables:ProductionFlowsAll
1719 ]) 1731 ])
1720 ] [ rdf:type sp:Optional ; 1732 ] [ rdf:type sp:Optional ;
1721 sp:elements ([ sp:object 1733 sp:elements ([ sp:object
1722 - [ sp:varName "flowDuringMonthMaterial"^^xsd:string 1734 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
1723 ] ; 1735 ] ;
1724 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 1736 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1725 sp:subject 1737 sp:subject
...@@ -1819,11 +1831,23 @@ mpr-tables:ProductionFlowsAll ...@@ -1819,11 +1831,23 @@ mpr-tables:ProductionFlowsAll
1819 ]) 1831 ])
1820 ] [ rdf:type sp:Optional ; 1832 ] [ rdf:type sp:Optional ;
1821 sp:elements ([ sp:object 1833 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
1822 [ sp:varName "productFlowMaterialType"^^xsd:string 1846 [ sp:varName "productFlowMaterialType"^^xsd:string
1823 ] ; 1847 ] ;
1824 sp:predicate rdf:type ; 1848 sp:predicate rdf:type ;
1825 sp:subject 1849 sp:subject
1826 - [ sp:varName "productionFlowMixedPart"^^xsd:string 1850 + [ sp:varName "productFlowWhole"^^xsd:string
1827 ] 1851 ]
1828 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; 1852 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
1829 sp:predicate rdf:type ; 1853 sp:predicate rdf:type ;
...@@ -2422,6 +2446,7 @@ mpr-tables:WellProductionFlows ...@@ -2422,6 +2446,7 @@ mpr-tables:WellProductionFlows
2422 [ rdf:type sp:Select ; 2446 [ rdf:type sp:Select ;
2423 sp:orderBy ([ sp:varName "facilityName"^^xsd:string 2447 sp:orderBy ([ sp:varName "facilityName"^^xsd:string
2424 ] [ sp:varName "purposeTypeName"^^xsd:string 2448 ] [ sp:varName "purposeTypeName"^^xsd:string
2449 + ] [ sp:varName "materialTypeName"^^xsd:string
2425 ]) ; 2450 ]) ;
2426 sp:resultVariables ([ sp:varName "facilityName"^^xsd:string 2451 sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
2427 ] [ sp:varName "wellStatus"^^xsd:string 2452 ] [ sp:varName "wellStatus"^^xsd:string
...@@ -2452,23 +2477,23 @@ mpr-tables:WellProductionFlows ...@@ -2452,23 +2477,23 @@ mpr-tables:WellProductionFlows
2452 [ sp:varName "productVolumeReport"^^xsd:string 2477 [ sp:varName "productVolumeReport"^^xsd:string
2453 ] 2478 ]
2454 ] [ sp:object 2479 ] [ sp:object
2455 - [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string 2480 + [ sp:varName "productionFlowNetwork"^^xsd:string
2456 ] ; 2481 ] ;
2457 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; 2482 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
2458 sp:subject 2483 sp:subject
2459 [ sp:varName "productVolumeReport"^^xsd:string 2484 [ sp:varName "productVolumeReport"^^xsd:string
2460 ] 2485 ]
2461 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; 2486 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ;
2462 sp:predicate rdf:type ; 2487 sp:predicate rdf:type ;
2463 sp:subject 2488 sp:subject
2464 - [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string 2489 + [ sp:varName "productionFlowNetwork"^^xsd:string
2465 ] 2490 ]
2466 ] [ sp:object 2491 ] [ sp:object
2467 [ sp:varName "productionFlowInReportingPeriod"^^xsd:string 2492 [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2468 ] ; 2493 ] ;
2469 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 2494 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ;
2470 sp:subject 2495 sp:subject
2471 - [ sp:varName "productionFlowsInReportingPeriod"^^xsd:string 2496 + [ sp:varName "productionFlowNetwork"^^xsd:string
2472 ] 2497 ]
2473 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; 2498 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ;
2474 sp:predicate rdf:type ; 2499 sp:predicate rdf:type ;
...@@ -2487,13 +2512,13 @@ mpr-tables:WellProductionFlows ...@@ -2487,13 +2512,13 @@ mpr-tables:WellProductionFlows
2487 sp:subject 2512 sp:subject
2488 [ sp:varName "productionFlowWhole"^^xsd:string 2513 [ sp:varName "productionFlowWhole"^^xsd:string
2489 ] 2514 ]
2490 - ] [ sp:object 2515 + ] [ rdf:type sp:NotExists ;
2491 - [ sp:varName "productionFlowMixedPart"^^xsd:string 2516 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ;
2492 - ] ; 2517 + sp:predicate rdf:type ;
2493 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; 2518 + sp:subject
2494 - sp:subject 2519 + [ sp:varName "productionFlowWhole"^^xsd:string
2495 - [ sp:varName "productionFlowWhole"^^xsd:string 2520 + ]
2496 - ] 2521 + ])
2497 ] [ sp:object 2522 ] [ sp:object
2498 [ sp:varName "productionFlowFacility"^^xsd:string 2523 [ sp:varName "productionFlowFacility"^^xsd:string
2499 ] ; 2524 ] ;
...@@ -2513,6 +2538,42 @@ mpr-tables:WellProductionFlows ...@@ -2513,6 +2538,42 @@ mpr-tables:WellProductionFlows
2513 sp:subject 2538 sp:subject
2514 [ sp:varName "productionFlowFacility"^^xsd:string 2539 [ sp:varName "productionFlowFacility"^^xsd:string
2515 ] 2540 ]
2541 + ] [ sp:object
2542 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2543 + ] ;
2544 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
2545 + sp:subject
2546 + [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2547 + ]
2548 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
2549 + sp:predicate rdf:type ;
2550 + sp:subject
2551 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2552 + ]
2553 + ] [ sp:object
2554 + [ sp:varName "productionFlowMixedPart"^^xsd:string
2555 + ] ;
2556 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2557 + sp:subject
2558 + [ sp:varName "productFlowInMonth"^^xsd:string
2559 + ]
2560 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
2561 + sp:predicate rdf:type ;
2562 + sp:subject
2563 + [ sp:varName "productFlowInMonth"^^xsd:string
2564 + ]
2565 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#PhysicalThingDuringOneMonth> ;
2566 + sp:predicate rdf:type ;
2567 + sp:subject
2568 + [ sp:varName "productFlowInMonth"^^xsd:string
2569 + ]
2570 + ] [ sp:object
2571 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2572 + ] ;
2573 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
2574 + sp:subject
2575 + [ sp:varName "productFlowInMonth"^^xsd:string
2576 + ]
2516 ] [ rdf:type sp:Optional ; 2577 ] [ rdf:type sp:Optional ;
2517 sp:elements ([ sp:object 2578 sp:elements ([ sp:object
2518 [ sp:varName "productionFlowFacility"^^xsd:string 2579 [ sp:varName "productionFlowFacility"^^xsd:string
...@@ -2543,110 +2604,23 @@ mpr-tables:WellProductionFlows ...@@ -2543,110 +2604,23 @@ mpr-tables:WellProductionFlows
2543 ]) 2604 ])
2544 ] [ rdf:type sp:Optional ; 2605 ] [ rdf:type sp:Optional ;
2545 sp:elements ([ sp:object 2606 sp:elements ([ sp:object
2546 - [ sp:varName "productionFlowFacility"^^xsd:string 2607 + [ sp:varName "productFlowInMonthMaterial"^^xsd:string
2547 - ] ;
2548 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2549 - sp:subject
2550 - [ sp:varName "producingWell"^^xsd:string
2551 - ]
2552 - ] [ sp:object
2553 - [ sp:varName "wellStatusType"^^xsd:string
2554 - ] ;
2555 - sp:predicate rdf:type ;
2556 - sp:subject
2557 - [ sp:varName "producingWell"^^xsd:string
2558 - ]
2559 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-well#WellStatusType> ;
2560 - sp:predicate rdf:type ;
2561 - sp:subject
2562 - [ sp:varName "wellStatusType"^^xsd:string
2563 - ]
2564 - ] [ sp:object
2565 - [ sp:varName "wellStatus"^^xsd:string
2566 - ] ;
2567 - sp:predicate rdfs:label ;
2568 - sp:subject
2569 - [ sp:varName "wellStatusType"^^xsd:string
2570 - ]
2571 - ])
2572 - ] [ rdf:type sp:Optional ;
2573 - sp:elements ([ sp:object
2574 - [ sp:varName "productionFlowMixedPart"^^xsd:string
2575 ] ; 2608 ] ;
2576 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 2609 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2577 sp:subject 2610 sp:subject
2578 - [ sp:varName "productFlowMixedPart"^^xsd:string 2611 + [ sp:varName "stateOfMaterialThatFlowsInPeriodVolume"^^xsd:string
2579 - ]
2580 - ] [ sp:object
2581 - [ sp:varName "productFlowMixedPart"^^xsd:string
2582 - ] ;
2583 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
2584 - sp:subject
2585 - [ sp:varName "productionFlowInReportingPeriod"^^xsd:string
2586 - ]
2587 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
2588 - sp:predicate rdf:type ;
2589 - sp:subject
2590 - [ sp:varName "productFlowMixedPart"^^xsd:string
2591 - ]
2592 - ] [ sp:object
2593 - [ sp:varName "productFlowMixedPart"^^xsd:string
2594 - ] ;
2595 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2596 - sp:subject
2597 - [ sp:varName "flowDuringMonth"^^xsd:string
2598 - ]
2599 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowDuringMonth> ;
2600 - sp:predicate rdf:type ;
2601 - sp:subject
2602 - [ sp:varName "flowDuringMonth"^^xsd:string
2603 - ]
2604 - ] [ sp:object
2605 - [ sp:varName "flowDuringMonthMaterial"^^xsd:string
2606 - ] ;
2607 - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
2608 - sp:subject
2609 - [ sp:varName "flowDuringMonth"^^xsd:string
2610 ] 2612 ]
2611 ] [ sp:object 2613 ] [ sp:object
2612 - [ sp:varName "flowDuringMonthMaterial"^^xsd:string 2614 + [ sp:varName "stateVolume"^^xsd:string
2613 - ] ;
2614 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
2615 - sp:subject
2616 - [ sp:varName "stateOfMaterialThatFlowsInPeriod"^^xsd:string
2617 - ]
2618 - ] [ rdf:type sp:Optional ;
2619 - sp:elements ([ sp:object
2620 - [ sp:varName "temperature"^^xsd:string
2621 - ] ;
2622 - sp:predicate rdf:type ;
2623 - sp:subject
2624 - [ sp:varName "stateOfMaterialThatFlowsInPeriod"^^xsd:string
2625 - ]
2626 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
2627 - sp:predicate rdf:type ;
2628 - sp:subject
2629 - [ sp:varName "temperature"^^xsd:string
2630 - ]
2631 - ] [ sp:object
2632 - [ sp:varName "temperatureInCelcius"^^xsd:string
2633 - ] ;
2634 - sp:predicate <http://www.reportinghub.no/ep/schema/core#celsius> ;
2635 - sp:subject
2636 - [ sp:varName "temperature"^^xsd:string
2637 - ]
2638 - ])
2639 - ] [ sp:object
2640 - [ sp:varName "volume"^^xsd:string
2641 ] ; 2615 ] ;
2642 sp:predicate rdf:type ; 2616 sp:predicate rdf:type ;
2643 sp:subject 2617 sp:subject
2644 - [ sp:varName "stateOfMaterialThatFlowsInPeriod"^^xsd:string 2618 + [ sp:varName "stateOfMaterialThatFlowsInPeriodVolume"^^xsd:string
2645 ] 2619 ]
2646 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 2620 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
2647 sp:predicate rdf:type ; 2621 sp:predicate rdf:type ;
2648 sp:subject 2622 sp:subject
2649 - [ sp:varName "volume"^^xsd:string 2623 + [ sp:varName "stateVolume"^^xsd:string
2650 ] 2624 ]
2651 ] [ sp:object 2625 ] [ sp:object
2652 [ sp:varName "volumeValue"^^xsd:string 2626 [ sp:varName "volumeValue"^^xsd:string
...@@ -2655,7 +2629,7 @@ mpr-tables:WellProductionFlows ...@@ -2655,7 +2629,7 @@ mpr-tables:WellProductionFlows
2655 [ sp:varName "volumePredicate"^^xsd:string 2629 [ sp:varName "volumePredicate"^^xsd:string
2656 ] ; 2630 ] ;
2657 sp:subject 2631 sp:subject
2658 - [ sp:varName "volume"^^xsd:string 2632 + [ sp:varName "stateVolume"^^xsd:string
2659 ] 2633 ]
2660 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ; 2634 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
2661 sp:predicate rdf:type ; 2635 sp:predicate rdf:type ;
...@@ -2730,11 +2704,23 @@ mpr-tables:WellProductionFlows ...@@ -2730,11 +2704,23 @@ mpr-tables:WellProductionFlows
2730 ]) 2704 ])
2731 ] [ rdf:type sp:Optional ; 2705 ] [ rdf:type sp:Optional ;
2732 sp:elements ([ sp:object 2706 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
2733 [ sp:varName "productFlowMaterialType"^^xsd:string 2719 [ sp:varName "productFlowMaterialType"^^xsd:string
2734 ] ; 2720 ] ;
2735 sp:predicate rdf:type ; 2721 sp:predicate rdf:type ;
2736 sp:subject 2722 sp:subject
2737 - [ sp:varName "productionFlowMixedPart"^^xsd:string 2723 + [ sp:varName "productFlowWhole"^^xsd:string
2738 ] 2724 ]
2739 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; 2725 ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
2740 sp:predicate rdf:type ; 2726 sp:predicate rdf:type ;
......
...@@ -173,7 +173,7 @@ OPTIONAL { ...@@ -173,7 +173,7 @@ OPTIONAL {
173 173
174 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:GasSales" /> 174 <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:GasSales" />
175 175
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 179
......