David Price

Merge branch 'master' into dpr2-aug30-11am

...@@ -754,39 +754,197 @@ dpr-tables:ProductionVolumes ...@@ -754,39 +754,197 @@ dpr-tables:ProductionVolumes
754 ] ; 754 ] ;
755 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) . 755 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) .
756 756
757 -dpr-tables:WellInformation 757 +dpr-tables:WellFluidLevelTest
758 rdf:type rhspin:TableTemplate ; 758 rdf:type rhspin:TableTemplate ;
759 + rdfs:label "Well Fluid Level Test"^^xsd:string ;
759 rdfs:subClassOf rhspin:DPRTableTemplates ; 760 rdfs:subClassOf rhspin:DPRTableTemplates ;
760 spin:body 761 spin:body
761 [ rdf:type sp:Select ; 762 [ rdf:type sp:Select ;
762 - sp:resultVariables ([ sp:varName "description"^^xsd:string 763 + sp:orderBy ([ sp:varName "wellboreName"^^xsd:string
763 - ] _:b1 [ sp:varName "choke"^^xsd:string 764 + ] [ sp:varName "activityStart"^^xsd:string
764 - ] [ sp:varName "prod"^^xsd:string 765 + ]) ;
766 + sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
767 + ] [ sp:varName "wellTestTypeName"^^xsd:string
768 + ] [ sp:varName "wellTestReasonTypeName"^^xsd:string
769 + ] [ sp:varName "activityStart"^^xsd:string
770 + ] [ sp:varName "wellTestName"^^xsd:string
771 + ] [ sp:varName "fluidLevelValue"^^xsd:string
772 + ] [ sp:varName "depthUsableWaterValue"^^xsd:string
773 + ] [ sp:varName "fluidLevelTestPerformerName"^^xsd:string
765 ]) ; 774 ]) ;
766 - sp:where ([ sp:object _:b2 ; 775 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
776 + sp:predicate rdf:type ;
777 + sp:subject
778 + [ sp:varName "productionReport"^^xsd:string
779 + ]
780 + ] [ sp:object
781 + [ sp:varName "productionReport"^^xsd:string
782 + ] ;
783 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
784 + sp:subject
785 + [ sp:varName "wellTestReport"^^xsd:string
786 + ]
787 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
788 + sp:predicate rdf:type ;
789 + sp:subject
790 + [ sp:varName "wellTestReport"^^xsd:string
791 + ]
792 + ] [ sp:object
793 + [ sp:varName "wellTest"^^xsd:string
794 + ] ;
767 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; 795 sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
768 sp:subject 796 sp:subject
769 - [ sp:varName "report"^^xsd:string 797 + [ sp:varName "wellTestReport"^^xsd:string
770 ] 798 ]
771 - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> ; 799 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
772 sp:predicate rdf:type ; 800 sp:predicate rdf:type ;
773 - sp:subject _:b2 801 + sp:subject
774 - ] [ sp:object _:b3 ; 802 + [ sp:varName "wellTest"^^xsd:string
803 + ]
804 + ] [ sp:object
805 + [ sp:varName "wellTestPart"^^xsd:string
806 + ] ;
775 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 807 sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
776 - sp:subject _:b2 808 + sp:subject
777 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductionOperationsActivity> ; 809 + [ sp:varName "wellTest"^^xsd:string
810 + ]
811 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidLevelTest> ;
812 + sp:predicate rdf:type ;
813 + sp:subject
814 + [ sp:varName "wellTestPart"^^xsd:string
815 + ]
816 + ] [ rdf:type sp:Optional ;
817 + sp:elements ([ sp:object
818 + [ sp:varName "wellTestName"^^xsd:string
819 + ] ;
820 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
821 + sp:subject
822 + [ sp:varName "wellTest"^^xsd:string
823 + ]
824 + ])
825 + ] [ sp:object
826 + [ sp:varName "wellborePart"^^xsd:string
827 + ] ;
828 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
829 + sp:subject
830 + [ sp:varName "wellTest"^^xsd:string
831 + ]
832 + ] [ sp:object
833 + [ sp:varName "wellbore"^^xsd:string
834 + ] ;
835 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
836 + sp:subject
837 + [ sp:varName "wellborePart"^^xsd:string
838 + ]
839 + ] [ sp:object
840 + [ sp:varName "wellboreName"^^xsd:string
841 + ] ;
842 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
843 + sp:subject
844 + [ sp:varName "wellbore"^^xsd:string
845 + ]
846 + ] [ rdf:type sp:Optional ;
847 + sp:elements ([ sp:object
848 + [ sp:varName "activityStart"^^xsd:string
849 + ] ;
850 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
851 + sp:subject
852 + [ sp:varName "wellTest"^^xsd:string
853 + ]
854 + ])
855 + ] [ rdf:type sp:Optional ;
856 + sp:elements ([ sp:object
857 + [ sp:varName "wellTestType"^^xsd:string
858 + ] ;
859 + sp:predicate rdf:type ;
860 + sp:subject
861 + [ sp:varName "wellTest"^^xsd:string
862 + ]
863 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
864 + sp:predicate rdf:type ;
865 + sp:subject
866 + [ sp:varName "wellTestType"^^xsd:string
867 + ]
868 + ] [ sp:object
869 + [ sp:varName "wellTestTypeName"^^xsd:string
870 + ] ;
871 + sp:predicate rdfs:label ;
872 + sp:subject
873 + [ sp:varName "wellTestType"^^xsd:string
874 + ]
875 + ])
876 + ] [ rdf:type sp:Optional ;
877 + sp:elements ([ sp:object
878 + [ sp:varName "wellTestReasonType"^^xsd:string
879 + ] ;
880 + sp:predicate rdf:type ;
881 + sp:subject
882 + [ sp:varName "wellTest"^^xsd:string
883 + ]
884 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WellTestReasonType> ;
778 sp:predicate rdf:type ; 885 sp:predicate rdf:type ;
779 - sp:subject _:b3 886 + sp:subject
887 + [ sp:varName "wellTestReasonType"^^xsd:string
888 + ]
889 + ] [ sp:object
890 + [ sp:varName "wellTestReasonTypeName"^^xsd:string
891 + ] ;
892 + sp:predicate rdfs:label ;
893 + sp:subject
894 + [ sp:varName "wellTestReasonType"^^xsd:string
895 + ]
896 + ])
780 ] [ rdf:type sp:Optional ; 897 ] [ rdf:type sp:Optional ;
781 - sp:elements ([ sp:object _:b1 ; 898 + sp:elements ([ sp:object
782 - sp:predicate <http://www.reportinghub.no/ep/schema/production-facility#numberOfOwnCrew> ; 899 + [ sp:varName "wellborePartFluid"^^xsd:string
900 + ] ;
901 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
783 sp:subject 902 sp:subject
784 - [ sp:varName "act"^^xsd:string 903 + [ sp:varName "wellborePart"^^xsd:string
904 + ]
905 + ] [ rdf:type sp:Optional ;
906 + sp:elements ([ sp:object
907 + [ sp:varName "depthUsableWater"^^xsd:string
908 + ] ;
909 + sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfBaseUsableWaterFromSurface> ;
910 + sp:subject
911 + [ sp:varName "wellborePartFluid"^^xsd:string
912 + ]
913 + ] [ sp:object
914 + [ sp:varName "depthUsableWaterValue"^^xsd:string
915 + ] ;
916 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ;
917 + sp:subject
918 + [ sp:varName "depthUsableWater"^^xsd:string
919 + ]
920 + ])
921 + ])
922 + ] [ rdf:type sp:Optional ;
923 + sp:elements ([ sp:object
924 + [ sp:varName "fluidLevelTestPerformerPart"^^xsd:string
925 + ] ;
926 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#performedByPersonOrOrganization> ;
927 + sp:subject
928 + [ sp:varName "wellTestPart"^^xsd:string
929 + ]
930 + ] [ sp:object
931 + [ sp:varName "fluidLevelTestPerformerWhole"^^xsd:string
932 + ] ;
933 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
934 + sp:subject
935 + [ sp:varName "fluidLevelTestPerformerPart"^^xsd:string
936 + ]
937 + ] [ sp:object
938 + [ sp:varName "fluidLevelTestPerformerName"^^xsd:string
939 + ] ;
940 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
941 + sp:subject
942 + [ sp:varName "fluidLevelTestPerformerWhole"^^xsd:string
785 ] 943 ]
786 ]) 944 ])
787 ]) 945 ])
788 ] ; 946 ] ;
789 - rhspin:tableHeaders ("Description"^^xsd:string "Oil Net m3"^^xsd:string "Choke %"^^xsd:string "Prod Hours"^^xsd:string) . 947 + rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Description "^^xsd:string "Fluid Level m"^^xsd:string "Usable Water Depth m"^^xsd:string "Fluid Level Test Performer"^^xsd:string) .
790 948
791 dpr-tables:WellInjectionTest 949 dpr-tables:WellInjectionTest
792 rdf:type rhspin:TableTemplate ; 950 rdf:type rhspin:TableTemplate ;
...@@ -1310,9 +1468,9 @@ dpr-tables:WellInjectionTestResults ...@@ -1310,9 +1468,9 @@ dpr-tables:WellInjectionTestResults
1310 m3"""^^xsd:string """Density 1468 m3"""^^xsd:string """Density
1311 kg/m3"""^^xsd:string) . 1469 kg/m3"""^^xsd:string) .
1312 1470
1313 -dpr-tables:WellTest 1471 +dpr-tables:WellProductionTest
1314 rdf:type rhspin:TableTemplate ; 1472 rdf:type rhspin:TableTemplate ;
1315 - rdfs:label "Well Test Report"^^xsd:string ; 1473 + rdfs:label "Well Production Test"^^xsd:string ;
1316 rdfs:subClassOf rhspin:DPRTableTemplates ; 1474 rdfs:subClassOf rhspin:DPRTableTemplates ;
1317 spin:body 1475 spin:body
1318 [ rdf:type sp:Select ; 1476 [ rdf:type sp:Select ;
...@@ -1321,13 +1479,9 @@ dpr-tables:WellTest ...@@ -1321,13 +1479,9 @@ dpr-tables:WellTest
1321 ]) ; 1479 ]) ;
1322 sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string 1480 sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
1323 ] [ sp:varName "wellTestTypeName"^^xsd:string 1481 ] [ sp:varName "wellTestTypeName"^^xsd:string
1324 - ] [ sp:varName "activityStart"^^xsd:string
1325 - ] [ sp:varName "predecessorAt"^^xsd:string
1326 - ] [ sp:varName "validPredecessorAt"^^xsd:string
1327 ] [ sp:varName "wellTestReasonTypeName"^^xsd:string 1482 ] [ sp:varName "wellTestReasonTypeName"^^xsd:string
1328 - ] [ sp:varName "depthFromTopValue"^^xsd:string 1483 + ] [ sp:varName "activityStart"^^xsd:string
1329 - ] [ sp:varName "depthUsableWaterValue"^^xsd:string 1484 + ] [ sp:varName "wellTestName"^^xsd:string
1330 - ] [ sp:varName "fluidLevelTestPerformerName"^^xsd:string
1331 ]) ; 1485 ]) ;
1332 sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; 1486 sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
1333 sp:predicate rdf:type ; 1487 sp:predicate rdf:type ;
...@@ -1359,6 +1513,27 @@ dpr-tables:WellTest ...@@ -1359,6 +1513,27 @@ dpr-tables:WellTest
1359 [ sp:varName "wellTest"^^xsd:string 1513 [ sp:varName "wellTest"^^xsd:string
1360 ] 1514 ]
1361 ] [ sp:object 1515 ] [ sp:object
1516 + [ sp:varName "wellTestPart"^^xsd:string
1517 + ] ;
1518 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1519 + sp:subject
1520 + [ sp:varName "wellTest"^^xsd:string
1521 + ]
1522 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> ;
1523 + sp:predicate rdf:type ;
1524 + sp:subject
1525 + [ sp:varName "wellTestPart"^^xsd:string
1526 + ]
1527 + ] [ rdf:type sp:Optional ;
1528 + sp:elements ([ sp:object
1529 + [ sp:varName "wellTestName"^^xsd:string
1530 + ] ;
1531 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
1532 + sp:subject
1533 + [ sp:varName "wellTest"^^xsd:string
1534 + ]
1535 + ])
1536 + ] [ sp:object
1362 [ sp:varName "wellborePart"^^xsd:string 1537 [ sp:varName "wellborePart"^^xsd:string
1363 ] ; 1538 ] ;
1364 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; 1539 sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
...@@ -1372,11 +1547,6 @@ dpr-tables:WellTest ...@@ -1372,11 +1547,6 @@ dpr-tables:WellTest
1372 sp:subject 1547 sp:subject
1373 [ sp:varName "wellborePart"^^xsd:string 1548 [ sp:varName "wellborePart"^^xsd:string
1374 ] 1549 ]
1375 - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ;
1376 - sp:predicate rdf:type ;
1377 - sp:subject
1378 - [ sp:varName "wellbore"^^xsd:string
1379 - ]
1380 ] [ sp:object 1550 ] [ sp:object
1381 [ sp:varName "wellboreName"^^xsd:string 1551 [ sp:varName "wellboreName"^^xsd:string
1382 ] ; 1552 ] ;
...@@ -1393,7 +1563,8 @@ dpr-tables:WellTest ...@@ -1393,7 +1563,8 @@ dpr-tables:WellTest
1393 [ sp:varName "wellTest"^^xsd:string 1563 [ sp:varName "wellTest"^^xsd:string
1394 ] 1564 ]
1395 ]) 1565 ])
1396 - ] [ sp:object 1566 + ] [ rdf:type sp:Optional ;
1567 + sp:elements ([ sp:object
1397 [ sp:varName "wellTestType"^^xsd:string 1568 [ sp:varName "wellTestType"^^xsd:string
1398 ] ; 1569 ] ;
1399 sp:predicate rdf:type ; 1570 sp:predicate rdf:type ;
...@@ -1412,6 +1583,7 @@ dpr-tables:WellTest ...@@ -1412,6 +1583,7 @@ dpr-tables:WellTest
1412 sp:subject 1583 sp:subject
1413 [ sp:varName "wellTestType"^^xsd:string 1584 [ sp:varName "wellTestType"^^xsd:string
1414 ] 1585 ]
1586 + ])
1415 ] [ rdf:type sp:Optional ; 1587 ] [ rdf:type sp:Optional ;
1416 sp:elements ([ sp:object 1588 sp:elements ([ sp:object
1417 [ sp:varName "wellTestReasonType"^^xsd:string 1589 [ sp:varName "wellTestReasonType"^^xsd:string
...@@ -1433,120 +1605,220 @@ dpr-tables:WellTest ...@@ -1433,120 +1605,220 @@ dpr-tables:WellTest
1433 [ sp:varName "wellTestReasonType"^^xsd:string 1605 [ sp:varName "wellTestReasonType"^^xsd:string
1434 ] 1606 ]
1435 ]) 1607 ])
1436 - ] [ rdf:type sp:Optional ; 1608 + ])
1437 - sp:elements ([ sp:object
1438 - [ sp:varName "predecessor"^^xsd:string
1439 ] ; 1609 ] ;
1440 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor> ; 1610 + rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Description "^^xsd:string) .
1611 +
1612 +dpr-tables:WellTest
1613 + rdf:type rhspin:TableTemplate ;
1614 + rdfs:label "Well Test Report Summary"^^xsd:string ;
1615 + rdfs:subClassOf rhspin:DPRTableTemplates ;
1616 + spin:body
1617 + [ rdf:type sp:Select ;
1618 + sp:orderBy ([ sp:varName "wellboreName"^^xsd:string
1619 + ] [ sp:varName "activityStart"^^xsd:string
1620 + ]) ;
1621 + sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
1622 + ] [ sp:varName "wellTestTypeName"^^xsd:string
1623 + ] [ sp:varName "wellTestPartActiivityName"^^xsd:string
1624 + ] [ sp:varName "wellTestReasonTypeName"^^xsd:string
1625 + ] [ sp:varName "activityStart"^^xsd:string
1626 + ] [ sp:varName "durationValue"^^xsd:string
1627 + ] [ sp:varName "wellTestName"^^xsd:string
1628 + ] [ sp:varName "predecessorAt"^^xsd:string
1629 + ] [ sp:varName "validPredecessorAt"^^xsd:string
1630 + ]) ;
1631 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
1632 + sp:predicate rdf:type ;
1441 sp:subject 1633 sp:subject
1442 - [ sp:varName "wellTest"^^xsd:string 1634 + [ sp:varName "productionReport"^^xsd:string
1443 ] 1635 ]
1444 ] [ sp:object 1636 ] [ sp:object
1445 - [ sp:varName "predecessorAt"^^xsd:string 1637 + [ sp:varName "productionReport"^^xsd:string
1446 ] ; 1638 ] ;
1447 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; 1639 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
1448 sp:subject 1640 sp:subject
1449 - [ sp:varName "predecessor"^^xsd:string 1641 + [ sp:varName "wellTestReport"^^xsd:string
1642 + ]
1643 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
1644 + sp:predicate rdf:type ;
1645 + sp:subject
1646 + [ sp:varName "wellTestReport"^^xsd:string
1647 + ]
1648 + ] [ sp:object
1649 + [ sp:varName "wellTest"^^xsd:string
1650 + ] ;
1651 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
1652 + sp:subject
1653 + [ sp:varName "wellTestReport"^^xsd:string
1450 ] 1654 ]
1451 - ])
1452 ] [ rdf:type sp:Optional ; 1655 ] [ rdf:type sp:Optional ;
1453 sp:elements ([ sp:object 1656 sp:elements ([ sp:object
1454 - [ sp:varName "validPredecessor"^^xsd:string 1657 + [ sp:varName "wellTestName"^^xsd:string
1455 ] ; 1658 ] ;
1456 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor> ; 1659 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
1660 + sp:subject
1661 + [ sp:varName "wellTest"^^xsd:string
1662 + ]
1663 + ])
1664 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
1665 + sp:predicate rdf:type ;
1457 sp:subject 1666 sp:subject
1458 [ sp:varName "wellTest"^^xsd:string 1667 [ sp:varName "wellTest"^^xsd:string
1459 ] 1668 ]
1460 ] [ sp:object 1669 ] [ sp:object
1461 - [ sp:varName "validPredecessorAt"^^xsd:string 1670 + [ sp:varName "wellborePart"^^xsd:string
1462 ] ; 1671 ] ;
1463 - sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ; 1672 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ;
1464 sp:subject 1673 sp:subject
1465 - [ sp:varName "validPredecessor"^^xsd:string 1674 + [ sp:varName "wellTest"^^xsd:string
1675 + ]
1676 + ] [ sp:object
1677 + [ sp:varName "wellbore"^^xsd:string
1678 + ] ;
1679 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1680 + sp:subject
1681 + [ sp:varName "wellborePart"^^xsd:string
1682 + ]
1683 + ] [ sp:object
1684 + [ sp:varName "wellboreName"^^xsd:string
1685 + ] ;
1686 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1687 + sp:subject
1688 + [ sp:varName "wellbore"^^xsd:string
1466 ] 1689 ]
1467 - ])
1468 ] [ rdf:type sp:Optional ; 1690 ] [ rdf:type sp:Optional ;
1469 sp:elements ([ sp:object 1691 sp:elements ([ sp:object
1470 - [ sp:varName "wellborePartFluid"^^xsd:string 1692 + [ sp:varName "wellTestPart"^^xsd:string
1471 ] ; 1693 ] ;
1472 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ; 1694 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
1473 sp:subject 1695 sp:subject
1474 - [ sp:varName "wellborePart"^^xsd:string 1696 + [ sp:varName "wellTest"^^xsd:string
1475 ] 1697 ]
1476 ] [ rdf:type sp:Optional ; 1698 ] [ rdf:type sp:Optional ;
1477 sp:elements ([ sp:object 1699 sp:elements ([ sp:object
1478 - [ sp:varName "depthFromTop"^^xsd:string 1700 + [ sp:varName "duration"^^xsd:string
1479 ] ; 1701 ] ;
1480 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfFluidSurfaceFromTopOfWell> ; 1702 + sp:predicate rdf:type ;
1481 sp:subject 1703 sp:subject
1482 - [ sp:varName "wellborePartFluid"^^xsd:string 1704 + [ sp:varName "wellTestPart"^^xsd:string
1705 + ]
1706 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
1707 + sp:predicate rdf:type ;
1708 + sp:subject
1709 + [ sp:varName "duration"^^xsd:string
1483 ] 1710 ]
1484 ] [ sp:object 1711 ] [ sp:object
1485 - [ sp:varName "depthFromTopValue"^^xsd:string 1712 + [ sp:varName "durationValue"^^xsd:string
1486 ] ; 1713 ] ;
1487 - sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; 1714 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hour> ;
1488 sp:subject 1715 sp:subject
1489 - [ sp:varName "depthFromTop"^^xsd:string 1716 + [ sp:varName "duration"^^xsd:string
1490 ] 1717 ]
1491 ]) 1718 ])
1492 ] [ rdf:type sp:Optional ; 1719 ] [ rdf:type sp:Optional ;
1493 sp:elements ([ sp:object 1720 sp:elements ([ sp:object
1494 - [ sp:varName "depthUsableWater"^^xsd:string 1721 + [ sp:varName "productionActivity"^^xsd:string
1495 ] ; 1722 ] ;
1496 - sp:predicate <http://www.reportinghub.no/ep/schema/production-well#depthOfBaseUsableWaterFromSurface> ; 1723 + sp:predicate rdf:type ;
1497 sp:subject 1724 sp:subject
1498 - [ sp:varName "wellborePartFluid"^^xsd:string 1725 + [ sp:varName "wellTestPart"^^xsd:string
1726 + ]
1727 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
1728 + sp:predicate rdfs:subClassOf ;
1729 + sp:subject
1730 + [ sp:varName "productionActivity"^^xsd:string
1499 ] 1731 ]
1500 ] [ sp:object 1732 ] [ sp:object
1501 - [ sp:varName "depthUsableWaterValue"^^xsd:string 1733 + [ sp:varName "wellTestPartActiivityName"^^xsd:string
1502 ] ; 1734 ] ;
1503 - sp:predicate <http://www.reportinghub.no/ep/schema/core#metre> ; 1735 + sp:predicate rdfs:label ;
1504 sp:subject 1736 sp:subject
1505 - [ sp:varName "depthUsableWater"^^xsd:string 1737 + [ sp:varName "productionActivity"^^xsd:string
1506 ] 1738 ]
1507 ]) 1739 ])
1508 ]) 1740 ])
1509 ] [ rdf:type sp:Optional ; 1741 ] [ rdf:type sp:Optional ;
1510 sp:elements ([ sp:object 1742 sp:elements ([ sp:object
1511 - [ sp:varName "fluidLevelTest"^^xsd:string 1743 + [ sp:varName "activityStart"^^xsd:string
1512 ] ; 1744 ] ;
1513 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 1745 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1514 sp:subject 1746 sp:subject
1515 [ sp:varName "wellTest"^^xsd:string 1747 [ sp:varName "wellTest"^^xsd:string
1516 ] 1748 ]
1517 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidLevelTest> ; 1749 + ])
1750 + ] [ sp:object
1751 + [ sp:varName "wellTestType"^^xsd:string
1752 + ] ;
1753 + sp:predicate rdf:type ;
1754 + sp:subject
1755 + [ sp:varName "wellTest"^^xsd:string
1756 + ]
1757 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
1518 sp:predicate rdf:type ; 1758 sp:predicate rdf:type ;
1519 sp:subject 1759 sp:subject
1520 - [ sp:varName "fluidLevelTest"^^xsd:string 1760 + [ sp:varName "wellTestType"^^xsd:string
1521 ] 1761 ]
1522 ] [ sp:object 1762 ] [ sp:object
1523 - [ sp:varName "fluidLevelTestPerformerPart"^^xsd:string 1763 + [ sp:varName "wellTestTypeName"^^xsd:string
1524 ] ; 1764 ] ;
1525 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#performedByPersonOrOrganization> ; 1765 + sp:predicate rdfs:label ;
1766 + sp:subject
1767 + [ sp:varName "wellTestType"^^xsd:string
1768 + ]
1769 + ] [ rdf:type sp:Optional ;
1770 + sp:elements ([ sp:object
1771 + [ sp:varName "wellTestReasonType"^^xsd:string
1772 + ] ;
1773 + sp:predicate rdf:type ;
1526 sp:subject 1774 sp:subject
1527 - [ sp:varName "fluidLevelTest"^^xsd:string 1775 + [ sp:varName "wellTest"^^xsd:string
1776 + ]
1777 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WellTestReasonType> ;
1778 + sp:predicate rdf:type ;
1779 + sp:subject
1780 + [ sp:varName "wellTestReasonType"^^xsd:string
1528 ] 1781 ]
1529 ] [ sp:object 1782 ] [ sp:object
1530 - [ sp:varName "fluidLevelTestPerformerWhole"^^xsd:string 1783 + [ sp:varName "wellTestReasonTypeName"^^xsd:string
1531 ] ; 1784 ] ;
1532 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 1785 + sp:predicate rdfs:label ;
1533 sp:subject 1786 sp:subject
1534 - [ sp:varName "fluidLevelTestPerformerPart"^^xsd:string 1787 + [ sp:varName "wellTestReasonType"^^xsd:string
1788 + ]
1789 + ])
1790 + ] [ rdf:type sp:Optional ;
1791 + sp:elements ([ sp:object
1792 + [ sp:varName "predecessor"^^xsd:string
1793 + ] ;
1794 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor> ;
1795 + sp:subject
1796 + [ sp:varName "wellTest"^^xsd:string
1535 ] 1797 ]
1536 ] [ sp:object 1798 ] [ sp:object
1537 - [ sp:varName "fluidLevelTestPerformerName"^^xsd:string 1799 + [ sp:varName "predecessorAt"^^xsd:string
1538 ] ; 1800 ] ;
1539 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 1801 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1540 sp:subject 1802 sp:subject
1541 - [ sp:varName "fluidLevelTestPerformerWhole"^^xsd:string 1803 + [ sp:varName "predecessor"^^xsd:string
1804 + ]
1805 + ])
1806 + ] [ rdf:type sp:Optional ;
1807 + sp:elements ([ sp:object
1808 + [ sp:varName "validPredecessor"^^xsd:string
1809 + ] ;
1810 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor> ;
1811 + sp:subject
1812 + [ sp:varName "wellTest"^^xsd:string
1813 + ]
1814 + ] [ sp:object
1815 + [ sp:varName "validPredecessorAt"^^xsd:string
1816 + ] ;
1817 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1818 + sp:subject
1819 + [ sp:varName "validPredecessor"^^xsd:string
1542 ] 1820 ]
1543 ]) 1821 ])
1544 ]) 1822 ])
1545 ] ; 1823 ] ;
1546 - rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Started or Nominally At"^^xsd:string "Predecessor At"^^xsd:string "Last Valid At"^^xsd:string "Reason"^^xsd:string "Fluid Surface Depth m"^^xsd:string "Usable Water Depth"^^xsd:string "Fluid Level Test Performer"^^xsd:string) . 1824 + rhspin:tableHeaders ("Wellbore"^^xsd:string "Test Type"^^xsd:string "Activity"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Duration hr"^^xsd:string "Description "^^xsd:string "Predecessor At"^^xsd:string "Last Valid At"^^xsd:string) .
1547 -
1548 -_:b2 sp:varName "dailyProductionActivity"^^xsd:string .
1549 -
1550 -_:b1 sp:varName "oilNet"^^xsd:string .
1551 -
1552 -_:b3 sp:varName "productionOperationsActivity"^^xsd:string .
......
...@@ -22,62 +22,7 @@ arg:kindRef ...@@ -22,62 +22,7 @@ arg:kindRef
22 rdfs:label "kind ref"^^xsd:string ; 22 rdfs:label "kind ref"^^xsd:string ;
23 rdfs:subPropertyOf sp:arg . 23 rdfs:subPropertyOf sp:arg .
24 24
25 -<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> 25 +<http://www.epim.no/schemas/mprml/1#Cs_wellContext>
26 - spin:constraint
27 - [ rdf:type mpr-proxy-constraints:CheckName ;
28 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
29 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
30 - ] ;
31 - spin:constraint
32 - [ rdf:type mpr-proxy-constraints:CheckName ;
33 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
34 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
35 - ] ;
36 - spin:constraint
37 - [ rdf:type mpr-proxy-constraints:CheckId ;
38 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
39 - arg:type <http://www.reportinghub.no/ep/schema/well#WellBore>
40 - ] ;
41 - spin:constraint
42 - [ rdf:type mpr-proxy-constraints:CheckId ;
43 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
44 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
45 - ] ;
46 - spin:constraint
47 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
48 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
49 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
50 - ] ;
51 - spin:constraint
52 - [ rdf:type mpr-proxy-constraints:CheckId ;
53 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
54 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
55 - ] ;
56 - spin:constraint
57 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
58 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
59 - arg:type <http://www.reportinghub.no/ep/schema/well#WellBore>
60 - ] ;
61 - spin:constraint
62 - [ rdf:type mpr-proxy-constraints:CheckId ;
63 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
64 - arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
65 - ] ;
66 - spin:constraint
67 - [ rdf:type mpr-proxy-constraints:CheckName ;
68 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
69 - arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
70 - ] ;
71 - spin:constraint
72 - [ rdf:type mpr-proxy-constraints:CheckName ;
73 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
74 - arg:type <http://www.reportinghub.no/ep/schema/well#WellBore>
75 - ] ;
76 - spin:constraint
77 - [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
78 - arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
79 - arg:type <http://www.reportinghub.no/ep/schema/facility#Platform>
80 - ] ;
81 spin:constraint 26 spin:constraint
82 [ rdf:type sp:Construct ; 27 [ rdf:type sp:Construct ;
83 sp:templates ([ sp:object spin:ConstraintViolation ; 28 sp:templates ([ sp:object spin:ConstraintViolation ;
...@@ -89,34 +34,65 @@ arg:kindRef ...@@ -89,34 +34,65 @@ arg:kindRef
89 sp:predicate rdfs:label ; 34 sp:predicate rdfs:label ;
90 sp:subject _:b1 35 sp:subject _:b1
91 ]) ; 36 ]) ;
92 - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ; 37 + sp:where ([ sp:object
93 - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; 38 + [ sp:varName "struct"^^xsd:string
39 + ] ;
40 + sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ;
94 sp:subject spin:_this 41 sp:subject spin:_this
42 + ] [ sp:object "NPD"^^xsd:string ;
43 + sp:predicate <http://www.epim.no/schemas/mprml/1#namingSystem> ;
44 + sp:subject
45 + [ sp:varName "struct"^^xsd:string
46 + ]
95 ] [ sp:object 47 ] [ sp:object
96 - [ sp:varName "fieldName"^^xsd:string 48 + [ sp:varName "name"^^xsd:string
97 ] ; 49 ] ;
98 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 50 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
99 - sp:subject spin:_this 51 + sp:subject
52 + [ sp:varName "struct"^^xsd:string
53 + ]
54 + ] [ rdf:type sp:Bind ;
55 + sp:expression
56 + [ rdf:type rhspin:npdIndividualByName ;
57 + arg:name
58 + [ sp:varName "name"^^xsd:string
59 + ] ;
60 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
61 + ] ;
62 + sp:variable
63 + [ sp:varName "npd"^^xsd:string
64 + ]
100 ] [ rdf:type sp:Filter ; 65 ] [ rdf:type sp:Filter ;
101 sp:expression 66 sp:expression
102 [ rdf:type sp:not ; 67 [ rdf:type sp:not ;
103 - sp:arg1 [ rdf:type rhspin:currentUserIsOperatorOfFieldWithName ; 68 + sp:arg1 [ rdf:type sp:bound ;
104 - arg:fieldName 69 + sp:arg1 [ sp:varName "npd"^^xsd:string
105 - [ sp:varName "fieldName"^^xsd:string
106 ] 70 ]
107 ] 71 ]
108 ] 72 ]
109 ] [ rdf:type sp:Bind ; 73 ] [ rdf:type sp:Bind ;
110 sp:expression 74 sp:expression
111 [ rdf:type fn:concat ; 75 [ rdf:type fn:concat ;
112 - sp:arg1 "Your company is not the operator of field with name " ; 76 + sp:arg1 "[RH-19] Invalid Field name " ;
113 - sp:arg2 [ sp:varName "fieldName"^^xsd:string 77 + sp:arg2 [ sp:varName "name"^^xsd:string
114 ] 78 ]
115 ] ; 79 ] ;
116 sp:variable 80 sp:variable
117 [ sp:varName "message"^^xsd:string 81 [ sp:varName "message"^^xsd:string
118 ] 82 ]
119 ]) 83 ])
84 + ] .
85 +
86 +<http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct>
87 + spin:constraint
88 + [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
89 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
90 + arg:type <http://www.reportinghub.no/ep/schema/facility#Platform>
91 + ] ;
92 + spin:constraint
93 + [ rdf:type mpr-proxy-constraints:CheckId ;
94 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
95 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
120 ] ; 96 ] ;
121 spin:constraint 97 spin:constraint
122 [ rdf:type sp:Construct ; 98 [ rdf:type sp:Construct ;
...@@ -175,9 +151,94 @@ arg:kindRef ...@@ -175,9 +151,94 @@ arg:kindRef
175 ]) 151 ])
176 ] ; 152 ] ;
177 spin:constraint 153 spin:constraint
154 + [ rdf:type sp:Construct ;
155 + sp:templates ([ sp:object spin:ConstraintViolation ;
156 + sp:predicate rdf:type ;
157 + sp:subject _:b3
158 + ] [ sp:object
159 + [ sp:varName "message"^^xsd:string
160 + ] ;
161 + sp:predicate rdfs:label ;
162 + sp:subject _:b3
163 + ]) ;
164 + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ;
165 + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ;
166 + sp:subject spin:_this
167 + ] [ sp:object
168 + [ sp:varName "fieldName"^^xsd:string
169 + ] ;
170 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
171 + sp:subject spin:_this
172 + ] [ rdf:type sp:Filter ;
173 + sp:expression
174 + [ rdf:type sp:not ;
175 + sp:arg1 [ rdf:type rhspin:currentUserIsOperatorOfFieldWithName ;
176 + arg:fieldName
177 + [ sp:varName "fieldName"^^xsd:string
178 + ]
179 + ]
180 + ]
181 + ] [ rdf:type sp:Bind ;
182 + sp:expression
183 + [ rdf:type fn:concat ;
184 + sp:arg1 "Your company is not the operator of field with name " ;
185 + sp:arg2 [ sp:varName "fieldName"^^xsd:string
186 + ]
187 + ] ;
188 + sp:variable
189 + [ sp:varName "message"^^xsd:string
190 + ]
191 + ])
192 + ] ;
193 + spin:constraint
194 + [ rdf:type mpr-proxy-constraints:CheckId ;
195 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
196 + arg:type <http://www.reportinghub.no/ep/schema/well#WellBore>
197 + ] ;
198 + spin:constraint
199 + [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
200 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
201 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
202 + ] ;
203 + spin:constraint
204 + [ rdf:type mpr-proxy-constraints:CheckName ;
205 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
206 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
207 + ] ;
208 + spin:constraint
209 + [ rdf:type mpr-proxy-constraints:CheckId ;
210 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_platform> ;
211 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
212 + ] ;
213 + spin:constraint
214 + [ rdf:type mpr-proxy-constraints:CheckName ;
215 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
216 + arg:type <http://www.reportinghub.no/ep/schema/well#WellBore>
217 + ] ;
218 + spin:constraint
219 + [ rdf:type mpr-proxy-constraints:CheckName ;
220 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
221 + arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
222 + ] ;
223 + spin:constraint
224 + [ rdf:type mpr-proxy-constraints:CheckName ;
225 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
226 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
227 + ] ;
228 + spin:constraint
178 [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ; 229 [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
179 arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ; 230 arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_terminal> ;
180 arg:type <http://www.reportinghub.no/ep/schema/facility#Facility> 231 arg:type <http://www.reportinghub.no/ep/schema/facility#Facility>
232 + ] ;
233 + spin:constraint
234 + [ rdf:type mpr-proxy-constraints:CheckId ;
235 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_field> ;
236 + arg:type <http://www.reportinghub.no/ep/schema/facility#Field>
237 + ] ;
238 + spin:constraint
239 + [ rdf:type mpr-proxy-constraints:CheckIdAndNameMatch ;
240 + arg:kindRef <http://www.epim.no/schemas/mprml/1#RF_wellbore> ;
241 + arg:type <http://www.reportinghub.no/ep/schema/well#WellBore>
181 ] . 242 ] .
182 243
183 <http://www.epim.no/schemas/mprml/1#Obj_productVolume> 244 <http://www.epim.no/schemas/mprml/1#Obj_productVolume>
...@@ -185,12 +246,12 @@ arg:kindRef ...@@ -185,12 +246,12 @@ arg:kindRef
185 [ rdf:type sp:Construct ; 246 [ rdf:type sp:Construct ;
186 sp:templates ([ sp:object spin:ConstraintViolation ; 247 sp:templates ([ sp:object spin:ConstraintViolation ;
187 sp:predicate rdf:type ; 248 sp:predicate rdf:type ;
188 - sp:subject _:b3 249 + sp:subject _:b4
189 ] [ sp:object 250 ] [ sp:object
190 [ sp:varName "message"^^xsd:string 251 [ sp:varName "message"^^xsd:string
191 ] ; 252 ] ;
192 sp:predicate rdfs:label ; 253 sp:predicate rdfs:label ;
193 - sp:subject _:b3 254 + sp:subject _:b4
194 ]) ; 255 ]) ;
195 sp:where ([ rdf:type sp:TriplePath ; 256 sp:where ([ rdf:type sp:TriplePath ;
196 sp:object 257 sp:object
...@@ -236,7 +297,7 @@ arg:kindRef ...@@ -236,7 +297,7 @@ arg:kindRef
236 <http://www.reportinghub.no/ep/spin/mpr-proxy-constraints> 297 <http://www.reportinghub.no/ep/spin/mpr-proxy-constraints>
237 rdf:type owl:Ontology ; 298 rdf:type owl:Ontology ;
238 rdfs:comment "Collection of constraints that are executed on the SXML proxy ontology for MPR schema based reports."^^xsd:string ; 299 rdfs:comment "Collection of constraints that are executed on the SXML proxy ontology for MPR schema based reports."^^xsd:string ;
239 - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ; 300 + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/spin/rh> ;
240 owl:versionInfo "0.1.0"^^xsd:string . 301 owl:versionInfo "0.1.0"^^xsd:string .
241 302
242 mpr-proxy-constraints:CheckId 303 mpr-proxy-constraints:CheckId
...@@ -247,12 +308,12 @@ mpr-proxy-constraints:CheckId ...@@ -247,12 +308,12 @@ mpr-proxy-constraints:CheckId
247 [ rdf:type sp:Construct ; 308 [ rdf:type sp:Construct ;
248 sp:templates ([ sp:object spin:ConstraintViolation ; 309 sp:templates ([ sp:object spin:ConstraintViolation ;
249 sp:predicate rdf:type ; 310 sp:predicate rdf:type ;
250 - sp:subject _:b4 311 + sp:subject _:b5
251 ] [ sp:object 312 ] [ sp:object
252 [ sp:varName "message"^^xsd:string 313 [ sp:varName "message"^^xsd:string
253 ] ; 314 ] ;
254 sp:predicate rdfs:label ; 315 sp:predicate rdfs:label ;
255 - sp:subject _:b4 316 + sp:subject _:b5
256 ]) ; 317 ]) ;
257 sp:where ([ sp:object 318 sp:where ([ sp:object
258 [ sp:varName "kindRef"^^xsd:string 319 [ sp:varName "kindRef"^^xsd:string
...@@ -314,12 +375,12 @@ mpr-proxy-constraints:CheckIdAndNameMatch ...@@ -314,12 +375,12 @@ mpr-proxy-constraints:CheckIdAndNameMatch
314 [ rdf:type sp:Construct ; 375 [ rdf:type sp:Construct ;
315 sp:templates ([ sp:object spin:ConstraintViolation ; 376 sp:templates ([ sp:object spin:ConstraintViolation ;
316 sp:predicate rdf:type ; 377 sp:predicate rdf:type ;
317 - sp:subject _:b5 378 + sp:subject _:b6
318 ] [ sp:object 379 ] [ sp:object
319 [ sp:varName "message"^^xsd:string 380 [ sp:varName "message"^^xsd:string
320 ] ; 381 ] ;
321 sp:predicate rdfs:label ; 382 sp:predicate rdfs:label ;
322 - sp:subject _:b5 383 + sp:subject _:b6
323 ]) ; 384 ]) ;
324 sp:where ([ sp:object 385 sp:where ([ sp:object
325 [ sp:varName "kindRef"^^xsd:string 386 [ sp:varName "kindRef"^^xsd:string
...@@ -414,12 +475,12 @@ mpr-proxy-constraints:CheckName ...@@ -414,12 +475,12 @@ mpr-proxy-constraints:CheckName
414 [ rdf:type sp:Construct ; 475 [ rdf:type sp:Construct ;
415 sp:templates ([ sp:object spin:ConstraintViolation ; 476 sp:templates ([ sp:object spin:ConstraintViolation ;
416 sp:predicate rdf:type ; 477 sp:predicate rdf:type ;
417 - sp:subject _:b6 478 + sp:subject _:b7
418 ] [ sp:object 479 ] [ sp:object
419 [ sp:varName "message"^^xsd:string 480 [ sp:varName "message"^^xsd:string
420 ] ; 481 ] ;
421 sp:predicate rdfs:label ; 482 sp:predicate rdfs:label ;
422 - sp:subject _:b6 483 + sp:subject _:b7
423 ]) ; 484 ]) ;
424 sp:where ([ sp:object 485 sp:where ([ sp:object
425 [ sp:varName "kindRef"^^xsd:string 486 [ sp:varName "kindRef"^^xsd:string
...@@ -482,13 +543,13 @@ mpr-proxy-constraints:ConstraintTemplates ...@@ -482,13 +543,13 @@ mpr-proxy-constraints:ConstraintTemplates
482 rdfs:subClassOf spin:ConstructTemplates ; 543 rdfs:subClassOf spin:ConstructTemplates ;
483 spin:constraint 544 spin:constraint
484 [ rdf:type spl:Argument ; 545 [ rdf:type spl:Argument ;
485 - rdfs:comment "The NPD type that the individual needs to have."^^xsd:string ;
486 - spl:predicate arg:type ;
487 - spl:valueType rdfs:Class
488 - ] ;
489 - spin:constraint
490 - [ rdf:type spl:Argument ;
491 rdfs:comment "The kind reference value."^^xsd:string ; 546 rdfs:comment "The kind reference value."^^xsd:string ;
492 spl:predicate arg:kindRef ; 547 spl:predicate arg:kindRef ;
493 spl:valueType <http://www.epim.no/schemas/mprml/1#ReportingFacility> 548 spl:valueType <http://www.epim.no/schemas/mprml/1#ReportingFacility>
549 + ] ;
550 + spin:constraint
551 + [ rdf:type spl:Argument ;
552 + rdfs:comment "The NPD type that the individual needs to have."^^xsd:string ;
553 + spl:predicate arg:type ;
554 + spl:valueType rdfs:Class
494 ] . 555 ] .
......
...@@ -63,4 +63,12 @@ WHERE { ...@@ -63,4 +63,12 @@ WHERE {
63 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTest" /> 63 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTest" />
64 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTestResults" /> 64 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellInjectionTestResults" />
65 65
66 + <h2>Well Fluid Level Test Information</h2>
67 +
68 +<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellFluidLevelTest" />
69 +
70 + <h2>Well Production Test Information</h2>
71 +
72 +<dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:WellProductionTest" />
73 +
66 </ui:group> 74 </ui:group>
...\ No newline at end of file ...\ No newline at end of file
......