David Price

Gas Sales complete

......@@ -884,21 +884,86 @@ mpr-tables:GasSales
] [ sp:object
[ sp:varName "totalMaterialThatFlows"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
sp:subject
[ sp:varName "productTransaction"^^xsd:string
[ sp:varName "salesActivityMovedProduct"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#MovementOfProduct> ;
] [ sp:object
[ sp:varName "ownerPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/organization#owner> ;
sp:subject
[ sp:varName "salesActivityMovedProduct"^^xsd:string
]
] [ sp:object
[ sp:varName "owner"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "ownerPart"^^xsd:string
]
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "sellerName"^^xsd:string
] ;
sp:path [ rdf:type sp:AltPath ;
sp:path1 <http://www.reportinghub.no/np/schema/npd#name> ;
sp:path2 <http://www.reportinghub.no/ep/schema/core#name>
] ;
sp:subject
[ sp:varName "owner"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerEnergyQuantity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productTransaction"^^xsd:string
[ sp:varName "salesActivityMovedProduct"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerEnergyQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "salesActivity"^^xsd:string
[ sp:varName "buyerEnergyValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ;
sp:subject
[ sp:varName "productTransaction"^^xsd:string
[ sp:varName "buyerEnergyQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "salesActivityMovedProduct"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "salesActvitityVolume"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerVolumeQuantity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "salesActvitityVolume"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerVolumeQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerVolumeValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "buyerVolumeQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "salesActivityMovedProduct"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
sp:subject
[ sp:varName "salesActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#SalesActivity> ;
sp:predicate rdf:type ;
......@@ -906,127 +971,68 @@ mpr-tables:GasSales
[ sp:varName "salesActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "sellerPart"^^xsd:string
[ sp:varName "buyerPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#seller> ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ;
sp:subject
[ sp:varName "salesActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "seller"^^xsd:string
[ sp:varName "buyer"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "sellerPart"^^xsd:string
[ sp:varName "buyerPart"^^xsd:string
]
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "buyerName"^^xsd:string
] ;
sp:path [ rdf:type sp:AltPath ;
sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ;
sp:path2 <http://www.reportinghub.no/np/schema/npd#name>
] ;
sp:subject
[ sp:varName "buyer"^^xsd:string
]
] [ sp:object
[ sp:varName "sellerName"^^xsd:string
[ sp:varName "productFlowMixedPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "seller"^^xsd:string
[ sp:varName "productFlowMonth"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productFlowMixedPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowMaterialType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowMaterialType"^^xsd:string
]
] [ sp:object
[ sp:varName "materialTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productFlowMaterialType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "buyerPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#buyer> ;
sp:subject
[ sp:varName "salesActivity"^^xsd:string
]
] [ sp:object
[ sp:varName "buyer"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "buyerPart"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "buyer"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerMovedProduct"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#movedProduct> ;
sp:subject
[ sp:varName "salesActivity"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerMovedProduct"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerEnergyQuantity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerMovedProduct"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Work> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerEnergyQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerEnergyValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#megajoule> ;
sp:subject
[ sp:varName "buyerEnergyQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerMovedProduct"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "buyerMovedProductPart"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerVolumeQuantity"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerMovedProductPart"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "buyerVolumeQuantity"^^xsd:string
]
] [ sp:object
[ sp:varName "buyerVolumeValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#metre3> ;
sp:subject
[ sp:varName "buyerVolumeQuantity"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productFlowMaterialType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowMaterialType"^^xsd:string
]
] [ sp:object
[ sp:varName "materialTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productFlowMaterialType"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productionFlowPurposeType"^^xsd:string
......@@ -1563,6 +1569,13 @@ mpr-tables:ProductionFlowsAll
[ sp:varName "productionFlowWhole"^^xsd:string
]
])
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/flow#Sale> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionFlowWhole"^^xsd:string
]
])
] [ sp:object
[ sp:varName "productionFlowFacility"^^xsd:string
] ;
......