MonkeyChap

Added more URI functions

1 -# Saved by TopBraid on Wed Oct 12 16:06:08 BST 2011 1 +# Saved by TopBraid on Wed Oct 12 16:32:18 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
...@@ -27,6 +27,31 @@ ...@@ -27,6 +27,31 @@
27 owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed> ; 27 owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/dpr/spin/1.1/unnamed> ;
28 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 28 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
29 29
30 +ep-dpr-spin-lib:BuildDailyProductionReportURI
31 + rdf:type spin:Function ;
32 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
33 + spin:body
34 + [ rdf:type sp:Select ;
35 + rdfs:comment """arg1 is name of the document (this may to change when we sort out the identity lookup)
36 +arg2 is report date"""^^xsd:string ;
37 + sp:resultVariables (_:b1) ;
38 + sp:where ([ rdf:type sp:Bind ;
39 + sp:expression
40 + [ rdf:type ep-spin-lib:buildURI ;
41 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionReport/" ;
42 + sp:arg2 [ rdf:type fn:concat ;
43 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
44 + sp:arg1 spin:_arg1
45 + ] ;
46 + sp:arg2 "$" ;
47 + sp:arg3 [ sp:varName "docDate"^^xsd:string
48 + ]
49 + ]
50 + ] ;
51 + sp:variable _:b1
52 + ])
53 + ] .
54 +
30 ep-dpr-spin-lib:Function 55 ep-dpr-spin-lib:Function
31 rdf:type spin:Function ; 56 rdf:type spin:Function ;
32 rdfs:label "function"^^xsd:string ; 57 rdfs:label "function"^^xsd:string ;
...@@ -38,7 +63,7 @@ ep-dpr-spin-lib:buildCountryURI ...@@ -38,7 +63,7 @@ ep-dpr-spin-lib:buildCountryURI
38 rdfs:subClassOf ep-dpr-spin-lib:Function ; 63 rdfs:subClassOf ep-dpr-spin-lib:Function ;
39 spin:body 64 spin:body
40 [ rdf:type sp:Select ; 65 [ rdf:type sp:Select ;
41 - sp:resultVariables (_:b1) ; 66 + sp:resultVariables (_:b2) ;
42 sp:where ([ rdf:type sp:Bind ; 67 sp:where ([ rdf:type sp:Bind ;
43 sp:expression 68 sp:expression
44 [ rdf:type ep-spin-lib:buildURI ; 69 [ rdf:type ep-spin-lib:buildURI ;
...@@ -47,7 +72,7 @@ ep-dpr-spin-lib:buildCountryURI ...@@ -47,7 +72,7 @@ ep-dpr-spin-lib:buildCountryURI
47 sp:arg1 spin:_arg1 72 sp:arg1 spin:_arg1
48 ] 73 ]
49 ] ; 74 ] ;
50 - sp:variable _:b1 75 + sp:variable _:b2
51 ]) 76 ])
52 ] . 77 ] .
53 78
...@@ -59,7 +84,7 @@ ep-dpr-spin-lib:buildDailyProductionActivityURI ...@@ -59,7 +84,7 @@ ep-dpr-spin-lib:buildDailyProductionActivityURI
59 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) 84 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
60 arg2 is start date 85 arg2 is start date
61 arg3 is end date"""^^xsd:string ; 86 arg3 is end date"""^^xsd:string ;
62 - sp:resultVariables (_:b2) ; 87 + sp:resultVariables (_:b3) ;
63 sp:where ([ rdf:type sp:Bind ; 88 sp:where ([ rdf:type sp:Bind ;
64 sp:expression 89 sp:expression
65 [ rdf:type ep-spin-lib:buildURI ; 90 [ rdf:type ep-spin-lib:buildURI ;
...@@ -74,7 +99,34 @@ arg3 is end date"""^^xsd:string ; ...@@ -74,7 +99,34 @@ arg3 is end date"""^^xsd:string ;
74 sp:arg5 spin:_arg3 99 sp:arg5 spin:_arg3
75 ] 100 ]
76 ] ; 101 ] ;
77 - sp:variable _:b2 102 + sp:variable _:b3
103 + ])
104 + ] .
105 +
106 +ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI
107 + rdf:type spin:Function ;
108 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
109 + spin:body
110 + [ rdf:type sp:Select ;
111 + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
112 +arg2 is start date
113 +arg3 is end date"""^^xsd:string ;
114 + sp:resultVariables (_:b4) ;
115 + sp:where ([ rdf:type sp:Bind ;
116 + sp:expression
117 + [ rdf:type ep-spin-lib:buildURI ;
118 + sp:arg1 "https://www.reportinghub.no/ep/data/dailyProductionOperationsActivity/" ;
119 + sp:arg2 [ rdf:type fn:concat ;
120 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
121 + sp:arg1 spin:_arg1
122 + ] ;
123 + sp:arg2 "$" ;
124 + sp:arg3 spin:_arg2 ;
125 + sp:arg4 "$" ;
126 + sp:arg5 spin:_arg3
127 + ]
128 + ] ;
129 + sp:variable _:b4
78 ]) 130 ])
79 ] . 131 ] .
80 132
...@@ -84,7 +136,7 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -84,7 +136,7 @@ ep-dpr-spin-lib:buildProductFlowURI
84 rdfs:subClassOf ep-dpr-spin-lib:Function ; 136 rdfs:subClassOf ep-dpr-spin-lib:Function ;
85 spin:body 137 spin:body
86 [ rdf:type sp:Select ; 138 [ rdf:type sp:Select ;
87 - sp:resultVariables (_:b3) ; 139 + sp:resultVariables (_:b5) ;
88 sp:where ([ rdf:type sp:Bind ; 140 sp:where ([ rdf:type sp:Bind ;
89 sp:expression 141 sp:expression
90 [ rdf:type ep-spin-lib:buildURI ; 142 [ rdf:type ep-spin-lib:buildURI ;
...@@ -95,7 +147,7 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -95,7 +147,7 @@ ep-dpr-spin-lib:buildProductFlowURI
95 sp:arg3 spin:_arg2 147 sp:arg3 spin:_arg2
96 ] 148 ]
97 ] ; 149 ] ;
98 - sp:variable _:b3 150 + sp:variable _:b5
99 ]) 151 ])
100 ] . 152 ] .
101 153
...@@ -105,7 +157,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -105,7 +157,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
105 rdfs:subClassOf ep-dpr-spin-lib:Function ; 157 rdfs:subClassOf ep-dpr-spin-lib:Function ;
106 spin:body 158 spin:body
107 [ rdf:type sp:Select ; 159 [ rdf:type sp:Select ;
108 - sp:resultVariables (_:b4) ; 160 + sp:resultVariables (_:b6) ;
109 sp:where ([ rdf:type sp:Bind ; 161 sp:where ([ rdf:type sp:Bind ;
110 sp:expression 162 sp:expression
111 [ rdf:type ep-spin-lib:buildURI ; 163 [ rdf:type ep-spin-lib:buildURI ;
...@@ -114,7 +166,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -114,7 +166,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
114 sp:arg1 spin:_arg1 166 sp:arg1 spin:_arg1
115 ] 167 ]
116 ] ; 168 ] ;
117 - sp:variable _:b4 169 + sp:variable _:b6
118 ]) 170 ])
119 ] . 171 ] .
120 172
...@@ -124,7 +176,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -124,7 +176,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
124 rdfs:subClassOf ep-dpr-spin-lib:Function ; 176 rdfs:subClassOf ep-dpr-spin-lib:Function ;
125 spin:body 177 spin:body
126 [ rdf:type sp:Select ; 178 [ rdf:type sp:Select ;
127 - sp:resultVariables (_:b5) ; 179 + sp:resultVariables (_:b7) ;
128 sp:where ([ rdf:type sp:Bind ; 180 sp:where ([ rdf:type sp:Bind ;
129 sp:expression 181 sp:expression
130 [ rdf:type ep-spin-lib:buildURI ; 182 [ rdf:type ep-spin-lib:buildURI ;
...@@ -133,7 +185,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -133,7 +185,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
133 sp:arg1 spin:_arg1 185 sp:arg1 spin:_arg1
134 ] 186 ]
135 ] ; 187 ] ;
136 - sp:variable _:b5 188 + sp:variable _:b7
137 ]) 189 ])
138 ] . 190 ] .
139 191
...@@ -143,7 +195,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -143,7 +195,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
143 rdfs:subClassOf ep-dpr-spin-lib:Function ; 195 rdfs:subClassOf ep-dpr-spin-lib:Function ;
144 spin:body 196 spin:body
145 [ rdf:type sp:Select ; 197 [ rdf:type sp:Select ;
146 - sp:resultVariables (_:b6) ; 198 + sp:resultVariables (_:b8) ;
147 sp:where ([ rdf:type sp:Bind ; 199 sp:where ([ rdf:type sp:Bind ;
148 sp:expression 200 sp:expression
149 [ rdf:type ep-spin-lib:buildURI ; 201 [ rdf:type ep-spin-lib:buildURI ;
...@@ -156,7 +208,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -156,7 +208,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
156 sp:arg5 spin:_arg3 208 sp:arg5 spin:_arg3
157 ] 209 ]
158 ] ; 210 ] ;
159 - sp:variable _:b6 211 + sp:variable _:b8
160 ]) 212 ])
161 ] . 213 ] .
162 214
...@@ -166,7 +218,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -166,7 +218,7 @@ ep-dpr-spin-lib:buildStateURI
166 rdfs:subClassOf ep-dpr-spin-lib:Function ; 218 rdfs:subClassOf ep-dpr-spin-lib:Function ;
167 spin:body 219 spin:body
168 [ rdf:type sp:Select ; 220 [ rdf:type sp:Select ;
169 - sp:resultVariables (_:b7) ; 221 + sp:resultVariables (_:b9) ;
170 sp:where ([ rdf:type sp:Bind ; 222 sp:where ([ rdf:type sp:Bind ;
171 sp:expression 223 sp:expression
172 [ rdf:type ep-spin-lib:buildURI ; 224 [ rdf:type ep-spin-lib:buildURI ;
...@@ -175,7 +227,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -175,7 +227,7 @@ ep-dpr-spin-lib:buildStateURI
175 sp:arg1 spin:_arg1 227 sp:arg1 spin:_arg1
176 ] 228 ]
177 ] ; 229 ] ;
178 - sp:variable _:b7 230 + sp:variable _:b9
179 ]) 231 ])
180 ] . 232 ] .
181 233
...@@ -185,7 +237,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -185,7 +237,7 @@ ep-dpr-spin-lib:selectProductType
185 rdfs:subClassOf ep-dpr-spin-lib:Function ; 237 rdfs:subClassOf ep-dpr-spin-lib:Function ;
186 spin:body 238 spin:body
187 [ rdf:type sp:Select ; 239 [ rdf:type sp:Select ;
188 - sp:resultVariables (_:b8) ; 240 + sp:resultVariables (_:b10) ;
189 sp:where ([ rdf:type sp:Bind ; 241 sp:where ([ rdf:type sp:Bind ;
190 sp:expression 242 sp:expression
191 [ rdf:type sp:if ; 243 [ rdf:type sp:if ;
...@@ -392,7 +444,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -392,7 +444,7 @@ ep-dpr-spin-lib:selectProductType
392 ] 444 ]
393 ] 445 ]
394 ] ; 446 ] ;
395 - sp:variable _:b8 447 + sp:variable _:b10
396 ]) 448 ])
397 ] . 449 ] .
398 450
...@@ -402,7 +454,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -402,7 +454,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
402 rdfs:subClassOf ep-dpr-spin-lib:Function ; 454 rdfs:subClassOf ep-dpr-spin-lib:Function ;
403 spin:body 455 spin:body
404 [ rdf:type sp:Select ; 456 [ rdf:type sp:Select ;
405 - sp:resultVariables (_:b9) ; 457 + sp:resultVariables (_:b11) ;
406 sp:where ([ rdf:type sp:Bind ; 458 sp:where ([ rdf:type sp:Bind ;
407 sp:expression 459 sp:expression
408 [ rdf:type sp:if ; 460 [ rdf:type sp:if ;
...@@ -581,7 +633,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -581,7 +633,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
581 ] 633 ]
582 ] 634 ]
583 ] ; 635 ] ;
584 - sp:variable _:b9 636 + sp:variable _:b11
585 ]) 637 ])
586 ] . 638 ] .
587 639
...@@ -591,7 +643,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -591,7 +643,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
591 rdfs:subClassOf ep-dpr-spin-lib:Function ; 643 rdfs:subClassOf ep-dpr-spin-lib:Function ;
592 spin:body 644 spin:body
593 [ rdf:type sp:Select ; 645 [ rdf:type sp:Select ;
594 - sp:resultVariables (_:b10) ; 646 + sp:resultVariables (_:b12) ;
595 sp:where ([ rdf:type sp:Bind ; 647 sp:where ([ rdf:type sp:Bind ;
596 sp:expression 648 sp:expression
597 [ rdf:type sp:if ; 649 [ rdf:type sp:if ;
...@@ -651,7 +703,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -651,7 +703,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
651 ] 703 ]
652 ] 704 ]
653 ] ; 705 ] ;
654 - sp:variable _:b10 706 + sp:variable _:b12
655 ]) 707 ])
656 ] . 708 ] .
657 709
...@@ -661,7 +713,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -661,7 +713,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
661 rdfs:subClassOf ep-dpr-spin-lib:Function ; 713 rdfs:subClassOf ep-dpr-spin-lib:Function ;
662 spin:body 714 spin:body
663 [ rdf:type sp:Select ; 715 [ rdf:type sp:Select ;
664 - sp:resultVariables (_:b11) ; 716 + sp:resultVariables (_:b13) ;
665 sp:where ([ rdf:type sp:Bind ; 717 sp:where ([ rdf:type sp:Bind ;
666 sp:expression 718 sp:expression
667 [ rdf:type sp:if ; 719 [ rdf:type sp:if ;
...@@ -679,7 +731,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -679,7 +731,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
679 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 731 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
680 ] 732 ]
681 ] ; 733 ] ;
682 - sp:variable _:b11 734 + sp:variable _:b13
683 ]) 735 ])
684 ] . 736 ] .
685 737
...@@ -689,7 +741,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -689,7 +741,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
689 rdfs:subClassOf ep-dpr-spin-lib:Function ; 741 rdfs:subClassOf ep-dpr-spin-lib:Function ;
690 spin:body 742 spin:body
691 [ rdf:type sp:Select ; 743 [ rdf:type sp:Select ;
692 - sp:resultVariables (_:b12) ; 744 + sp:resultVariables (_:b14) ;
693 sp:where ([ rdf:type sp:Bind ; 745 sp:where ([ rdf:type sp:Bind ;
694 sp:expression 746 sp:expression
695 [ rdf:type sp:if ; 747 [ rdf:type sp:if ;
...@@ -707,7 +759,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -707,7 +759,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
707 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 759 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
708 ] 760 ]
709 ] ; 761 ] ;
710 - sp:variable _:b12 762 + sp:variable _:b14
711 ]) 763 ])
712 ] . 764 ] .
713 765
...@@ -717,7 +769,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -717,7 +769,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
717 rdfs:subClassOf ep-dpr-spin-lib:Function ; 769 rdfs:subClassOf ep-dpr-spin-lib:Function ;
718 spin:body 770 spin:body
719 [ rdf:type sp:Select ; 771 [ rdf:type sp:Select ;
720 - sp:resultVariables (_:b13) ; 772 + sp:resultVariables (_:b15) ;
721 sp:where ([ rdf:type sp:Bind ; 773 sp:where ([ rdf:type sp:Bind ;
722 sp:expression 774 sp:expression
723 [ rdf:type sp:if ; 775 [ rdf:type sp:if ;
...@@ -868,7 +920,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -868,7 +920,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
868 ] 920 ]
869 ] 921 ]
870 ] ; 922 ] ;
871 - sp:variable _:b13 923 + sp:variable _:b15
872 ]) 924 ])
873 ] . 925 ] .
874 926
...@@ -878,7 +930,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -878,7 +930,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
878 rdfs:subClassOf ep-dpr-spin-lib:Function ; 930 rdfs:subClassOf ep-dpr-spin-lib:Function ;
879 spin:body 931 spin:body
880 [ rdf:type sp:Select ; 932 [ rdf:type sp:Select ;
881 - sp:resultVariables (_:b14) ; 933 + sp:resultVariables (_:b16) ;
882 sp:where ([ rdf:type sp:Bind ; 934 sp:where ([ rdf:type sp:Bind ;
883 sp:expression 935 sp:expression
884 [ rdf:type sp:if ; 936 [ rdf:type sp:if ;
...@@ -952,7 +1004,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -952,7 +1004,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
952 ] 1004 ]
953 ] 1005 ]
954 ] ; 1006 ] ;
955 - sp:variable _:b14 1007 + sp:variable _:b16
956 ]) 1008 ])
957 ] . 1009 ] .
958 1010
...@@ -961,7 +1013,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -961,7 +1013,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
961 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1013 rdfs:subClassOf ep-dpr-spin-lib:Function ;
962 spin:body 1014 spin:body
963 [ rdf:type sp:Select ; 1015 [ rdf:type sp:Select ;
964 - sp:resultVariables (_:b15) ; 1016 + sp:resultVariables (_:b17) ;
965 sp:where ([ rdf:type sp:Bind ; 1017 sp:where ([ rdf:type sp:Bind ;
966 sp:expression 1018 sp:expression
967 [ rdf:type sp:if ; 1019 [ rdf:type sp:if ;
...@@ -1105,7 +1157,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1105,7 +1157,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1105 ] 1157 ]
1106 ] 1158 ]
1107 ] ; 1159 ] ;
1108 - sp:variable _:b15 1160 + sp:variable _:b17
1109 ]) 1161 ])
1110 ] . 1162 ] .
1111 1163
...@@ -1115,7 +1167,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1115,7 +1167,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1115 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1167 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1116 spin:body 1168 spin:body
1117 [ rdf:type sp:Select ; 1169 [ rdf:type sp:Select ;
1118 - sp:resultVariables (_:b16) ; 1170 + sp:resultVariables (_:b18) ;
1119 sp:where ([ rdf:type sp:Bind ; 1171 sp:where ([ rdf:type sp:Bind ;
1120 sp:expression 1172 sp:expression
1121 [ rdf:type sp:if ; 1173 [ rdf:type sp:if ;
...@@ -1189,7 +1241,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1189,7 +1241,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1189 ] 1241 ]
1190 ] 1242 ]
1191 ] ; 1243 ] ;
1192 - sp:variable _:b16 1244 + sp:variable _:b18
1193 ]) 1245 ])
1194 ] . 1246 ] .
1195 1247
...@@ -1198,7 +1250,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1198,7 +1250,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1198 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1250 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1199 spin:body 1251 spin:body
1200 [ rdf:type sp:Select ; 1252 [ rdf:type sp:Select ;
1201 - sp:resultVariables (_:b17) ; 1253 + sp:resultVariables (_:b19) ;
1202 sp:where ([ rdf:type sp:Bind ; 1254 sp:where ([ rdf:type sp:Bind ;
1203 sp:expression 1255 sp:expression
1204 [ rdf:type sp:if ; 1256 [ rdf:type sp:if ;
...@@ -1272,7 +1324,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1272,7 +1324,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1272 ] 1324 ]
1273 ] 1325 ]
1274 ] ; 1326 ] ;
1275 - sp:variable _:b17 1327 + sp:variable _:b19
1276 ]) 1328 ])
1277 ] . 1329 ] .
1278 1330
...@@ -1282,7 +1334,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1282,7 +1334,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1282 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1334 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1283 spin:body 1335 spin:body
1284 [ rdf:type sp:Select ; 1336 [ rdf:type sp:Select ;
1285 - sp:resultVariables (_:b18) ; 1337 + sp:resultVariables (_:b20) ;
1286 sp:where ([ rdf:type sp:Bind ; 1338 sp:where ([ rdf:type sp:Bind ;
1287 sp:expression 1339 sp:expression
1288 [ rdf:type sp:if ; 1340 [ rdf:type sp:if ;
...@@ -1307,7 +1359,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1307,7 +1359,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1307 ] 1359 ]
1308 ] 1360 ]
1309 ] ; 1361 ] ;
1310 - sp:variable _:b18 1362 + sp:variable _:b20
1311 ]) 1363 ])
1312 ] . 1364 ] .
1313 1365
...@@ -1317,7 +1369,7 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1317,7 +1369,7 @@ ep-dpr-spin-lib:selectVolumeScale
1317 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1369 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1318 spin:body 1370 spin:body
1319 [ rdf:type sp:Select ; 1371 [ rdf:type sp:Select ;
1320 - sp:resultVariables (_:b19) ; 1372 + sp:resultVariables (_:b21) ;
1321 sp:where ([ rdf:type sp:Bind ; 1373 sp:where ([ rdf:type sp:Bind ;
1322 sp:expression 1374 sp:expression
1323 [ rdf:type sp:if ; 1375 [ rdf:type sp:if ;
...@@ -1545,45 +1597,53 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1545,45 +1597,53 @@ ep-dpr-spin-lib:selectVolumeScale
1545 ] 1597 ]
1546 ] 1598 ]
1547 ] ; 1599 ] ;
1548 - sp:variable _:b19 1600 + sp:variable _:b21
1549 ]) 1601 ])
1550 ] . 1602 ] .
1551 1603
1552 -_:b2 sp:varName "uri"^^xsd:string . 1604 +_:b1 sp:varName "uri"^^xsd:string .
1553 1605
1554 -_:b19 1606 +_:b4 sp:varName "uri"^^xsd:string .
1607 +
1608 +_:b21
1555 sp:varName "volumeScale"^^xsd:string . 1609 sp:varName "volumeScale"^^xsd:string .
1556 1610
1557 -_:b18 1611 +_:b20
1558 sp:varName "volumeAtStdType"^^xsd:string . 1612 sp:varName "volumeAtStdType"^^xsd:string .
1559 1613
1560 -_:b17 1614 +_:b19
1561 sp:varName "prodActType"^^xsd:string . 1615 sp:varName "prodActType"^^xsd:string .
1562 1616
1563 -_:b16 1617 +_:b18
1564 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . 1618 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
1565 1619
1566 -_:b15 1620 +_:b17
1567 sp:varName "safetyActivityType"^^xsd:string . 1621 sp:varName "safetyActivityType"^^xsd:string .
1568 1622
1569 -_:b14 1623 +_:b16
1570 sp:varName "relationshipToMeasure"^^xsd:string . 1624 sp:varName "relationshipToMeasure"^^xsd:string .
1571 1625
1572 -_:b13 1626 +_:b15
1573 sp:varName "productionFlowPurposeType"^^xsd:string . 1627 sp:varName "productionFlowPurposeType"^^xsd:string .
1574 1628
1575 -_:b12 1629 +_:b14
1576 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1630 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1577 1631
1578 -_:b11 1632 +_:b13
1579 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1633 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1580 1634
1581 -_:b10 1635 +_:b12
1582 sp:varName "productionFlowDefinitionType"^^xsd:string . 1636 sp:varName "productionFlowDefinitionType"^^xsd:string .
1583 1637
1584 -_:b9 sp:varName "productionFacilityType"^^xsd:string . 1638 +_:b11
1639 + sp:varName "productionFacilityType"^^xsd:string .
1640 +
1641 +_:b10
1642 + sp:varName "productType"^^xsd:string .
1643 +
1644 +_:b9 sp:varName "uri"^^xsd:string .
1585 1645
1586 -_:b8 sp:varName "productType"^^xsd:string . 1646 +_:b8 sp:varName "uri"^^xsd:string .
1587 1647
1588 _:b7 sp:varName "uri"^^xsd:string . 1648 _:b7 sp:varName "uri"^^xsd:string .
1589 1649
...@@ -1591,8 +1651,6 @@ _:b6 sp:varName "uri"^^xsd:string . ...@@ -1591,8 +1651,6 @@ _:b6 sp:varName "uri"^^xsd:string .
1591 1651
1592 _:b5 sp:varName "uri"^^xsd:string . 1652 _:b5 sp:varName "uri"^^xsd:string .
1593 1653
1594 -_:b4 sp:varName "uri"^^xsd:string .
1595 -
1596 _:b3 sp:varName "uri"^^xsd:string . 1654 _:b3 sp:varName "uri"^^xsd:string .
1597 1655
1598 -_:b1 sp:varName "uri"^^xsd:string . 1656 +_:b2 sp:varName "uri"^^xsd:string .
......
1 -# Saved by TopBraid on Wed Oct 12 16:06:08 BST 2011 1 +# Saved by TopBraid on Wed Oct 12 16:32:18 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#> .
......