David Price

Basic Stock table working again.

......@@ -1936,23 +1936,23 @@ mpr-tables:ProductionInventory
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventorysInPeriod"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:subject
[ sp:varName "productVolumeReport"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryCollection> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventorysInPeriod"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryInPeriod"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#hasSpatialPart> ;
sp:subject
[ sp:varName "productionInventorysInPeriod"^^xsd:string
[ sp:varName "productionInventoryCollection"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventory> ;
sp:predicate rdf:type ;
......@@ -1966,6 +1966,11 @@ mpr-tables:ProductionInventory
sp:subject
[ sp:varName "productionInventoryInPeriod"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductInventory> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "component"^^xsd:string
]
] [ sp:object
[ sp:varName "component"^^xsd:string
] ;
......@@ -1978,20 +1983,13 @@ mpr-tables:ProductionInventory
sp:subject
[ sp:varName "monthobject"^^xsd:string
]
] [ sp:object
[ sp:varName "materialInventory"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialInInventory> ;
sp:subject
[ sp:varName "monthobject"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "materialQuantityValue"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#summedDailyMass> ;
sp:subject
[ sp:varName "materialInventory"^^xsd:string
[ sp:varName "monthobject"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
sp:predicate rdf:type ;
......@@ -2050,7 +2048,7 @@ mpr-tables:ProductionInventory
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "materialInventory"^^xsd:string
[ sp:varName "monthobject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
......@@ -2108,7 +2106,7 @@ mpr-tables:ProductionInventory
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "materialInventory"^^xsd:string
[ sp:varName "monthobject"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
......@@ -2166,25 +2164,18 @@ mpr-tables:ProductionInventory
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "piPart"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "monthobject"^^xsd:string
]
] [ sp:object
[ sp:varName "piWholeMaterial"^^xsd:string
[ sp:varName "productInventoryWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "piPart"^^xsd:string
[ sp:varName "component"^^xsd:string
]
] [ sp:object
[ sp:varName "wholeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "piWholeMaterial"^^xsd:string
[ sp:varName "productInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
......@@ -2199,18 +2190,18 @@ mpr-tables:ProductionInventory
[ sp:varName "wholeType"^^xsd:string
]
] [ sp:object
[ sp:varName "piWholeMaterial"^^xsd:string
[ sp:varName "productInventoryWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "piWhole"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "wholeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "piWhole"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
......@@ -2218,7 +2209,7 @@ mpr-tables:ProductionInventory
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "piWhole"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDefinitionType> ;
sp:predicate rdf:type ;
......