David Leal

delta to commonPropertiesProductVolume

......@@ -4582,30 +4582,54 @@
<http://www.epim.no/schemas/mprml/1#MolarFractionMeasurePercent>
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90105b Process molar fraction measure percent for an inventory"^^xsd:string ;
rdfs:comment "STEP 90105 Process molar fraction measure percent for a flow"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "parentFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
]
] [ sp:object
[ sp:varName "wholeAmountOfSubstance"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parentInventory"^^xsd:string
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wholeVolume"^^xsd:string
[ sp:varName "wholeAmountOfSubstance"^^xsd:string
]
] [ sp:object
[ sp:varName "partQuantityOfMaterial"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partQuantityOfMaterial"^^xsd:string
]
] [ sp:object
[ sp:varName "partAmountOfSubstance"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "inventory"^^xsd:string
[ sp:varName "partQuantityOfMaterial"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partVolume"^^xsd:string
[ sp:varName "partAmountOfSubstance"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstancePair> ;
sp:predicate rdf:type ;
......@@ -4642,24 +4666,24 @@
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "inventory"^^xsd:string
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "inventory"^^xsd:string
[ sp:varName "flow"^^xsd:string
]
] [ sp:object
[ sp:varName "inventory"^^xsd:string
[ sp:varName "flow"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:subject
[ sp:varName "parentInventory"^^xsd:string
[ sp:varName "parentFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parentInventory"^^xsd:string
[ sp:varName "parentFlow"^^xsd:string
]
] [ sp:object
[ sp:varName "realAmountOfSubstancePerAmountOfSubstance"^^xsd:string
......@@ -4671,7 +4695,21 @@
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "parentInventory"^^xsd:string
sp:arg1 [ sp:varName "parentFlow"^^xsd:string
]
] ;
sp:arg2 "/QuantityOfMaterial"
]
] ;
sp:variable
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "wholeQuantityOfMaterial"^^xsd:string
]
] ;
sp:arg2 "/AmountOfSubstance"
......@@ -4685,7 +4723,21 @@
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "inventory"^^xsd:string
sp:arg1 [ sp:varName "flow"^^xsd:string
]
] ;
sp:arg2 "/QuantityOfMaterial"
]
] ;
sp:variable
[ sp:varName "partQuantityOfMaterial"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "partQuantityOfMaterial"^^xsd:string
]
] ;
sp:arg2 "/AmountOfSubstance"
......@@ -4698,54 +4750,30 @@
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "STEP 90105 Process molar fraction measure percent for a flow"^^xsd:string ;
rdfs:comment "STEP 90105b Process molar fraction measure percent for an inventory"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "parentFlow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
]
] [ sp:object
[ sp:varName "wholeAmountOfSubstance"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
[ sp:varName "parentInventory"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "wholeVolume"^^xsd:string
]
] [ sp:object
[ sp:varName "partQuantityOfMaterial"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
sp:subject
[ sp:varName "flow"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partQuantityOfMaterial"^^xsd:string
[ sp:varName "wholeAmountOfSubstance"^^xsd:string
]
] [ sp:object
[ sp:varName "partAmountOfSubstance"^^xsd:string
] ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partQuantityOfMaterial"^^xsd:string
[ sp:varName "inventory"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "partVolume"^^xsd:string
[ sp:varName "partAmountOfSubstance"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstancePair> ;
sp:predicate rdf:type ;
......@@ -4782,24 +4810,24 @@
] ;
sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
sp:subject
[ sp:varName "flow"^^xsd:string
[ sp:varName "inventory"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "flow"^^xsd:string
[ sp:varName "inventory"^^xsd:string
]
] [ sp:object
[ sp:varName "flow"^^xsd:string
[ sp:varName "inventory"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ;
sp:subject
[ sp:varName "parentFlow"^^xsd:string
[ sp:varName "parentInventory"^^xsd:string
]
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ;
sp:predicate rdf:type ;
sp:subject
[ sp:varName "parentFlow"^^xsd:string
[ sp:varName "parentInventory"^^xsd:string
]
] [ sp:object
[ sp:varName "realAmountOfSubstancePerAmountOfSubstance"^^xsd:string
......@@ -4811,21 +4839,7 @@
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "parentFlow"^^xsd:string
]
] ;
sp:arg2 "/QuantityOfMaterial"
]
] ;
sp:variable
[ sp:varName "wholeQuantityOfMaterial"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "wholeQuantityOfMaterial"^^xsd:string
sp:arg1 [ sp:varName "parentInventory"^^xsd:string
]
] ;
sp:arg2 "/AmountOfSubstance"
......@@ -4839,21 +4853,7 @@
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "flow"^^xsd:string
]
] ;
sp:arg2 "/QuantityOfMaterial"
]
] ;
sp:variable
[ sp:varName "partQuantityOfMaterial"^^xsd:string
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:iri ;
sp:arg1 [ rdf:type fn:concat ;
sp:arg1 [ rdf:type xsd:string ;
sp:arg1 [ sp:varName "partQuantityOfMaterial"^^xsd:string
sp:arg1 [ sp:varName "inventory"^^xsd:string
]
] ;
sp:arg2 "/AmountOfSubstance"
......