David Price

ERH GRAPH for Production Inventory working

......@@ -2205,65 +2205,62 @@ mpr-tables:ProductionInventory
sp:subject
[ sp:varName "productInventoryInPeriod"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#ReportingProductType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "productInventoryWholeType"^^xsd:string
[ sp:varName "productionInventoryWholeName"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#ReportingProductType> ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/erhfacts#name> ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeTypeName"^^xsd:string
]) ;
sp:graphNameNode <http://www.reportinghub.no/data/erh>
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productionInventoryType"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
[ sp:varName "productionInventoryType"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryWholeName"^^xsd:string
[ sp:varName "productionInventoryTypeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/erhfacts#name> ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
[ sp:varName "productionInventoryType"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/data/erh>
] [ rdf:type sp:Optional ;
sp:elements ([ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "productionInventoryType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryType"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productionInventoryType"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/data/erh>
])
])
])
......@@ -2447,65 +2444,62 @@ mpr-tables:ProductionInventoryOwnership
sp:subject
[ sp:varName "productInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#ReportingProductType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "productInventoryWholeType"^^xsd:string
[ sp:varName "productionInventoryWholeName"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#ReportingProductType> ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/erhfacts#name> ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWholeTypeName"^^xsd:string
]) ;
sp:graphNameNode <http://www.reportinghub.no/data/erh>
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "productionInventoryType"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productInventoryWholeType"^^xsd:string
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object
[ sp:varName "productInventoryWhole"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
[ sp:varName "productionInventoryType"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryWholeName"^^xsd:string
[ sp:varName "productionInventoryTypeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/erhfacts#name> ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
[ sp:varName "productionInventoryType"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/data/erh>
] [ rdf:type sp:Optional ;
sp:elements ([ rdf:type sp:NamedGraph ;
sp:elements ([ sp:object
[ sp:varName "productionInventoryType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionInventoryDefinitionType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionInventoryType"^^xsd:string
]
] [ sp:object
[ sp:varName "productionInventoryTypeName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productionInventoryType"^^xsd:string
]
]) ;
sp:graphNameNode <http://www.reportinghub.no/data/erh>
])
])
])
......