Showing
1 changed file
with
82 additions
and
82 deletions
... | @@ -4582,30 +4582,54 @@ | ... | @@ -4582,30 +4582,54 @@ |
4582 | <http://www.epim.no/schemas/mprml/1#MolarFractionMeasurePercent> | 4582 | <http://www.epim.no/schemas/mprml/1#MolarFractionMeasurePercent> |
4583 | spin:rule | 4583 | spin:rule |
4584 | [ rdf:type sp:Construct ; | 4584 | [ rdf:type sp:Construct ; |
4585 | - rdfs:comment "STEP 90105b Process molar fraction measure percent for an inventory"^^xsd:string ; | 4585 | + rdfs:comment "STEP 90105 Process molar fraction measure percent for a flow"^^xsd:string ; |
4586 | sp:templates ([ sp:object | 4586 | sp:templates ([ sp:object |
4587 | + [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4588 | + ] ; | ||
4589 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
4590 | + sp:subject | ||
4591 | + [ sp:varName "parentFlow"^^xsd:string | ||
4592 | + ] | ||
4593 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
4594 | + sp:predicate rdf:type ; | ||
4595 | + sp:subject | ||
4596 | + [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4597 | + ] | ||
4598 | + ] [ sp:object | ||
4587 | [ sp:varName "wholeAmountOfSubstance"^^xsd:string | 4599 | [ sp:varName "wholeAmountOfSubstance"^^xsd:string |
4588 | ] ; | 4600 | ] ; |
4589 | sp:predicate rdf:type ; | 4601 | sp:predicate rdf:type ; |
4590 | sp:subject | 4602 | sp:subject |
4591 | - [ sp:varName "parentInventory"^^xsd:string | 4603 | + [ sp:varName "wholeQuantityOfMaterial"^^xsd:string |
4592 | ] | 4604 | ] |
4593 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; | 4605 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; |
4594 | sp:predicate rdf:type ; | 4606 | sp:predicate rdf:type ; |
4595 | sp:subject | 4607 | sp:subject |
4596 | - [ sp:varName "wholeVolume"^^xsd:string | 4608 | + [ sp:varName "wholeAmountOfSubstance"^^xsd:string |
4609 | + ] | ||
4610 | + ] [ sp:object | ||
4611 | + [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4612 | + ] ; | ||
4613 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
4614 | + sp:subject | ||
4615 | + [ sp:varName "flow"^^xsd:string | ||
4616 | + ] | ||
4617 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
4618 | + sp:predicate rdf:type ; | ||
4619 | + sp:subject | ||
4620 | + [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4597 | ] | 4621 | ] |
4598 | ] [ sp:object | 4622 | ] [ sp:object |
4599 | [ sp:varName "partAmountOfSubstance"^^xsd:string | 4623 | [ sp:varName "partAmountOfSubstance"^^xsd:string |
4600 | ] ; | 4624 | ] ; |
4601 | sp:predicate rdf:type ; | 4625 | sp:predicate rdf:type ; |
4602 | sp:subject | 4626 | sp:subject |
4603 | - [ sp:varName "inventory"^^xsd:string | 4627 | + [ sp:varName "partQuantityOfMaterial"^^xsd:string |
4604 | ] | 4628 | ] |
4605 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; | 4629 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; |
4606 | sp:predicate rdf:type ; | 4630 | sp:predicate rdf:type ; |
4607 | sp:subject | 4631 | sp:subject |
4608 | - [ sp:varName "partVolume"^^xsd:string | 4632 | + [ sp:varName "partAmountOfSubstance"^^xsd:string |
4609 | ] | 4633 | ] |
4610 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstancePair> ; | 4634 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstancePair> ; |
4611 | sp:predicate rdf:type ; | 4635 | sp:predicate rdf:type ; |
... | @@ -4642,24 +4666,24 @@ | ... | @@ -4642,24 +4666,24 @@ |
4642 | ] ; | 4666 | ] ; |
4643 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 4667 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
4644 | sp:subject | 4668 | sp:subject |
4645 | - [ sp:varName "inventory"^^xsd:string | 4669 | + [ sp:varName "flow"^^xsd:string |
4646 | ] | 4670 | ] |
4647 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; | 4671 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
4648 | sp:predicate rdf:type ; | 4672 | sp:predicate rdf:type ; |
4649 | sp:subject | 4673 | sp:subject |
4650 | - [ sp:varName "inventory"^^xsd:string | 4674 | + [ sp:varName "flow"^^xsd:string |
4651 | ] | 4675 | ] |
4652 | ] [ sp:object | 4676 | ] [ sp:object |
4653 | - [ sp:varName "inventory"^^xsd:string | 4677 | + [ sp:varName "flow"^^xsd:string |
4654 | ] ; | 4678 | ] ; |
4655 | - sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ; | 4679 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; |
4656 | sp:subject | 4680 | sp:subject |
4657 | - [ sp:varName "parentInventory"^^xsd:string | 4681 | + [ sp:varName "parentFlow"^^xsd:string |
4658 | ] | 4682 | ] |
4659 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; | 4683 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; |
4660 | sp:predicate rdf:type ; | 4684 | sp:predicate rdf:type ; |
4661 | sp:subject | 4685 | sp:subject |
4662 | - [ sp:varName "parentInventory"^^xsd:string | 4686 | + [ sp:varName "parentFlow"^^xsd:string |
4663 | ] | 4687 | ] |
4664 | ] [ sp:object | 4688 | ] [ sp:object |
4665 | [ sp:varName "realAmountOfSubstancePerAmountOfSubstance"^^xsd:string | 4689 | [ sp:varName "realAmountOfSubstancePerAmountOfSubstance"^^xsd:string |
... | @@ -4671,7 +4695,21 @@ | ... | @@ -4671,7 +4695,21 @@ |
4671 | [ rdf:type sp:iri ; | 4695 | [ rdf:type sp:iri ; |
4672 | sp:arg1 [ rdf:type fn:concat ; | 4696 | sp:arg1 [ rdf:type fn:concat ; |
4673 | sp:arg1 [ rdf:type xsd:string ; | 4697 | sp:arg1 [ rdf:type xsd:string ; |
4674 | - sp:arg1 [ sp:varName "parentInventory"^^xsd:string | 4698 | + sp:arg1 [ sp:varName "parentFlow"^^xsd:string |
4699 | + ] | ||
4700 | + ] ; | ||
4701 | + sp:arg2 "/QuantityOfMaterial" | ||
4702 | + ] | ||
4703 | + ] ; | ||
4704 | + sp:variable | ||
4705 | + [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4706 | + ] | ||
4707 | + ] [ rdf:type sp:Bind ; | ||
4708 | + sp:expression | ||
4709 | + [ rdf:type sp:iri ; | ||
4710 | + sp:arg1 [ rdf:type fn:concat ; | ||
4711 | + sp:arg1 [ rdf:type xsd:string ; | ||
4712 | + sp:arg1 [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4675 | ] | 4713 | ] |
4676 | ] ; | 4714 | ] ; |
4677 | sp:arg2 "/AmountOfSubstance" | 4715 | sp:arg2 "/AmountOfSubstance" |
... | @@ -4685,7 +4723,21 @@ | ... | @@ -4685,7 +4723,21 @@ |
4685 | [ rdf:type sp:iri ; | 4723 | [ rdf:type sp:iri ; |
4686 | sp:arg1 [ rdf:type fn:concat ; | 4724 | sp:arg1 [ rdf:type fn:concat ; |
4687 | sp:arg1 [ rdf:type xsd:string ; | 4725 | sp:arg1 [ rdf:type xsd:string ; |
4688 | - sp:arg1 [ sp:varName "inventory"^^xsd:string | 4726 | + sp:arg1 [ sp:varName "flow"^^xsd:string |
4727 | + ] | ||
4728 | + ] ; | ||
4729 | + sp:arg2 "/QuantityOfMaterial" | ||
4730 | + ] | ||
4731 | + ] ; | ||
4732 | + sp:variable | ||
4733 | + [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4734 | + ] | ||
4735 | + ] [ rdf:type sp:Bind ; | ||
4736 | + sp:expression | ||
4737 | + [ rdf:type sp:iri ; | ||
4738 | + sp:arg1 [ rdf:type fn:concat ; | ||
4739 | + sp:arg1 [ rdf:type xsd:string ; | ||
4740 | + sp:arg1 [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4689 | ] | 4741 | ] |
4690 | ] ; | 4742 | ] ; |
4691 | sp:arg2 "/AmountOfSubstance" | 4743 | sp:arg2 "/AmountOfSubstance" |
... | @@ -4698,54 +4750,30 @@ | ... | @@ -4698,54 +4750,30 @@ |
4698 | ] ; | 4750 | ] ; |
4699 | spin:rule | 4751 | spin:rule |
4700 | [ rdf:type sp:Construct ; | 4752 | [ rdf:type sp:Construct ; |
4701 | - rdfs:comment "STEP 90105 Process molar fraction measure percent for a flow"^^xsd:string ; | 4753 | + rdfs:comment "STEP 90105b Process molar fraction measure percent for an inventory"^^xsd:string ; |
4702 | sp:templates ([ sp:object | 4754 | sp:templates ([ sp:object |
4703 | - [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4704 | - ] ; | ||
4705 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
4706 | - sp:subject | ||
4707 | - [ sp:varName "parentFlow"^^xsd:string | ||
4708 | - ] | ||
4709 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
4710 | - sp:predicate rdf:type ; | ||
4711 | - sp:subject | ||
4712 | - [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4713 | - ] | ||
4714 | - ] [ sp:object | ||
4715 | [ sp:varName "wholeAmountOfSubstance"^^xsd:string | 4755 | [ sp:varName "wholeAmountOfSubstance"^^xsd:string |
4716 | ] ; | 4756 | ] ; |
4717 | sp:predicate rdf:type ; | 4757 | sp:predicate rdf:type ; |
4718 | sp:subject | 4758 | sp:subject |
4719 | - [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | 4759 | + [ sp:varName "parentInventory"^^xsd:string |
4720 | ] | 4760 | ] |
4721 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; | 4761 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; |
4722 | sp:predicate rdf:type ; | 4762 | sp:predicate rdf:type ; |
4723 | sp:subject | 4763 | sp:subject |
4724 | - [ sp:varName "wholeVolume"^^xsd:string | 4764 | + [ sp:varName "wholeAmountOfSubstance"^^xsd:string |
4725 | - ] | ||
4726 | - ] [ sp:object | ||
4727 | - [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4728 | - ] ; | ||
4729 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ; | ||
4730 | - sp:subject | ||
4731 | - [ sp:varName "flow"^^xsd:string | ||
4732 | - ] | ||
4733 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/material#QuantityOfMaterial> ; | ||
4734 | - sp:predicate rdf:type ; | ||
4735 | - sp:subject | ||
4736 | - [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4737 | ] | 4765 | ] |
4738 | ] [ sp:object | 4766 | ] [ sp:object |
4739 | [ sp:varName "partAmountOfSubstance"^^xsd:string | 4767 | [ sp:varName "partAmountOfSubstance"^^xsd:string |
4740 | ] ; | 4768 | ] ; |
4741 | sp:predicate rdf:type ; | 4769 | sp:predicate rdf:type ; |
4742 | sp:subject | 4770 | sp:subject |
4743 | - [ sp:varName "partQuantityOfMaterial"^^xsd:string | 4771 | + [ sp:varName "inventory"^^xsd:string |
4744 | ] | 4772 | ] |
4745 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; | 4773 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstance> ; |
4746 | sp:predicate rdf:type ; | 4774 | sp:predicate rdf:type ; |
4747 | sp:subject | 4775 | sp:subject |
4748 | - [ sp:varName "partVolume"^^xsd:string | 4776 | + [ sp:varName "partAmountOfSubstance"^^xsd:string |
4749 | ] | 4777 | ] |
4750 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstancePair> ; | 4778 | ] [ sp:object <http://www.reportinghub.no/ep/schema/core#AmountOfSubstancePair> ; |
4751 | sp:predicate rdf:type ; | 4779 | sp:predicate rdf:type ; |
... | @@ -4782,24 +4810,24 @@ | ... | @@ -4782,24 +4810,24 @@ |
4782 | ] ; | 4810 | ] ; |
4783 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 4811 | sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
4784 | sp:subject | 4812 | sp:subject |
4785 | - [ sp:varName "flow"^^xsd:string | 4813 | + [ sp:varName "inventory"^^xsd:string |
4786 | ] | 4814 | ] |
4787 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 4815 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; |
4788 | sp:predicate rdf:type ; | 4816 | sp:predicate rdf:type ; |
4789 | sp:subject | 4817 | sp:subject |
4790 | - [ sp:varName "flow"^^xsd:string | 4818 | + [ sp:varName "inventory"^^xsd:string |
4791 | ] | 4819 | ] |
4792 | ] [ sp:object | 4820 | ] [ sp:object |
4793 | - [ sp:varName "flow"^^xsd:string | 4821 | + [ sp:varName "inventory"^^xsd:string |
4794 | ] ; | 4822 | ] ; |
4795 | - sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | 4823 | + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasComponent> ; |
4796 | sp:subject | 4824 | sp:subject |
4797 | - [ sp:varName "parentFlow"^^xsd:string | 4825 | + [ sp:varName "parentInventory"^^xsd:string |
4798 | ] | 4826 | ] |
4799 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ; | 4827 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Inventory> ; |
4800 | sp:predicate rdf:type ; | 4828 | sp:predicate rdf:type ; |
4801 | sp:subject | 4829 | sp:subject |
4802 | - [ sp:varName "parentFlow"^^xsd:string | 4830 | + [ sp:varName "parentInventory"^^xsd:string |
4803 | ] | 4831 | ] |
4804 | ] [ sp:object | 4832 | ] [ sp:object |
4805 | [ sp:varName "realAmountOfSubstancePerAmountOfSubstance"^^xsd:string | 4833 | [ sp:varName "realAmountOfSubstancePerAmountOfSubstance"^^xsd:string |
... | @@ -4811,21 +4839,7 @@ | ... | @@ -4811,21 +4839,7 @@ |
4811 | [ rdf:type sp:iri ; | 4839 | [ rdf:type sp:iri ; |
4812 | sp:arg1 [ rdf:type fn:concat ; | 4840 | sp:arg1 [ rdf:type fn:concat ; |
4813 | sp:arg1 [ rdf:type xsd:string ; | 4841 | sp:arg1 [ rdf:type xsd:string ; |
4814 | - sp:arg1 [ sp:varName "parentFlow"^^xsd:string | 4842 | + sp:arg1 [ sp:varName "parentInventory"^^xsd:string |
4815 | - ] | ||
4816 | - ] ; | ||
4817 | - sp:arg2 "/QuantityOfMaterial" | ||
4818 | - ] | ||
4819 | - ] ; | ||
4820 | - sp:variable | ||
4821 | - [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4822 | - ] | ||
4823 | - ] [ rdf:type sp:Bind ; | ||
4824 | - sp:expression | ||
4825 | - [ rdf:type sp:iri ; | ||
4826 | - sp:arg1 [ rdf:type fn:concat ; | ||
4827 | - sp:arg1 [ rdf:type xsd:string ; | ||
4828 | - sp:arg1 [ sp:varName "wholeQuantityOfMaterial"^^xsd:string | ||
4829 | ] | 4843 | ] |
4830 | ] ; | 4844 | ] ; |
4831 | sp:arg2 "/AmountOfSubstance" | 4845 | sp:arg2 "/AmountOfSubstance" |
... | @@ -4839,21 +4853,7 @@ | ... | @@ -4839,21 +4853,7 @@ |
4839 | [ rdf:type sp:iri ; | 4853 | [ rdf:type sp:iri ; |
4840 | sp:arg1 [ rdf:type fn:concat ; | 4854 | sp:arg1 [ rdf:type fn:concat ; |
4841 | sp:arg1 [ rdf:type xsd:string ; | 4855 | sp:arg1 [ rdf:type xsd:string ; |
4842 | - sp:arg1 [ sp:varName "flow"^^xsd:string | 4856 | + sp:arg1 [ sp:varName "inventory"^^xsd:string |
4843 | - ] | ||
4844 | - ] ; | ||
4845 | - sp:arg2 "/QuantityOfMaterial" | ||
4846 | - ] | ||
4847 | - ] ; | ||
4848 | - sp:variable | ||
4849 | - [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4850 | - ] | ||
4851 | - ] [ rdf:type sp:Bind ; | ||
4852 | - sp:expression | ||
4853 | - [ rdf:type sp:iri ; | ||
4854 | - sp:arg1 [ rdf:type fn:concat ; | ||
4855 | - sp:arg1 [ rdf:type xsd:string ; | ||
4856 | - sp:arg1 [ sp:varName "partQuantityOfMaterial"^^xsd:string | ||
4857 | ] | 4857 | ] |
4858 | ] ; | 4858 | ] ; |
4859 | sp:arg2 "/AmountOfSubstance" | 4859 | sp:arg2 "/AmountOfSubstance" | ... | ... |
-
Please register or login to post a comment