David Price

Gas Sales complete

...@@ -884,130 +884,137 @@ mpr-tables:GasSales ...@@ -884,130 +884,137 @@ mpr-tables:GasSales
884 ] [ sp:object 884 ] [ sp:object
885 [ sp:varName "totalMaterialThatFlows"^^xsd:string 885 [ sp:varName "totalMaterialThatFlows"^^xsd:string
886 ] ; 886 ] ;
887 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ; 887 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
888 sp:subject 888 sp:subject
889 - [ sp:varName "productTransaction"^^xsd:string 889 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
890 ] 890 ]
891 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MovementOfProduct> ; 891 + ] [ sp:object
892 - sp:predicate rdf:type ; 892 + [ sp:varName "ownerPart"^^xsd:string
893 + ] ;
894 + sp:predicate <http://www.reportinghub.no/ep/schema/organization#owner> ;
893 sp:subject 895 sp:subject
894 - [ sp:varName "productTransaction"^^xsd:string 896 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
895 ] 897 ]
896 ] [ sp:object 898 ] [ sp:object
897 - [ sp:varName "salesActivity"^^xsd:string 899 + [ sp:varName "owner"^^xsd:string
898 ] ; 900 ] ;
899 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 901 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
900 sp:subject 902 sp:subject
901 - [ sp:varName "productTransaction"^^xsd:string 903 + [ sp:varName "ownerPart"^^xsd:string
902 ] 904 ]
903 - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ; 905 + ] [ rdf:type sp:TriplePath ;
904 - sp:predicate rdf:type ; 906 + sp:object
907 + [ sp:varName "sellerName"^^xsd:string
908 + ] ;
909 + sp:path [ rdf:type sp:AltPath ;
910 + sp:path1 <http://www.reportinghub.no/np/schema/npd#name> ;
911 + sp:path2 <http://www.reportinghub.no/ep/schema/core#name>
912 + ] ;
905 sp:subject 913 sp:subject
906 - [ sp:varName "salesActivity"^^xsd:string 914 + [ sp:varName "owner"^^xsd:string
907 ] 915 ]
908 ] [ sp:object 916 ] [ sp:object
909 - [ sp:varName "sellerPart"^^xsd:string 917 + [ sp:varName "buyerEnergyQuantity"^^xsd:string
910 ] ; 918 ] ;
911 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#seller> ; 919 + sp:predicate rdf:type ;
912 sp:subject 920 sp:subject
913 - [ sp:varName "salesActivity"^^xsd:string 921 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
914 ] 922 ]
915 - ] [ sp:object 923 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
916 - [ sp:varName "seller"^^xsd:string 924 + sp:predicate rdf:type ;
917 - ] ;
918 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
919 sp:subject 925 sp:subject
920 - [ sp:varName "sellerPart"^^xsd:string 926 + [ sp:varName "buyerEnergyQuantity"^^xsd:string
921 ] 927 ]
922 ] [ sp:object 928 ] [ sp:object
923 - [ sp:varName "sellerName"^^xsd:string 929 + [ sp:varName "buyerEnergyValue"^^xsd:string
924 ] ; 930 ] ;
925 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 931 + sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ;
926 sp:subject 932 sp:subject
927 - [ sp:varName "seller"^^xsd:string 933 + [ sp:varName "buyerEnergyQuantity"^^xsd:string
928 ] 934 ]
929 - ] [ rdf:type sp:Optional ; 935 + ] [ sp:object
930 - sp:elements ([ sp:object 936 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
931 - [ sp:varName "buyerPart"^^xsd:string
932 ] ; 937 ] ;
933 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ; 938 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
934 sp:subject 939 sp:subject
935 - [ sp:varName "salesActivity"^^xsd:string 940 + [ sp:varName "salesActvitityVolume"^^xsd:string
936 ] 941 ]
937 ] [ sp:object 942 ] [ sp:object
938 - [ sp:varName "buyer"^^xsd:string 943 + [ sp:varName "buyerVolumeQuantity"^^xsd:string
939 ] ; 944 ] ;
940 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 945 + sp:predicate rdf:type ;
941 sp:subject 946 sp:subject
942 - [ sp:varName "buyerPart"^^xsd:string 947 + [ sp:varName "salesActvitityVolume"^^xsd:string
948 + ]
949 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
950 + sp:predicate rdf:type ;
951 + sp:subject
952 + [ sp:varName "buyerVolumeQuantity"^^xsd:string
943 ] 953 ]
944 ] [ sp:object 954 ] [ sp:object
945 - [ sp:varName "buyerName"^^xsd:string 955 + [ sp:varName "buyerVolumeValue"^^xsd:string
946 ] ; 956 ] ;
947 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; 957 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
948 sp:subject 958 sp:subject
949 - [ sp:varName "buyer"^^xsd:string 959 + [ sp:varName "buyerVolumeQuantity"^^xsd:string
950 ] 960 ]
951 ] [ sp:object 961 ] [ sp:object
952 - [ sp:varName "buyerMovedProduct"^^xsd:string 962 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
953 ] ; 963 ] ;
954 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ; 964 sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
955 sp:subject 965 sp:subject
956 [ sp:varName "salesActivity"^^xsd:string 966 [ sp:varName "salesActivity"^^xsd:string
957 ] 967 ]
958 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; 968 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ;
959 sp:predicate rdf:type ; 969 sp:predicate rdf:type ;
960 sp:subject 970 sp:subject
961 - [ sp:varName "buyerMovedProduct"^^xsd:string 971 + [ sp:varName "salesActivity"^^xsd:string
962 ] 972 ]
963 ] [ sp:object 973 ] [ sp:object
964 - [ sp:varName "buyerEnergyQuantity"^^xsd:string 974 + [ sp:varName "buyerPart"^^xsd:string
965 ] ; 975 ] ;
966 - sp:predicate rdf:type ; 976 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ;
967 sp:subject 977 sp:subject
968 - [ sp:varName "buyerMovedProduct"^^xsd:string 978 + [ sp:varName "salesActivity"^^xsd:string
969 ] 979 ]
970 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; 980 + ] [ sp:object
971 - sp:predicate rdf:type ; 981 + [ sp:varName "buyer"^^xsd:string
982 + ] ;
983 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
972 sp:subject 984 sp:subject
973 - [ sp:varName "buyerEnergyQuantity"^^xsd:string 985 + [ sp:varName "buyerPart"^^xsd:string
974 ] 986 ]
975 - ] [ sp:object 987 + ] [ rdf:type sp:TriplePath ;
976 - [ sp:varName "buyerEnergyValue"^^xsd:string 988 + sp:object
989 + [ sp:varName "buyerName"^^xsd:string
990 + ] ;
991 + sp:path [ rdf:type sp:AltPath ;
992 + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ;
993 + sp:path2 <http://www.reportinghub.no/np/schema/npd#name>
977 ] ; 994 ] ;
978 - sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ;
979 sp:subject 995 sp:subject
980 - [ sp:varName "buyerEnergyQuantity"^^xsd:string 996 + [ sp:varName "buyer"^^xsd:string
981 ] 997 ]
982 ] [ sp:object 998 ] [ sp:object
983 - [ sp:varName "buyerMovedProduct"^^xsd:string 999 + [ sp:varName "productFlowMixedPart"^^xsd:string
984 ] ; 1000 ] ;
985 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 1001 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
986 sp:subject 1002 sp:subject
987 - [ sp:varName "buyerMovedProductPart"^^xsd:string 1003 + [ sp:varName "productFlowMonth"^^xsd:string
988 ] 1004 ]
989 ] [ sp:object 1005 ] [ sp:object
990 - [ sp:varName "buyerVolumeQuantity"^^xsd:string 1006 + [ sp:varName "productFlowWhole"^^xsd:string
991 ] ; 1007 ] ;
992 - sp:predicate rdf:type ; 1008 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
993 sp:subject 1009 sp:subject
994 - [ sp:varName "buyerMovedProductPart"^^xsd:string 1010 + [ sp:varName "productFlowMixedPart"^^xsd:string
995 ] 1011 ]
996 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; 1012 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
997 sp:predicate rdf:type ; 1013 sp:predicate rdf:type ;
998 sp:subject 1014 sp:subject
999 - [ sp:varName "buyerVolumeQuantity"^^xsd:string 1015 + [ sp:varName "productFlowWhole"^^xsd:string
1000 ] 1016 ]
1001 ] [ sp:object 1017 ] [ sp:object
1002 - [ sp:varName "buyerVolumeValue"^^xsd:string
1003 - ] ;
1004 - sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
1005 - sp:subject
1006 - [ sp:varName "buyerVolumeQuantity"^^xsd:string
1007 - ]
1008 - ])
1009 - ] [ rdf:type sp:Optional ;
1010 - sp:elements ([ sp:object
1011 [ sp:varName "productFlowMaterialType"^^xsd:string 1018 [ sp:varName "productFlowMaterialType"^^xsd:string
1012 ] ; 1019 ] ;
1013 sp:predicate rdf:type ; 1020 sp:predicate rdf:type ;
...@@ -1026,7 +1033,6 @@ mpr-tables:GasSales ...@@ -1026,7 +1033,6 @@ mpr-tables:GasSales
1026 sp:subject 1033 sp:subject
1027 [ sp:varName "productFlowMaterialType"^^xsd:string 1034 [ sp:varName "productFlowMaterialType"^^xsd:string
1028 ] 1035 ]
1029 - ])
1030 ] [ rdf:type sp:Optional ; 1036 ] [ rdf:type sp:Optional ;
1031 sp:elements ([ sp:object 1037 sp:elements ([ sp:object
1032 [ sp:varName "productionFlowPurposeType"^^xsd:string 1038 [ sp:varName "productionFlowPurposeType"^^xsd:string
...@@ -1563,6 +1569,13 @@ mpr-tables:ProductionFlowsAll ...@@ -1563,6 +1569,13 @@ mpr-tables:ProductionFlowsAll
1563 [ sp:varName "productionFlowWhole"^^xsd:string 1569 [ sp:varName "productionFlowWhole"^^xsd:string
1564 ] 1570 ]
1565 ]) 1571 ])
1572 + ] [ rdf:type sp:NotExists ;
1573 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ;
1574 + sp:predicate rdf:type ;
1575 + sp:subject
1576 + [ sp:varName "productionFlowWhole"^^xsd:string
1577 + ]
1578 + ])
1566 ] [ sp:object 1579 ] [ sp:object
1567 [ sp:varName "productionFlowFacility"^^xsd:string 1580 [ sp:varName "productionFlowFacility"^^xsd:string
1568 ] ; 1581 ] ;
......