David Price

MRG work

......@@ -2199,7 +2199,7 @@ mpr-tables:ProductionInventory
] [ sp:object
[ sp:varName "productionInventoryWholeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/erhfacts#name> ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
]
......@@ -2244,10 +2244,10 @@ mpr-tables:ProductionInventoryOwnership
sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
]
] [ sp:object
[ sp:varName "productionReport"^^xsd:string
[ sp:varName "report"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
sp:subject
......@@ -2337,24 +2337,17 @@ mpr-tables:ProductionInventoryOwnership
sp:subject
[ sp:varName "partOfOrg"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
] [ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "owningOrgName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "owningOrg"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "owningOrgName"^^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:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
sp:subject
[ sp:varName "owningOrg"^^xsd:string
]
])
] [ sp:object
[ sp:varName "quantityofmaterial"^^xsd:string
] ;
......@@ -2442,7 +2435,7 @@ mpr-tables:ProductionInventoryOwnership
] [ sp:object
[ sp:varName "productionInventoryWholeName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:predicate <http://www.reportinghub.no/ep/schema/erhfacts#name> ;
sp:subject
[ sp:varName "productionInventoryWhole"^^xsd:string
]
......