Added function ep-dpr-spin-lib:buildDailyProductionActivityURI
Showing
2 changed files
with
81 additions
and
51 deletions
| 1 | -# Saved by TopBraid on Wed Oct 12 14:16:37 BST 2011 | 1 | +# Saved by TopBraid on Wed Oct 12 16:06:08 BST 2011 |
| 2 | # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib | 2 | # baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/geography | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/geography |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/well | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/well |
| ... | @@ -51,13 +51,40 @@ ep-dpr-spin-lib:buildCountryURI | ... | @@ -51,13 +51,40 @@ ep-dpr-spin-lib:buildCountryURI |
| 51 | ]) | 51 | ]) |
| 52 | ] . | 52 | ] . |
| 53 | 53 | ||
| 54 | +ep-dpr-spin-lib:buildDailyProductionActivityURI | ||
| 55 | + rdf:type spin:Function ; | ||
| 56 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
| 57 | + spin:body | ||
| 58 | + [ rdf:type sp:Select ; | ||
| 59 | + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) | ||
| 60 | +arg2 is start date | ||
| 61 | +arg3 is end date"""^^xsd:string ; | ||
| 62 | + sp:resultVariables (_:b2) ; | ||
| 63 | + sp:where ([ rdf:type sp:Bind ; | ||
| 64 | + sp:expression | ||
| 65 | + [ rdf:type ep-spin-lib:buildURI ; | ||
| 66 | + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionActivity/" ; | ||
| 67 | + sp:arg2 [ rdf:type fn:concat ; | ||
| 68 | + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 69 | + sp:arg1 spin:_arg1 | ||
| 70 | + ] ; | ||
| 71 | + sp:arg2 "$" ; | ||
| 72 | + sp:arg3 spin:_arg2 ; | ||
| 73 | + sp:arg4 "$" ; | ||
| 74 | + sp:arg5 spin:_arg3 | ||
| 75 | + ] | ||
| 76 | + ] ; | ||
| 77 | + sp:variable _:b2 | ||
| 78 | + ]) | ||
| 79 | + ] . | ||
| 80 | + | ||
| 54 | ep-dpr-spin-lib:buildProductFlowURI | 81 | ep-dpr-spin-lib:buildProductFlowURI |
| 55 | rdf:type spin:Function ; | 82 | rdf:type spin:Function ; |
| 56 | rdfs:label "build ProductFlow URI"^^xsd:string ; | 83 | rdfs:label "build ProductFlow URI"^^xsd:string ; |
| 57 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 84 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 58 | spin:body | 85 | spin:body |
| 59 | [ rdf:type sp:Select ; | 86 | [ rdf:type sp:Select ; |
| 60 | - sp:resultVariables (_:b2) ; | 87 | + sp:resultVariables (_:b3) ; |
| 61 | sp:where ([ rdf:type sp:Bind ; | 88 | sp:where ([ rdf:type sp:Bind ; |
| 62 | sp:expression | 89 | sp:expression |
| 63 | [ rdf:type ep-spin-lib:buildURI ; | 90 | [ rdf:type ep-spin-lib:buildURI ; |
| ... | @@ -68,7 +95,7 @@ ep-dpr-spin-lib:buildProductFlowURI | ... | @@ -68,7 +95,7 @@ ep-dpr-spin-lib:buildProductFlowURI |
| 68 | sp:arg3 spin:_arg2 | 95 | sp:arg3 spin:_arg2 |
| 69 | ] | 96 | ] |
| 70 | ] ; | 97 | ] ; |
| 71 | - sp:variable _:b2 | 98 | + sp:variable _:b3 |
| 72 | ]) | 99 | ]) |
| 73 | ] . | 100 | ] . |
| 74 | 101 | ||
| ... | @@ -78,7 +105,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI | ... | @@ -78,7 +105,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI |
| 78 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 105 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 79 | spin:body | 106 | spin:body |
| 80 | [ rdf:type sp:Select ; | 107 | [ rdf:type sp:Select ; |
| 81 | - sp:resultVariables (_:b3) ; | 108 | + sp:resultVariables (_:b4) ; |
| 82 | sp:where ([ rdf:type sp:Bind ; | 109 | sp:where ([ rdf:type sp:Bind ; |
| 83 | sp:expression | 110 | sp:expression |
| 84 | [ rdf:type ep-spin-lib:buildURI ; | 111 | [ rdf:type ep-spin-lib:buildURI ; |
| ... | @@ -87,7 +114,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI | ... | @@ -87,7 +114,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI |
| 87 | sp:arg1 spin:_arg1 | 114 | sp:arg1 spin:_arg1 |
| 88 | ] | 115 | ] |
| 89 | ] ; | 116 | ] ; |
| 90 | - sp:variable _:b3 | 117 | + sp:variable _:b4 |
| 91 | ]) | 118 | ]) |
| 92 | ] . | 119 | ] . |
| 93 | 120 | ||
| ... | @@ -97,7 +124,7 @@ ep-dpr-spin-lib:buildProductionFlowURI | ... | @@ -97,7 +124,7 @@ ep-dpr-spin-lib:buildProductionFlowURI |
| 97 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 124 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 98 | spin:body | 125 | spin:body |
| 99 | [ rdf:type sp:Select ; | 126 | [ rdf:type sp:Select ; |
| 100 | - sp:resultVariables (_:b4) ; | 127 | + sp:resultVariables (_:b5) ; |
| 101 | sp:where ([ rdf:type sp:Bind ; | 128 | sp:where ([ rdf:type sp:Bind ; |
| 102 | sp:expression | 129 | sp:expression |
| 103 | [ rdf:type ep-spin-lib:buildURI ; | 130 | [ rdf:type ep-spin-lib:buildURI ; |
| ... | @@ -106,7 +133,7 @@ ep-dpr-spin-lib:buildProductionFlowURI | ... | @@ -106,7 +133,7 @@ ep-dpr-spin-lib:buildProductionFlowURI |
| 106 | sp:arg1 spin:_arg1 | 133 | sp:arg1 spin:_arg1 |
| 107 | ] | 134 | ] |
| 108 | ] ; | 135 | ] ; |
| 109 | - sp:variable _:b4 | 136 | + sp:variable _:b5 |
| 110 | ]) | 137 | ]) |
| 111 | ] . | 138 | ] . |
| 112 | 139 | ||
| ... | @@ -116,7 +143,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI | ... | @@ -116,7 +143,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI |
| 116 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 143 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 117 | spin:body | 144 | spin:body |
| 118 | [ rdf:type sp:Select ; | 145 | [ rdf:type sp:Select ; |
| 119 | - sp:resultVariables (_:b5) ; | 146 | + sp:resultVariables (_:b6) ; |
| 120 | sp:where ([ rdf:type sp:Bind ; | 147 | sp:where ([ rdf:type sp:Bind ; |
| 121 | sp:expression | 148 | sp:expression |
| 122 | [ rdf:type ep-spin-lib:buildURI ; | 149 | [ rdf:type ep-spin-lib:buildURI ; |
| ... | @@ -129,7 +156,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI | ... | @@ -129,7 +156,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI |
| 129 | sp:arg5 spin:_arg3 | 156 | sp:arg5 spin:_arg3 |
| 130 | ] | 157 | ] |
| 131 | ] ; | 158 | ] ; |
| 132 | - sp:variable _:b5 | 159 | + sp:variable _:b6 |
| 133 | ]) | 160 | ]) |
| 134 | ] . | 161 | ] . |
| 135 | 162 | ||
| ... | @@ -139,7 +166,7 @@ ep-dpr-spin-lib:buildStateURI | ... | @@ -139,7 +166,7 @@ ep-dpr-spin-lib:buildStateURI |
| 139 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 166 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 140 | spin:body | 167 | spin:body |
| 141 | [ rdf:type sp:Select ; | 168 | [ rdf:type sp:Select ; |
| 142 | - sp:resultVariables (_:b6) ; | 169 | + sp:resultVariables (_:b7) ; |
| 143 | sp:where ([ rdf:type sp:Bind ; | 170 | sp:where ([ rdf:type sp:Bind ; |
| 144 | sp:expression | 171 | sp:expression |
| 145 | [ rdf:type ep-spin-lib:buildURI ; | 172 | [ rdf:type ep-spin-lib:buildURI ; |
| ... | @@ -148,7 +175,7 @@ ep-dpr-spin-lib:buildStateURI | ... | @@ -148,7 +175,7 @@ ep-dpr-spin-lib:buildStateURI |
| 148 | sp:arg1 spin:_arg1 | 175 | sp:arg1 spin:_arg1 |
| 149 | ] | 176 | ] |
| 150 | ] ; | 177 | ] ; |
| 151 | - sp:variable _:b6 | 178 | + sp:variable _:b7 |
| 152 | ]) | 179 | ]) |
| 153 | ] . | 180 | ] . |
| 154 | 181 | ||
| ... | @@ -158,7 +185,7 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -158,7 +185,7 @@ ep-dpr-spin-lib:selectProductType |
| 158 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 185 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 159 | spin:body | 186 | spin:body |
| 160 | [ rdf:type sp:Select ; | 187 | [ rdf:type sp:Select ; |
| 161 | - sp:resultVariables (_:b7) ; | 188 | + sp:resultVariables (_:b8) ; |
| 162 | sp:where ([ rdf:type sp:Bind ; | 189 | sp:where ([ rdf:type sp:Bind ; |
| 163 | sp:expression | 190 | sp:expression |
| 164 | [ rdf:type sp:if ; | 191 | [ rdf:type sp:if ; |
| ... | @@ -365,7 +392,7 @@ ep-dpr-spin-lib:selectProductType | ... | @@ -365,7 +392,7 @@ ep-dpr-spin-lib:selectProductType |
| 365 | ] | 392 | ] |
| 366 | ] | 393 | ] |
| 367 | ] ; | 394 | ] ; |
| 368 | - sp:variable _:b7 | 395 | + sp:variable _:b8 |
| 369 | ]) | 396 | ]) |
| 370 | ] . | 397 | ] . |
| 371 | 398 | ||
| ... | @@ -375,7 +402,7 @@ ep-dpr-spin-lib:selectProductionFacilityType | ... | @@ -375,7 +402,7 @@ ep-dpr-spin-lib:selectProductionFacilityType |
| 375 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 402 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 376 | spin:body | 403 | spin:body |
| 377 | [ rdf:type sp:Select ; | 404 | [ rdf:type sp:Select ; |
| 378 | - sp:resultVariables (_:b8) ; | 405 | + sp:resultVariables (_:b9) ; |
| 379 | sp:where ([ rdf:type sp:Bind ; | 406 | sp:where ([ rdf:type sp:Bind ; |
| 380 | sp:expression | 407 | sp:expression |
| 381 | [ rdf:type sp:if ; | 408 | [ rdf:type sp:if ; |
| ... | @@ -554,7 +581,7 @@ ep-dpr-spin-lib:selectProductionFacilityType | ... | @@ -554,7 +581,7 @@ ep-dpr-spin-lib:selectProductionFacilityType |
| 554 | ] | 581 | ] |
| 555 | ] | 582 | ] |
| 556 | ] ; | 583 | ] ; |
| 557 | - sp:variable _:b8 | 584 | + sp:variable _:b9 |
| 558 | ]) | 585 | ]) |
| 559 | ] . | 586 | ] . |
| 560 | 587 | ||
| ... | @@ -564,7 +591,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType | ... | @@ -564,7 +591,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType |
| 564 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 591 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 565 | spin:body | 592 | spin:body |
| 566 | [ rdf:type sp:Select ; | 593 | [ rdf:type sp:Select ; |
| 567 | - sp:resultVariables (_:b9) ; | 594 | + sp:resultVariables (_:b10) ; |
| 568 | sp:where ([ rdf:type sp:Bind ; | 595 | sp:where ([ rdf:type sp:Bind ; |
| 569 | sp:expression | 596 | sp:expression |
| 570 | [ rdf:type sp:if ; | 597 | [ rdf:type sp:if ; |
| ... | @@ -624,7 +651,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType | ... | @@ -624,7 +651,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType |
| 624 | ] | 651 | ] |
| 625 | ] | 652 | ] |
| 626 | ] ; | 653 | ] ; |
| 627 | - sp:variable _:b9 | 654 | + sp:variable _:b10 |
| 628 | ]) | 655 | ]) |
| 629 | ] . | 656 | ] . |
| 630 | 657 | ||
| ... | @@ -634,7 +661,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType | ... | @@ -634,7 +661,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType |
| 634 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 661 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 635 | spin:body | 662 | spin:body |
| 636 | [ rdf:type sp:Select ; | 663 | [ rdf:type sp:Select ; |
| 637 | - sp:resultVariables (_:b10) ; | 664 | + sp:resultVariables (_:b11) ; |
| 638 | sp:where ([ rdf:type sp:Bind ; | 665 | sp:where ([ rdf:type sp:Bind ; |
| 639 | sp:expression | 666 | sp:expression |
| 640 | [ rdf:type sp:if ; | 667 | [ rdf:type sp:if ; |
| ... | @@ -652,7 +679,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType | ... | @@ -652,7 +679,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType |
| 652 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> | 679 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> |
| 653 | ] | 680 | ] |
| 654 | ] ; | 681 | ] ; |
| 655 | - sp:variable _:b10 | 682 | + sp:variable _:b11 |
| 656 | ]) | 683 | ]) |
| 657 | ] . | 684 | ] . |
| 658 | 685 | ||
| ... | @@ -662,7 +689,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType | ... | @@ -662,7 +689,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType |
| 662 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 689 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 663 | spin:body | 690 | spin:body |
| 664 | [ rdf:type sp:Select ; | 691 | [ rdf:type sp:Select ; |
| 665 | - sp:resultVariables (_:b11) ; | 692 | + sp:resultVariables (_:b12) ; |
| 666 | sp:where ([ rdf:type sp:Bind ; | 693 | sp:where ([ rdf:type sp:Bind ; |
| 667 | sp:expression | 694 | sp:expression |
| 668 | [ rdf:type sp:if ; | 695 | [ rdf:type sp:if ; |
| ... | @@ -680,7 +707,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType | ... | @@ -680,7 +707,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType |
| 680 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> | 707 | sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> |
| 681 | ] | 708 | ] |
| 682 | ] ; | 709 | ] ; |
| 683 | - sp:variable _:b11 | 710 | + sp:variable _:b12 |
| 684 | ]) | 711 | ]) |
| 685 | ] . | 712 | ] . |
| 686 | 713 | ||
| ... | @@ -690,7 +717,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -690,7 +717,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
| 690 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 717 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 691 | spin:body | 718 | spin:body |
| 692 | [ rdf:type sp:Select ; | 719 | [ rdf:type sp:Select ; |
| 693 | - sp:resultVariables (_:b12) ; | 720 | + sp:resultVariables (_:b13) ; |
| 694 | sp:where ([ rdf:type sp:Bind ; | 721 | sp:where ([ rdf:type sp:Bind ; |
| 695 | sp:expression | 722 | sp:expression |
| 696 | [ rdf:type sp:if ; | 723 | [ rdf:type sp:if ; |
| ... | @@ -841,7 +868,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType | ... | @@ -841,7 +868,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType |
| 841 | ] | 868 | ] |
| 842 | ] | 869 | ] |
| 843 | ] ; | 870 | ] ; |
| 844 | - sp:variable _:b12 | 871 | + sp:variable _:b13 |
| 845 | ]) | 872 | ]) |
| 846 | ] . | 873 | ] . |
| 847 | 874 | ||
| ... | @@ -851,7 +878,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure | ... | @@ -851,7 +878,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure |
| 851 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 878 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 852 | spin:body | 879 | spin:body |
| 853 | [ rdf:type sp:Select ; | 880 | [ rdf:type sp:Select ; |
| 854 | - sp:resultVariables (_:b13) ; | 881 | + sp:resultVariables (_:b14) ; |
| 855 | sp:where ([ rdf:type sp:Bind ; | 882 | sp:where ([ rdf:type sp:Bind ; |
| 856 | sp:expression | 883 | sp:expression |
| 857 | [ rdf:type sp:if ; | 884 | [ rdf:type sp:if ; |
| ... | @@ -925,7 +952,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure | ... | @@ -925,7 +952,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure |
| 925 | ] | 952 | ] |
| 926 | ] | 953 | ] |
| 927 | ] ; | 954 | ] ; |
| 928 | - sp:variable _:b13 | 955 | + sp:variable _:b14 |
| 929 | ]) | 956 | ]) |
| 930 | ] . | 957 | ] . |
| 931 | 958 | ||
| ... | @@ -934,7 +961,7 @@ ep-dpr-spin-lib:selectSafetyActivityType | ... | @@ -934,7 +961,7 @@ ep-dpr-spin-lib:selectSafetyActivityType |
| 934 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 961 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 935 | spin:body | 962 | spin:body |
| 936 | [ rdf:type sp:Select ; | 963 | [ rdf:type sp:Select ; |
| 937 | - sp:resultVariables (_:b14) ; | 964 | + sp:resultVariables (_:b15) ; |
| 938 | sp:where ([ rdf:type sp:Bind ; | 965 | sp:where ([ rdf:type sp:Bind ; |
| 939 | sp:expression | 966 | sp:expression |
| 940 | [ rdf:type sp:if ; | 967 | [ rdf:type sp:if ; |
| ... | @@ -1078,7 +1105,7 @@ ep-dpr-spin-lib:selectSafetyActivityType | ... | @@ -1078,7 +1105,7 @@ ep-dpr-spin-lib:selectSafetyActivityType |
| 1078 | ] | 1105 | ] |
| 1079 | ] | 1106 | ] |
| 1080 | ] ; | 1107 | ] ; |
| 1081 | - sp:variable _:b14 | 1108 | + sp:variable _:b15 |
| 1082 | ]) | 1109 | ]) |
| 1083 | ] . | 1110 | ] . |
| 1084 | 1111 | ||
| ... | @@ -1088,7 +1115,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -1088,7 +1115,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
| 1088 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1115 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 1089 | spin:body | 1116 | spin:body |
| 1090 | [ rdf:type sp:Select ; | 1117 | [ rdf:type sp:Select ; |
| 1091 | - sp:resultVariables (_:b15) ; | 1118 | + sp:resultVariables (_:b16) ; |
| 1092 | sp:where ([ rdf:type sp:Bind ; | 1119 | sp:where ([ rdf:type sp:Bind ; |
| 1093 | sp:expression | 1120 | sp:expression |
| 1094 | [ rdf:type sp:if ; | 1121 | [ rdf:type sp:if ; |
| ... | @@ -1162,7 +1189,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType | ... | @@ -1162,7 +1189,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType |
| 1162 | ] | 1189 | ] |
| 1163 | ] | 1190 | ] |
| 1164 | ] ; | 1191 | ] ; |
| 1165 | - sp:variable _:b15 | 1192 | + sp:variable _:b16 |
| 1166 | ]) | 1193 | ]) |
| 1167 | ] . | 1194 | ] . |
| 1168 | 1195 | ||
| ... | @@ -1171,7 +1198,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType | ... | @@ -1171,7 +1198,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType |
| 1171 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1198 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 1172 | spin:body | 1199 | spin:body |
| 1173 | [ rdf:type sp:Select ; | 1200 | [ rdf:type sp:Select ; |
| 1174 | - sp:resultVariables (_:b16) ; | 1201 | + sp:resultVariables (_:b17) ; |
| 1175 | sp:where ([ rdf:type sp:Bind ; | 1202 | sp:where ([ rdf:type sp:Bind ; |
| 1176 | sp:expression | 1203 | sp:expression |
| 1177 | [ rdf:type sp:if ; | 1204 | [ rdf:type sp:if ; |
| ... | @@ -1245,7 +1272,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType | ... | @@ -1245,7 +1272,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType |
| 1245 | ] | 1272 | ] |
| 1246 | ] | 1273 | ] |
| 1247 | ] ; | 1274 | ] ; |
| 1248 | - sp:variable _:b16 | 1275 | + sp:variable _:b17 |
| 1249 | ]) | 1276 | ]) |
| 1250 | ] . | 1277 | ] . |
| 1251 | 1278 | ||
| ... | @@ -1255,7 +1282,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType | ... | @@ -1255,7 +1282,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType |
| 1255 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1282 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 1256 | spin:body | 1283 | spin:body |
| 1257 | [ rdf:type sp:Select ; | 1284 | [ rdf:type sp:Select ; |
| 1258 | - sp:resultVariables (_:b17) ; | 1285 | + sp:resultVariables (_:b18) ; |
| 1259 | sp:where ([ rdf:type sp:Bind ; | 1286 | sp:where ([ rdf:type sp:Bind ; |
| 1260 | sp:expression | 1287 | sp:expression |
| 1261 | [ rdf:type sp:if ; | 1288 | [ rdf:type sp:if ; |
| ... | @@ -1280,7 +1307,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType | ... | @@ -1280,7 +1307,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType |
| 1280 | ] | 1307 | ] |
| 1281 | ] | 1308 | ] |
| 1282 | ] ; | 1309 | ] ; |
| 1283 | - sp:variable _:b17 | 1310 | + sp:variable _:b18 |
| 1284 | ]) | 1311 | ]) |
| 1285 | ] . | 1312 | ] . |
| 1286 | 1313 | ||
| ... | @@ -1290,7 +1317,7 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -1290,7 +1317,7 @@ ep-dpr-spin-lib:selectVolumeScale |
| 1290 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 1317 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 1291 | spin:body | 1318 | spin:body |
| 1292 | [ rdf:type sp:Select ; | 1319 | [ rdf:type sp:Select ; |
| 1293 | - sp:resultVariables (_:b18) ; | 1320 | + sp:resultVariables (_:b19) ; |
| 1294 | sp:where ([ rdf:type sp:Bind ; | 1321 | sp:where ([ rdf:type sp:Bind ; |
| 1295 | sp:expression | 1322 | sp:expression |
| 1296 | [ rdf:type sp:if ; | 1323 | [ rdf:type sp:if ; |
| ... | @@ -1518,39 +1545,47 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -1518,39 +1545,47 @@ ep-dpr-spin-lib:selectVolumeScale |
| 1518 | ] | 1545 | ] |
| 1519 | ] | 1546 | ] |
| 1520 | ] ; | 1547 | ] ; |
| 1521 | - sp:variable _:b18 | 1548 | + sp:variable _:b19 |
| 1522 | ]) | 1549 | ]) |
| 1523 | ] . | 1550 | ] . |
| 1524 | 1551 | ||
| 1525 | -_:b18 | 1552 | +_:b2 sp:varName "uri"^^xsd:string . |
| 1553 | + | ||
| 1554 | +_:b19 | ||
| 1526 | sp:varName "volumeScale"^^xsd:string . | 1555 | sp:varName "volumeScale"^^xsd:string . |
| 1527 | 1556 | ||
| 1528 | -_:b17 | 1557 | +_:b18 |
| 1529 | sp:varName "volumeAtStdType"^^xsd:string . | 1558 | sp:varName "volumeAtStdType"^^xsd:string . |
| 1530 | 1559 | ||
| 1531 | -_:b15 | 1560 | +_:b17 |
| 1561 | + sp:varName "prodActType"^^xsd:string . | ||
| 1562 | + | ||
| 1563 | +_:b16 | ||
| 1532 | sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | 1564 | sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . |
| 1533 | 1565 | ||
| 1534 | -_:b14 | 1566 | +_:b15 |
| 1535 | sp:varName "safetyActivityType"^^xsd:string . | 1567 | sp:varName "safetyActivityType"^^xsd:string . |
| 1536 | 1568 | ||
| 1537 | -_:b13 | 1569 | +_:b14 |
| 1538 | sp:varName "relationshipToMeasure"^^xsd:string . | 1570 | sp:varName "relationshipToMeasure"^^xsd:string . |
| 1539 | 1571 | ||
| 1540 | -_:b12 | 1572 | +_:b13 |
| 1541 | sp:varName "productionFlowPurposeType"^^xsd:string . | 1573 | sp:varName "productionFlowPurposeType"^^xsd:string . |
| 1542 | 1574 | ||
| 1575 | +_:b12 | ||
| 1576 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
| 1577 | + | ||
| 1543 | _:b11 | 1578 | _:b11 |
| 1544 | sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | 1579 | sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . |
| 1545 | 1580 | ||
| 1546 | _:b10 | 1581 | _:b10 |
| 1547 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | 1582 | + sp:varName "productionFlowDefinitionType"^^xsd:string . |
| 1548 | 1583 | ||
| 1549 | -_:b9 sp:varName "productionFlowDefinitionType"^^xsd:string . | 1584 | +_:b9 sp:varName "productionFacilityType"^^xsd:string . |
| 1550 | 1585 | ||
| 1551 | -_:b8 sp:varName "productionFacilityType"^^xsd:string . | 1586 | +_:b8 sp:varName "productType"^^xsd:string . |
| 1552 | 1587 | ||
| 1553 | -_:b7 sp:varName "productType"^^xsd:string . | 1588 | +_:b7 sp:varName "uri"^^xsd:string . |
| 1554 | 1589 | ||
| 1555 | _:b6 sp:varName "uri"^^xsd:string . | 1590 | _:b6 sp:varName "uri"^^xsd:string . |
| 1556 | 1591 | ||
| ... | @@ -1560,9 +1595,4 @@ _:b4 sp:varName "uri"^^xsd:string . | ... | @@ -1560,9 +1595,4 @@ _:b4 sp:varName "uri"^^xsd:string . |
| 1560 | 1595 | ||
| 1561 | _:b3 sp:varName "uri"^^xsd:string . | 1596 | _:b3 sp:varName "uri"^^xsd:string . |
| 1562 | 1597 | ||
| 1563 | -_:b2 sp:varName "uri"^^xsd:string . | ||
| 1564 | - | ||
| 1565 | _:b1 sp:varName "uri"^^xsd:string . | 1598 | _:b1 sp:varName "uri"^^xsd:string . |
| 1566 | - | ||
| 1567 | -_:b16 | ||
| 1568 | - sp:varName "prodActType"^^xsd:string . | ... | ... |
| 1 | -# Saved by TopBraid on Wed Oct 12 14:16:38 BST 2011 | 1 | +# Saved by TopBraid on Wed Oct 12 16:06:08 BST 2011 |
| 2 | # baseURI: null | 2 | # baseURI: null |
| 3 | 3 | ||
| 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 4 | @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ... | ... |
-
Please register or login to post a comment