added gas sales buyer volume and energy - almost there but dups when nyhanna
Showing
1 changed file
with
71 additions
and
24 deletions
... | @@ -716,9 +716,11 @@ mpr-tables:GasSales | ... | @@ -716,9 +716,11 @@ mpr-tables:GasSales |
716 | ] [ sp:varName "materialTypeName"^^xsd:string | 716 | ] [ sp:varName "materialTypeName"^^xsd:string |
717 | ] [ sp:varName "definitionTypeName"^^xsd:string | 717 | ] [ sp:varName "definitionTypeName"^^xsd:string |
718 | ] [ sp:varName "sellerName"^^xsd:string | 718 | ] [ sp:varName "sellerName"^^xsd:string |
719 | + ] [ sp:varName "sellerVolumeValue"^^xsd:string | ||
720 | + ] [ sp:varName "sellerEnergyValue"^^xsd:string | ||
719 | ] [ sp:varName "buyerName"^^xsd:string | 721 | ] [ sp:varName "buyerName"^^xsd:string |
720 | - ] [ sp:varName "volumeValue"^^xsd:string | 722 | + ] [ sp:varName "buyerVolumeValue"^^xsd:string |
721 | - ] [ sp:varName "workValue"^^xsd:string | 723 | + ] [ sp:varName "buyerEnergyValue"^^xsd:string |
722 | ]) ; | 724 | ]) ; |
723 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 725 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
724 | sp:predicate rdf:type ; | 726 | sp:predicate rdf:type ; |
... | @@ -852,7 +854,7 @@ mpr-tables:GasSales | ... | @@ -852,7 +854,7 @@ mpr-tables:GasSales |
852 | [ sp:varName "productTransaction"^^xsd:string | 854 | [ sp:varName "productTransaction"^^xsd:string |
853 | ] | 855 | ] |
854 | ] [ sp:object | 856 | ] [ sp:object |
855 | - [ sp:varName "workQuantity"^^xsd:string | 857 | + [ sp:varName "sellerEnergyQuantity"^^xsd:string |
856 | ] ; | 858 | ] ; |
857 | sp:predicate rdf:type ; | 859 | sp:predicate rdf:type ; |
858 | sp:subject | 860 | sp:subject |
... | @@ -861,14 +863,14 @@ mpr-tables:GasSales | ... | @@ -861,14 +863,14 @@ mpr-tables:GasSales |
861 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | 863 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; |
862 | sp:predicate rdf:type ; | 864 | sp:predicate rdf:type ; |
863 | sp:subject | 865 | sp:subject |
864 | - [ sp:varName "workQuantity"^^xsd:string | 866 | + [ sp:varName "sellerEnergyQuantity"^^xsd:string |
865 | ] | 867 | ] |
866 | ] [ sp:object | 868 | ] [ sp:object |
867 | - [ sp:varName "workValue"^^xsd:string | 869 | + [ sp:varName "sellerEnergyValue"^^xsd:string |
868 | ] ; | 870 | ] ; |
869 | sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ; | 871 | sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ; |
870 | sp:subject | 872 | sp:subject |
871 | - [ sp:varName "workQuantity"^^xsd:string | 873 | + [ sp:varName "sellerEnergyQuantity"^^xsd:string |
872 | ] | 874 | ] |
873 | ] [ sp:object | 875 | ] [ sp:object |
874 | [ sp:varName "movedProduct"^^xsd:string | 876 | [ sp:varName "movedProduct"^^xsd:string |
... | @@ -878,7 +880,7 @@ mpr-tables:GasSales | ... | @@ -878,7 +880,7 @@ mpr-tables:GasSales |
878 | [ sp:varName "volumeOfMovedProduct"^^xsd:string | 880 | [ sp:varName "volumeOfMovedProduct"^^xsd:string |
879 | ] | 881 | ] |
880 | ] [ sp:object | 882 | ] [ sp:object |
881 | - [ sp:varName "volumeQuantity"^^xsd:string | 883 | + [ sp:varName "sellerVolumeQuantity"^^xsd:string |
882 | ] ; | 884 | ] ; |
883 | sp:predicate rdf:type ; | 885 | sp:predicate rdf:type ; |
884 | sp:subject | 886 | sp:subject |
... | @@ -887,14 +889,14 @@ mpr-tables:GasSales | ... | @@ -887,14 +889,14 @@ mpr-tables:GasSales |
887 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | 889 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; |
888 | sp:predicate rdf:type ; | 890 | sp:predicate rdf:type ; |
889 | sp:subject | 891 | sp:subject |
890 | - [ sp:varName "volumeQuantity"^^xsd:string | 892 | + [ sp:varName "sellerVolumeQuantity"^^xsd:string |
891 | ] | 893 | ] |
892 | ] [ sp:object | 894 | ] [ sp:object |
893 | - [ sp:varName "volumeValue"^^xsd:string | 895 | + [ sp:varName "sellerVolumeValue"^^xsd:string |
894 | ] ; | 896 | ] ; |
895 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ; | 897 | sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ; |
896 | sp:subject | 898 | sp:subject |
897 | - [ sp:varName "volumeQuantity"^^xsd:string | 899 | + [ sp:varName "sellerVolumeQuantity"^^xsd:string |
898 | ] | 900 | ] |
899 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductTransaction> ; | 901 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#ProductTransaction> ; |
900 | sp:predicate rdf:type ; | 902 | sp:predicate rdf:type ; |
... | @@ -902,23 +904,11 @@ mpr-tables:GasSales | ... | @@ -902,23 +904,11 @@ mpr-tables:GasSales |
902 | [ sp:varName "productTransaction"^^xsd:string | 904 | [ sp:varName "productTransaction"^^xsd:string |
903 | ] | 905 | ] |
904 | ] [ sp:object | 906 | ] [ sp:object |
905 | - [ sp:varName "productMovement"^^xsd:string | ||
906 | - ] ; | ||
907 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | ||
908 | - sp:subject | ||
909 | - [ sp:varName "productTransaction"^^xsd:string | ||
910 | - ] | ||
911 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MovementOfProduct> ; | ||
912 | - sp:predicate rdf:type ; | ||
913 | - sp:subject | ||
914 | - [ sp:varName "productMovement"^^xsd:string | ||
915 | - ] | ||
916 | - ] [ sp:object | ||
917 | [ sp:varName "salesActivity"^^xsd:string | 907 | [ sp:varName "salesActivity"^^xsd:string |
918 | ] ; | 908 | ] ; |
919 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; | 909 | sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
920 | sp:subject | 910 | sp:subject |
921 | - [ sp:varName "productMovement"^^xsd:string | 911 | + [ sp:varName "productTransaction"^^xsd:string |
922 | ] | 912 | ] |
923 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ; | 913 | ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ; |
924 | sp:predicate rdf:type ; | 914 | sp:predicate rdf:type ; |
... | @@ -968,6 +958,63 @@ mpr-tables:GasSales | ... | @@ -968,6 +958,63 @@ mpr-tables:GasSales |
968 | sp:subject | 958 | sp:subject |
969 | [ sp:varName "buyer"^^xsd:string | 959 | [ sp:varName "buyer"^^xsd:string |
970 | ] | 960 | ] |
961 | + ] [ sp:object | ||
962 | + [ sp:varName "buyerMovedProduct"^^xsd:string | ||
963 | + ] ; | ||
964 | + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ; | ||
965 | + sp:subject | ||
966 | + [ sp:varName "salesActivity"^^xsd:string | ||
967 | + ] | ||
968 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ; | ||
969 | + sp:predicate rdf:type ; | ||
970 | + sp:subject | ||
971 | + [ sp:varName "buyerMovedProduct"^^xsd:string | ||
972 | + ] | ||
973 | + ] [ sp:object | ||
974 | + [ sp:varName "buyerEnergyQuantity"^^xsd:string | ||
975 | + ] ; | ||
976 | + sp:predicate rdf:type ; | ||
977 | + sp:subject | ||
978 | + [ sp:varName "buyerMovedProduct"^^xsd:string | ||
979 | + ] | ||
980 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ; | ||
981 | + sp:predicate rdf:type ; | ||
982 | + sp:subject | ||
983 | + [ sp:varName "buyerEnergyQuantity"^^xsd:string | ||
984 | + ] | ||
985 | + ] [ sp:object | ||
986 | + [ sp:varName "buyerEnergyValue"^^xsd:string | ||
987 | + ] ; | ||
988 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ; | ||
989 | + sp:subject | ||
990 | + [ sp:varName "buyerEnergyQuantity"^^xsd:string | ||
991 | + ] | ||
992 | + ] [ sp:object | ||
993 | + [ sp:varName "buyerMovedProduct"^^xsd:string | ||
994 | + ] ; | ||
995 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
996 | + sp:subject | ||
997 | + [ sp:varName "buyerMovedProductPart"^^xsd:string | ||
998 | + ] | ||
999 | + ] [ sp:object | ||
1000 | + [ sp:varName "buyerVolumeQuantity"^^xsd:string | ||
1001 | + ] ; | ||
1002 | + sp:predicate rdf:type ; | ||
1003 | + sp:subject | ||
1004 | + [ sp:varName "buyerMovedProductPart"^^xsd:string | ||
1005 | + ] | ||
1006 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ; | ||
1007 | + sp:predicate rdf:type ; | ||
1008 | + sp:subject | ||
1009 | + [ sp:varName "buyerVolumeQuantity"^^xsd:string | ||
1010 | + ] | ||
1011 | + ] [ sp:object | ||
1012 | + [ sp:varName "buyerVolumeValue"^^xsd:string | ||
1013 | + ] ; | ||
1014 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ; | ||
1015 | + sp:subject | ||
1016 | + [ sp:varName "buyerVolumeQuantity"^^xsd:string | ||
1017 | + ] | ||
971 | ]) | 1018 | ]) |
972 | ] [ rdf:type sp:Optional ; | 1019 | ] [ rdf:type sp:Optional ; |
973 | sp:elements ([ sp:object | 1020 | sp:elements ([ sp:object |
... | @@ -1034,7 +1081,7 @@ mpr-tables:GasSales | ... | @@ -1034,7 +1081,7 @@ mpr-tables:GasSales |
1034 | ]) | 1081 | ]) |
1035 | ]) | 1082 | ]) |
1036 | ] ; | 1083 | ] ; |
1037 | - rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Seller"^^xsd:string "Buyer"^^xsd:string "Volume"^^xsd:string "Work"^^xsd:string) . | 1084 | + rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Flow type"^^xsd:string "Seller"^^xsd:string "Seller Volume"^^xsd:string "Seller Work"^^xsd:string "Buyer"^^xsd:string "Buyer Volume"^^xsd:string "Buyer Work"^^xsd:string) . |
1038 | 1085 | ||
1039 | mpr-tables:ProductionFlows | 1086 | mpr-tables:ProductionFlows |
1040 | rdf:type rhspin:TableTemplate ; | 1087 | rdf:type rhspin:TableTemplate ; | ... | ... |
-
Please register or login to post a comment