David Price

made flow properties optional

......@@ -279,107 +279,113 @@ dpr-tables:ProductFlows
sp:subject
[ sp:varName "flowDefinition"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "productFlowWholeLife"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object
[ sp:varName "productMaterialType"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productMaterialType"^^xsd:string
]
] [ sp:object
[ sp:varName "productMaterialName"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "productMaterialType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "pressure"^^xsd:string
[ sp:varName "productFlow"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "density"^^xsd:string
[ sp:varName "productFlowWholeLife"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object
[ sp:varName "temperatureValue"^^xsd:string
[ sp:varName "productMaterialType"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kelvin> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
[ sp:varName "productFlowWholeLife"^^xsd:string
]
] [ sp:object
[ sp:varName "pressureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
[ sp:varName "productMaterialType"^^xsd:string
]
] [ sp:object
[ sp:varName "densityValue"^^xsd:string
[ sp:varName "productMaterialName"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "density"^^xsd:string
[ sp:varName "productMaterialType"^^xsd:string
]
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "pressure"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
] [ sp:object
[ sp:varName "pressureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#pascal> ;
sp:subject
[ sp:varName "pressure"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "temperature"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
] [ sp:object
[ sp:varName "temperatureValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kelvin> ;
sp:subject
[ sp:varName "temperature"^^xsd:string
]
])
] [ rdf:type sp:Optional ;
sp:elements ([ sp:object
[ sp:varName "density"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "productFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "density"^^xsd:string
]
] [ sp:object
[ sp:varName "densityValue"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#kilogram_m-3> ;
sp:subject
[ sp:varName "density"^^xsd:string
]
])
])
])
] ;
......