David Price

Gas Sales complete

...@@ -884,21 +884,86 @@ mpr-tables:GasSales ...@@ -884,21 +884,86 @@ 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:varName "ownerPart"^^xsd:string
893 + ] ;
894 + sp:predicate <http://www.reportinghub.no/ep/schema/organization#owner> ;
895 + sp:subject
896 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
897 + ]
898 + ] [ sp:object
899 + [ sp:varName "owner"^^xsd:string
900 + ] ;
901 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
902 + sp:subject
903 + [ sp:varName "ownerPart"^^xsd:string
904 + ]
905 + ] [ rdf:type sp:TriplePath ;
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 + ] ;
913 + sp:subject
914 + [ sp:varName "owner"^^xsd:string
915 + ]
916 + ] [ sp:object
917 + [ sp:varName "buyerEnergyQuantity"^^xsd:string
918 + ] ;
892 sp:predicate rdf:type ; 919 sp:predicate rdf:type ;
893 sp:subject 920 sp:subject
894 - [ sp:varName "productTransaction"^^xsd:string 921 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
922 + ]
923 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
924 + sp:predicate rdf:type ;
925 + sp:subject
926 + [ sp:varName "buyerEnergyQuantity"^^xsd:string
895 ] 927 ]
896 ] [ sp:object 928 ] [ sp:object
897 - [ sp:varName "salesActivity"^^xsd:string 929 + [ sp:varName "buyerEnergyValue"^^xsd:string
898 ] ; 930 ] ;
899 - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; 931 + sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ;
900 sp:subject 932 sp:subject
901 - [ sp:varName "productTransaction"^^xsd:string 933 + [ sp:varName "buyerEnergyQuantity"^^xsd:string
934 + ]
935 + ] [ sp:object
936 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
937 + ] ;
938 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
939 + sp:subject
940 + [ sp:varName "salesActvitityVolume"^^xsd:string
941 + ]
942 + ] [ sp:object
943 + [ sp:varName "buyerVolumeQuantity"^^xsd:string
944 + ] ;
945 + sp:predicate rdf:type ;
946 + sp:subject
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
953 + ]
954 + ] [ sp:object
955 + [ sp:varName "buyerVolumeValue"^^xsd:string
956 + ] ;
957 + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
958 + sp:subject
959 + [ sp:varName "buyerVolumeQuantity"^^xsd:string
960 + ]
961 + ] [ sp:object
962 + [ sp:varName "salesActivityMovedProduct"^^xsd:string
963 + ] ;
964 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
965 + sp:subject
966 + [ sp:varName "salesActivity"^^xsd:string
902 ] 967 ]
903 ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ; 968 ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ;
904 sp:predicate rdf:type ; 969 sp:predicate rdf:type ;
...@@ -906,127 +971,68 @@ mpr-tables:GasSales ...@@ -906,127 +971,68 @@ mpr-tables:GasSales
906 [ sp:varName "salesActivity"^^xsd:string 971 [ sp:varName "salesActivity"^^xsd:string
907 ] 972 ]
908 ] [ sp:object 973 ] [ sp:object
909 - [ sp:varName "sellerPart"^^xsd:string 974 + [ sp:varName "buyerPart"^^xsd:string
910 ] ; 975 ] ;
911 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#seller> ; 976 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ;
912 sp:subject 977 sp:subject
913 [ sp:varName "salesActivity"^^xsd:string 978 [ sp:varName "salesActivity"^^xsd:string
914 ] 979 ]
915 ] [ sp:object 980 ] [ sp:object
916 - [ sp:varName "seller"^^xsd:string 981 + [ sp:varName "buyer"^^xsd:string
917 ] ; 982 ] ;
918 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 983 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
919 sp:subject 984 sp:subject
920 - [ sp:varName "sellerPart"^^xsd:string 985 + [ sp:varName "buyerPart"^^xsd:string
986 + ]
987 + ] [ rdf:type sp:TriplePath ;
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>
994 + ] ;
995 + sp:subject
996 + [ sp:varName "buyer"^^xsd:string
921 ] 997 ]
922 ] [ sp:object 998 ] [ sp:object
923 - [ sp:varName "sellerName"^^xsd:string 999 + [ sp:varName "productFlowMixedPart"^^xsd:string
924 ] ; 1000 ] ;
925 - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; 1001 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
926 sp:subject 1002 sp:subject
927 - [ sp:varName "seller"^^xsd:string 1003 + [ sp:varName "productFlowMonth"^^xsd:string
1004 + ]
1005 + ] [ sp:object
1006 + [ sp:varName "productFlowWhole"^^xsd:string
1007 + ] ;
1008 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1009 + sp:subject
1010 + [ sp:varName "productFlowMixedPart"^^xsd:string
1011 + ]
1012 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
1013 + sp:predicate rdf:type ;
1014 + sp:subject
1015 + [ sp:varName "productFlowWhole"^^xsd:string
1016 + ]
1017 + ] [ sp:object
1018 + [ sp:varName "productFlowMaterialType"^^xsd:string
1019 + ] ;
1020 + sp:predicate rdf:type ;
1021 + sp:subject
1022 + [ sp:varName "productFlowWhole"^^xsd:string
1023 + ]
1024 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
1025 + sp:predicate rdf:type ;
1026 + sp:subject
1027 + [ sp:varName "productFlowMaterialType"^^xsd:string
1028 + ]
1029 + ] [ sp:object
1030 + [ sp:varName "materialTypeName"^^xsd:string
1031 + ] ;
1032 + sp:predicate rdfs:label ;
1033 + sp:subject
1034 + [ sp:varName "productFlowMaterialType"^^xsd:string
928 ] 1035 ]
929 - ] [ rdf:type sp:Optional ;
930 - sp:elements ([ sp:object
931 - [ sp:varName "buyerPart"^^xsd:string
932 - ] ;
933 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ;
934 - sp:subject
935 - [ sp:varName "salesActivity"^^xsd:string
936 - ]
937 - ] [ sp:object
938 - [ sp:varName "buyer"^^xsd:string
939 - ] ;
940 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
941 - sp:subject
942 - [ sp:varName "buyerPart"^^xsd:string
943 - ]
944 - ] [ sp:object
945 - [ sp:varName "buyerName"^^xsd:string
946 - ] ;
947 - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
948 - sp:subject
949 - [ sp:varName "buyer"^^xsd:string
950 - ]
951 - ] [ sp:object
952 - [ sp:varName "buyerMovedProduct"^^xsd:string
953 - ] ;
954 - sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
955 - sp:subject
956 - [ sp:varName "salesActivity"^^xsd:string
957 - ]
958 - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
959 - sp:predicate rdf:type ;
960 - sp:subject
961 - [ sp:varName "buyerMovedProduct"^^xsd:string
962 - ]
963 - ] [ sp:object
964 - [ sp:varName "buyerEnergyQuantity"^^xsd:string
965 - ] ;
966 - sp:predicate rdf:type ;
967 - sp:subject
968 - [ sp:varName "buyerMovedProduct"^^xsd:string
969 - ]
970 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
971 - sp:predicate rdf:type ;
972 - sp:subject
973 - [ sp:varName "buyerEnergyQuantity"^^xsd:string
974 - ]
975 - ] [ sp:object
976 - [ sp:varName "buyerEnergyValue"^^xsd:string
977 - ] ;
978 - sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ;
979 - sp:subject
980 - [ sp:varName "buyerEnergyQuantity"^^xsd:string
981 - ]
982 - ] [ sp:object
983 - [ sp:varName "buyerMovedProduct"^^xsd:string
984 - ] ;
985 - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
986 - sp:subject
987 - [ sp:varName "buyerMovedProductPart"^^xsd:string
988 - ]
989 - ] [ sp:object
990 - [ sp:varName "buyerVolumeQuantity"^^xsd:string
991 - ] ;
992 - sp:predicate rdf:type ;
993 - sp:subject
994 - [ sp:varName "buyerMovedProductPart"^^xsd:string
995 - ]
996 - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
997 - sp:predicate rdf:type ;
998 - sp:subject
999 - [ sp:varName "buyerVolumeQuantity"^^xsd:string
1000 - ]
1001 - ] [ 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
1012 - ] ;
1013 - sp:predicate rdf:type ;
1014 - sp:subject
1015 - [ sp:varName "productFlowWhole"^^xsd:string
1016 - ]
1017 - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
1018 - sp:predicate rdf:type ;
1019 - sp:subject
1020 - [ sp:varName "productFlowMaterialType"^^xsd:string
1021 - ]
1022 - ] [ sp:object
1023 - [ sp:varName "materialTypeName"^^xsd:string
1024 - ] ;
1025 - sp:predicate rdfs:label ;
1026 - sp:subject
1027 - [ sp:varName "productFlowMaterialType"^^xsd:string
1028 - ]
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 ] ;
......