MonkeyChap

added another buildURI function

1 -# Saved by TopBraid on Thu Oct 13 14:16:00 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 17:25:55 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
...@@ -67,7 +67,7 @@ arg2 is report end date"""^^xsd:string ; ...@@ -67,7 +67,7 @@ arg2 is report end date"""^^xsd:string ;
67 sp:where ([ rdf:type sp:Bind ; 67 sp:where ([ rdf:type sp:Bind ;
68 sp:expression 68 sp:expression
69 [ rdf:type ep-spin-lib:buildURI ; 69 [ rdf:type ep-spin-lib:buildURI ;
70 - sp:arg1 "https://www.reportinghub.no/ep/data/annualProducitonActivityToEndOfReportingPeriod/" ; 70 + sp:arg1 "https://www.reportinghub.no/ep/data/annualProductionActivityToEndOfReportingPeriod/" ;
71 sp:arg2 [ rdf:type fn:concat ; 71 sp:arg2 [ rdf:type fn:concat ;
72 sp:arg1 [ rdf:type ep-spin-lib:normalizeString ; 72 sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
73 sp:arg1 spin:_arg1 73 sp:arg1 spin:_arg1
...@@ -80,13 +80,37 @@ arg2 is report end date"""^^xsd:string ; ...@@ -80,13 +80,37 @@ arg2 is report end date"""^^xsd:string ;
80 ]) 80 ])
81 ] . 81 ] .
82 82
83 +ep-dpr-spin-lib:buildAnnualProductionOperationsActivityToEndOfPeriodURI
84 + rdf:type spin:Function ;
85 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
86 + spin:body
87 + [ rdf:type sp:Select ;
88 + rdfs:comment """arg1 is name of the facility (this may to change when we sort out the identity lookup)
89 +arg2 is report end date"""^^xsd:string ;
90 + sp:resultVariables (_:b3) ;
91 + sp:where ([ rdf:type sp:Bind ;
92 + sp:expression
93 + [ rdf:type ep-spin-lib:buildURI ;
94 + sp:arg1 "https://www.reportinghub.no/ep/data/annualProductionOperationsActivityToEndOfReportingPeriod/" ;
95 + sp:arg2 [ rdf:type fn:concat ;
96 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
97 + sp:arg1 spin:_arg1
98 + ] ;
99 + sp:arg2 "$" ;
100 + sp:arg3 spin:_arg2
101 + ]
102 + ] ;
103 + sp:variable _:b3
104 + ])
105 + ] .
106 +
83 ep-dpr-spin-lib:buildCountryURI 107 ep-dpr-spin-lib:buildCountryURI
84 rdf:type spin:Function ; 108 rdf:type spin:Function ;
85 rdfs:label "build Country URI"^^xsd:string ; 109 rdfs:label "build Country URI"^^xsd:string ;
86 rdfs:subClassOf ep-dpr-spin-lib:Function ; 110 rdfs:subClassOf ep-dpr-spin-lib:Function ;
87 spin:body 111 spin:body
88 [ rdf:type sp:Select ; 112 [ rdf:type sp:Select ;
89 - sp:resultVariables (_:b3) ; 113 + sp:resultVariables (_:b4) ;
90 sp:where ([ rdf:type sp:Bind ; 114 sp:where ([ rdf:type sp:Bind ;
91 sp:expression 115 sp:expression
92 [ rdf:type ep-spin-lib:buildURI ; 116 [ rdf:type ep-spin-lib:buildURI ;
...@@ -95,7 +119,7 @@ ep-dpr-spin-lib:buildCountryURI ...@@ -95,7 +119,7 @@ ep-dpr-spin-lib:buildCountryURI
95 sp:arg1 spin:_arg1 119 sp:arg1 spin:_arg1
96 ] 120 ]
97 ] ; 121 ] ;
98 - sp:variable _:b3 122 + sp:variable _:b4
99 ]) 123 ])
100 ] . 124 ] .
101 125
...@@ -107,7 +131,7 @@ ep-dpr-spin-lib:buildDailyProductionActivityURI ...@@ -107,7 +131,7 @@ ep-dpr-spin-lib:buildDailyProductionActivityURI
107 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) 131 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
108 arg2 is start date 132 arg2 is start date
109 arg3 is end date"""^^xsd:string ; 133 arg3 is end date"""^^xsd:string ;
110 - sp:resultVariables (_:b4) ; 134 + sp:resultVariables (_:b5) ;
111 sp:where ([ rdf:type sp:Bind ; 135 sp:where ([ rdf:type sp:Bind ;
112 sp:expression 136 sp:expression
113 [ rdf:type ep-spin-lib:buildURI ; 137 [ rdf:type ep-spin-lib:buildURI ;
...@@ -122,7 +146,7 @@ arg3 is end date"""^^xsd:string ; ...@@ -122,7 +146,7 @@ arg3 is end date"""^^xsd:string ;
122 sp:arg5 spin:_arg3 146 sp:arg5 spin:_arg3
123 ] 147 ]
124 ] ; 148 ] ;
125 - sp:variable _:b4 149 + sp:variable _:b5
126 ]) 150 ])
127 ] . 151 ] .
128 152
...@@ -134,7 +158,7 @@ ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI ...@@ -134,7 +158,7 @@ ep-dpr-spin-lib:buildDailyProductionOperationsActivityURI
134 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) 158 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
135 arg2 is start date 159 arg2 is start date
136 arg3 is end date"""^^xsd:string ; 160 arg3 is end date"""^^xsd:string ;
137 - sp:resultVariables (_:b5) ; 161 + sp:resultVariables (_:b6) ;
138 sp:where ([ rdf:type sp:Bind ; 162 sp:where ([ rdf:type sp:Bind ;
139 sp:expression 163 sp:expression
140 [ rdf:type ep-spin-lib:buildURI ; 164 [ rdf:type ep-spin-lib:buildURI ;
...@@ -149,7 +173,7 @@ arg3 is end date"""^^xsd:string ; ...@@ -149,7 +173,7 @@ arg3 is end date"""^^xsd:string ;
149 sp:arg5 spin:_arg3 173 sp:arg5 spin:_arg3
150 ] 174 ]
151 ] ; 175 ] ;
152 - sp:variable _:b5 176 + sp:variable _:b6
153 ]) 177 ])
154 ] . 178 ] .
155 179
...@@ -159,14 +183,14 @@ ep-dpr-spin-lib:buildFacilityURI ...@@ -159,14 +183,14 @@ ep-dpr-spin-lib:buildFacilityURI
159 spin:body 183 spin:body
160 [ rdf:type sp:Select ; 184 [ rdf:type sp:Select ;
161 rdfs:comment "arg1 is name of facility (this is going to change when we sort out the identity lookup)"^^xsd:string ; 185 rdfs:comment "arg1 is name of facility (this is going to change when we sort out the identity lookup)"^^xsd:string ;
162 - sp:resultVariables (_:b6) ; 186 + sp:resultVariables (_:b7) ;
163 sp:where ([ rdf:type sp:Bind ; 187 sp:where ([ rdf:type sp:Bind ;
164 sp:expression 188 sp:expression
165 [ rdf:type ep-spin-lib:buildURI ; 189 [ rdf:type ep-spin-lib:buildURI ;
166 sp:arg1 "https://www.reportinghub.no/ep/data/temporalPartOfAFacility/" ; 190 sp:arg1 "https://www.reportinghub.no/ep/data/temporalPartOfAFacility/" ;
167 sp:arg2 spin:_arg1 191 sp:arg2 spin:_arg1
168 ] ; 192 ] ;
169 - sp:variable _:b6 193 + sp:variable _:b7
170 ]) 194 ])
171 ] . 195 ] .
172 196
...@@ -176,7 +200,7 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -176,7 +200,7 @@ ep-dpr-spin-lib:buildProductFlowURI
176 rdfs:subClassOf ep-dpr-spin-lib:Function ; 200 rdfs:subClassOf ep-dpr-spin-lib:Function ;
177 spin:body 201 spin:body
178 [ rdf:type sp:Select ; 202 [ rdf:type sp:Select ;
179 - sp:resultVariables (_:b7) ; 203 + sp:resultVariables (_:b8) ;
180 sp:where ([ rdf:type sp:Bind ; 204 sp:where ([ rdf:type sp:Bind ;
181 sp:expression 205 sp:expression
182 [ rdf:type ep-spin-lib:buildURI ; 206 [ rdf:type ep-spin-lib:buildURI ;
...@@ -187,7 +211,7 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -187,7 +211,7 @@ ep-dpr-spin-lib:buildProductFlowURI
187 sp:arg3 spin:_arg2 211 sp:arg3 spin:_arg2
188 ] 212 ]
189 ] ; 213 ] ;
190 - sp:variable _:b7 214 + sp:variable _:b8
191 ]) 215 ])
192 ] . 216 ] .
193 217
...@@ -197,7 +221,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -197,7 +221,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
197 rdfs:subClassOf ep-dpr-spin-lib:Function ; 221 rdfs:subClassOf ep-dpr-spin-lib:Function ;
198 spin:body 222 spin:body
199 [ rdf:type sp:Select ; 223 [ rdf:type sp:Select ;
200 - sp:resultVariables (_:b8) ; 224 + sp:resultVariables (_:b9) ;
201 sp:where ([ rdf:type sp:Bind ; 225 sp:where ([ rdf:type sp:Bind ;
202 sp:expression 226 sp:expression
203 [ rdf:type ep-spin-lib:buildURI ; 227 [ rdf:type ep-spin-lib:buildURI ;
...@@ -206,7 +230,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -206,7 +230,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
206 sp:arg1 spin:_arg1 230 sp:arg1 spin:_arg1
207 ] 231 ]
208 ] ; 232 ] ;
209 - sp:variable _:b8 233 + sp:variable _:b9
210 ]) 234 ])
211 ] . 235 ] .
212 236
...@@ -216,7 +240,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -216,7 +240,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
216 rdfs:subClassOf ep-dpr-spin-lib:Function ; 240 rdfs:subClassOf ep-dpr-spin-lib:Function ;
217 spin:body 241 spin:body
218 [ rdf:type sp:Select ; 242 [ rdf:type sp:Select ;
219 - sp:resultVariables (_:b9) ; 243 + sp:resultVariables (_:b10) ;
220 sp:where ([ rdf:type sp:Bind ; 244 sp:where ([ rdf:type sp:Bind ;
221 sp:expression 245 sp:expression
222 [ rdf:type ep-spin-lib:buildURI ; 246 [ rdf:type ep-spin-lib:buildURI ;
...@@ -225,7 +249,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -225,7 +249,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
225 sp:arg1 spin:_arg1 249 sp:arg1 spin:_arg1
226 ] 250 ]
227 ] ; 251 ] ;
228 - sp:variable _:b9 252 + sp:variable _:b10
229 ]) 253 ])
230 ] . 254 ] .
231 255
...@@ -235,7 +259,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -235,7 +259,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
235 rdfs:subClassOf ep-dpr-spin-lib:Function ; 259 rdfs:subClassOf ep-dpr-spin-lib:Function ;
236 spin:body 260 spin:body
237 [ rdf:type sp:Select ; 261 [ rdf:type sp:Select ;
238 - sp:resultVariables (_:b10) ; 262 + sp:resultVariables (_:b11) ;
239 sp:where ([ rdf:type sp:Bind ; 263 sp:where ([ rdf:type sp:Bind ;
240 sp:expression 264 sp:expression
241 [ rdf:type ep-spin-lib:buildURI ; 265 [ rdf:type ep-spin-lib:buildURI ;
...@@ -248,7 +272,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -248,7 +272,7 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
248 sp:arg5 spin:_arg3 272 sp:arg5 spin:_arg3
249 ] 273 ]
250 ] ; 274 ] ;
251 - sp:variable _:b10 275 + sp:variable _:b11
252 ]) 276 ])
253 ] . 277 ] .
254 278
...@@ -258,7 +282,7 @@ ep-dpr-spin-lib:buildShipURI ...@@ -258,7 +282,7 @@ ep-dpr-spin-lib:buildShipURI
258 spin:body 282 spin:body
259 [ rdf:type sp:Select ; 283 [ rdf:type sp:Select ;
260 rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ; 284 rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ;
261 - sp:resultVariables (_:b11) ; 285 + sp:resultVariables (_:b12) ;
262 sp:where ([ rdf:type sp:Bind ; 286 sp:where ([ rdf:type sp:Bind ;
263 sp:expression 287 sp:expression
264 [ rdf:type ep-spin-lib:buildURI ; 288 [ rdf:type ep-spin-lib:buildURI ;
...@@ -267,7 +291,7 @@ ep-dpr-spin-lib:buildShipURI ...@@ -267,7 +291,7 @@ ep-dpr-spin-lib:buildShipURI
267 sp:arg1 spin:_arg1 291 sp:arg1 spin:_arg1
268 ] 292 ]
269 ] ; 293 ] ;
270 - sp:variable _:b11 294 + sp:variable _:b12
271 ]) 295 ])
272 ] . 296 ] .
273 297
...@@ -277,7 +301,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -277,7 +301,7 @@ ep-dpr-spin-lib:buildStateURI
277 rdfs:subClassOf ep-dpr-spin-lib:Function ; 301 rdfs:subClassOf ep-dpr-spin-lib:Function ;
278 spin:body 302 spin:body
279 [ rdf:type sp:Select ; 303 [ rdf:type sp:Select ;
280 - sp:resultVariables (_:b12) ; 304 + sp:resultVariables (_:b13) ;
281 sp:where ([ rdf:type sp:Bind ; 305 sp:where ([ rdf:type sp:Bind ;
282 sp:expression 306 sp:expression
283 [ rdf:type ep-spin-lib:buildURI ; 307 [ rdf:type ep-spin-lib:buildURI ;
...@@ -286,7 +310,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -286,7 +310,7 @@ ep-dpr-spin-lib:buildStateURI
286 sp:arg1 spin:_arg1 310 sp:arg1 spin:_arg1
287 ] 311 ]
288 ] ; 312 ] ;
289 - sp:variable _:b12 313 + sp:variable _:b13
290 ]) 314 ])
291 ] . 315 ] .
292 316
...@@ -298,7 +322,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ...@@ -298,7 +322,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI
298 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) 322 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
299 arg2 is start date 323 arg2 is start date
300 arg3 is end date"""^^xsd:string ; 324 arg3 is end date"""^^xsd:string ;
301 - sp:resultVariables (_:b13) ; 325 + sp:resultVariables (_:b14) ;
302 sp:where ([ rdf:type sp:Bind ; 326 sp:where ([ rdf:type sp:Bind ;
303 sp:expression 327 sp:expression
304 [ rdf:type ep-spin-lib:buildURI ; 328 [ rdf:type ep-spin-lib:buildURI ;
...@@ -313,7 +337,7 @@ arg3 is end date"""^^xsd:string ; ...@@ -313,7 +337,7 @@ arg3 is end date"""^^xsd:string ;
313 sp:arg5 spin:_arg3 337 sp:arg5 spin:_arg3
314 ] 338 ]
315 ] ; 339 ] ;
316 - sp:variable _:b13 340 + sp:variable _:b14
317 ]) 341 ])
318 ] . 342 ] .
319 343
...@@ -323,7 +347,7 @@ ep-dpr-spin-lib:selectDurationScale ...@@ -323,7 +347,7 @@ ep-dpr-spin-lib:selectDurationScale
323 rdfs:subClassOf ep-dpr-spin-lib:Function ; 347 rdfs:subClassOf ep-dpr-spin-lib:Function ;
324 spin:body 348 spin:body
325 [ rdf:type sp:Select ; 349 [ rdf:type sp:Select ;
326 - sp:resultVariables (_:b14) ; 350 + sp:resultVariables (_:b15) ;
327 sp:where ([ rdf:type sp:Bind ; 351 sp:where ([ rdf:type sp:Bind ;
328 sp:expression 352 sp:expression
329 [ rdf:type sp:if ; 353 [ rdf:type sp:if ;
...@@ -348,7 +372,7 @@ ep-dpr-spin-lib:selectDurationScale ...@@ -348,7 +372,7 @@ ep-dpr-spin-lib:selectDurationScale
348 ] 372 ]
349 ] 373 ]
350 ] ; 374 ] ;
351 - sp:variable _:b14 375 + sp:variable _:b15
352 ]) 376 ])
353 ] . 377 ] .
354 378
...@@ -358,7 +382,7 @@ ep-dpr-spin-lib:selectLengthScale ...@@ -358,7 +382,7 @@ ep-dpr-spin-lib:selectLengthScale
358 rdfs:subClassOf ep-dpr-spin-lib:Function ; 382 rdfs:subClassOf ep-dpr-spin-lib:Function ;
359 spin:body 383 spin:body
360 [ rdf:type sp:Select ; 384 [ rdf:type sp:Select ;
361 - sp:resultVariables (_:b15) ; 385 + sp:resultVariables (_:b16) ;
362 sp:where ([ rdf:type sp:Bind ; 386 sp:where ([ rdf:type sp:Bind ;
363 sp:expression 387 sp:expression
364 [ rdf:type sp:if ; 388 [ rdf:type sp:if ;
...@@ -397,7 +421,7 @@ ep-dpr-spin-lib:selectLengthScale ...@@ -397,7 +421,7 @@ ep-dpr-spin-lib:selectLengthScale
397 ] 421 ]
398 ] 422 ]
399 ] ; 423 ] ;
400 - sp:variable _:b15 424 + sp:variable _:b16
401 ]) 425 ])
402 ] . 426 ] .
403 427
...@@ -407,7 +431,7 @@ ep-dpr-spin-lib:selectPressureScale ...@@ -407,7 +431,7 @@ ep-dpr-spin-lib:selectPressureScale
407 rdfs:subClassOf ep-dpr-spin-lib:Function ; 431 rdfs:subClassOf ep-dpr-spin-lib:Function ;
408 spin:body 432 spin:body
409 [ rdf:type sp:Select ; 433 [ rdf:type sp:Select ;
410 - sp:resultVariables (_:b16) ; 434 + sp:resultVariables (_:b17) ;
411 sp:where ([ rdf:type sp:Bind ; 435 sp:where ([ rdf:type sp:Bind ;
412 sp:expression 436 sp:expression
413 [ rdf:type sp:if ; 437 [ rdf:type sp:if ;
...@@ -432,7 +456,7 @@ ep-dpr-spin-lib:selectPressureScale ...@@ -432,7 +456,7 @@ ep-dpr-spin-lib:selectPressureScale
432 ] 456 ]
433 ] 457 ]
434 ] ; 458 ] ;
435 - sp:variable _:b16 459 + sp:variable _:b17
436 ]) 460 ])
437 ] . 461 ] .
438 462
...@@ -442,7 +466,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -442,7 +466,7 @@ ep-dpr-spin-lib:selectProductType
442 rdfs:subClassOf ep-dpr-spin-lib:Function ; 466 rdfs:subClassOf ep-dpr-spin-lib:Function ;
443 spin:body 467 spin:body
444 [ rdf:type sp:Select ; 468 [ rdf:type sp:Select ;
445 - sp:resultVariables (_:b17) ; 469 + sp:resultVariables (_:b18) ;
446 sp:where ([ rdf:type sp:Bind ; 470 sp:where ([ rdf:type sp:Bind ;
447 sp:expression 471 sp:expression
448 [ rdf:type sp:if ; 472 [ rdf:type sp:if ;
...@@ -649,7 +673,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -649,7 +673,7 @@ ep-dpr-spin-lib:selectProductType
649 ] 673 ]
650 ] 674 ]
651 ] ; 675 ] ;
652 - sp:variable _:b17 676 + sp:variable _:b18
653 ]) 677 ])
654 ] . 678 ] .
655 679
...@@ -659,7 +683,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -659,7 +683,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
659 rdfs:subClassOf ep-dpr-spin-lib:Function ; 683 rdfs:subClassOf ep-dpr-spin-lib:Function ;
660 spin:body 684 spin:body
661 [ rdf:type sp:Select ; 685 [ rdf:type sp:Select ;
662 - sp:resultVariables (_:b18) ; 686 + sp:resultVariables (_:b19) ;
663 sp:where ([ rdf:type sp:Bind ; 687 sp:where ([ rdf:type sp:Bind ;
664 sp:expression 688 sp:expression
665 [ rdf:type sp:if ; 689 [ rdf:type sp:if ;
...@@ -838,7 +862,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -838,7 +862,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
838 ] 862 ]
839 ] 863 ]
840 ] ; 864 ] ;
841 - sp:variable _:b18 865 + sp:variable _:b19
842 ]) 866 ])
843 ] . 867 ] .
844 868
...@@ -848,7 +872,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -848,7 +872,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
848 rdfs:subClassOf ep-dpr-spin-lib:Function ; 872 rdfs:subClassOf ep-dpr-spin-lib:Function ;
849 spin:body 873 spin:body
850 [ rdf:type sp:Select ; 874 [ rdf:type sp:Select ;
851 - sp:resultVariables (_:b19) ; 875 + sp:resultVariables (_:b20) ;
852 sp:where ([ rdf:type sp:Bind ; 876 sp:where ([ rdf:type sp:Bind ;
853 sp:expression 877 sp:expression
854 [ rdf:type sp:if ; 878 [ rdf:type sp:if ;
...@@ -908,7 +932,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -908,7 +932,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
908 ] 932 ]
909 ] 933 ]
910 ] ; 934 ] ;
911 - sp:variable _:b19 935 + sp:variable _:b20
912 ]) 936 ])
913 ] . 937 ] .
914 938
...@@ -918,7 +942,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -918,7 +942,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
918 rdfs:subClassOf ep-dpr-spin-lib:Function ; 942 rdfs:subClassOf ep-dpr-spin-lib:Function ;
919 spin:body 943 spin:body
920 [ rdf:type sp:Select ; 944 [ rdf:type sp:Select ;
921 - sp:resultVariables (_:b20) ; 945 + sp:resultVariables (_:b21) ;
922 sp:where ([ rdf:type sp:Bind ; 946 sp:where ([ rdf:type sp:Bind ;
923 sp:expression 947 sp:expression
924 [ rdf:type sp:if ; 948 [ rdf:type sp:if ;
...@@ -936,7 +960,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -936,7 +960,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
936 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 960 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
937 ] 961 ]
938 ] ; 962 ] ;
939 - sp:variable _:b20 963 + sp:variable _:b21
940 ]) 964 ])
941 ] . 965 ] .
942 966
...@@ -946,7 +970,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -946,7 +970,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
946 rdfs:subClassOf ep-dpr-spin-lib:Function ; 970 rdfs:subClassOf ep-dpr-spin-lib:Function ;
947 spin:body 971 spin:body
948 [ rdf:type sp:Select ; 972 [ rdf:type sp:Select ;
949 - sp:resultVariables (_:b21) ; 973 + sp:resultVariables (_:b22) ;
950 sp:where ([ rdf:type sp:Bind ; 974 sp:where ([ rdf:type sp:Bind ;
951 sp:expression 975 sp:expression
952 [ rdf:type sp:if ; 976 [ rdf:type sp:if ;
...@@ -964,7 +988,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -964,7 +988,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
964 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 988 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
965 ] 989 ]
966 ] ; 990 ] ;
967 - sp:variable _:b21 991 + sp:variable _:b22
968 ]) 992 ])
969 ] . 993 ] .
970 994
...@@ -974,7 +998,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -974,7 +998,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
974 rdfs:subClassOf ep-dpr-spin-lib:Function ; 998 rdfs:subClassOf ep-dpr-spin-lib:Function ;
975 spin:body 999 spin:body
976 [ rdf:type sp:Select ; 1000 [ rdf:type sp:Select ;
977 - sp:resultVariables (_:b22) ; 1001 + sp:resultVariables (_:b23) ;
978 sp:where ([ rdf:type sp:Bind ; 1002 sp:where ([ rdf:type sp:Bind ;
979 sp:expression 1003 sp:expression
980 [ rdf:type sp:if ; 1004 [ rdf:type sp:if ;
...@@ -1125,7 +1149,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -1125,7 +1149,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
1125 ] 1149 ]
1126 ] 1150 ]
1127 ] ; 1151 ] ;
1128 - sp:variable _:b22 1152 + sp:variable _:b23
1129 ]) 1153 ])
1130 ] . 1154 ] .
1131 1155
...@@ -1135,7 +1159,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1135,7 +1159,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1135 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1159 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1136 spin:body 1160 spin:body
1137 [ rdf:type sp:Select ; 1161 [ rdf:type sp:Select ;
1138 - sp:resultVariables (_:b23) ; 1162 + sp:resultVariables (_:b24) ;
1139 sp:where ([ rdf:type sp:Bind ; 1163 sp:where ([ rdf:type sp:Bind ;
1140 sp:expression 1164 sp:expression
1141 [ rdf:type sp:if ; 1165 [ rdf:type sp:if ;
...@@ -1209,7 +1233,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1209,7 +1233,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1209 ] 1233 ]
1210 ] 1234 ]
1211 ] ; 1235 ] ;
1212 - sp:variable _:b23 1236 + sp:variable _:b24
1213 ]) 1237 ])
1214 ] . 1238 ] .
1215 1239
...@@ -1218,7 +1242,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1218,7 +1242,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1218 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1242 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1219 spin:body 1243 spin:body
1220 [ rdf:type sp:Select ; 1244 [ rdf:type sp:Select ;
1221 - sp:resultVariables (_:b24) ; 1245 + sp:resultVariables (_:b25) ;
1222 sp:where ([ rdf:type sp:Bind ; 1246 sp:where ([ rdf:type sp:Bind ;
1223 sp:expression 1247 sp:expression
1224 [ rdf:type sp:if ; 1248 [ rdf:type sp:if ;
...@@ -1362,7 +1386,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1362,7 +1386,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1362 ] 1386 ]
1363 ] 1387 ]
1364 ] ; 1388 ] ;
1365 - sp:variable _:b24 1389 + sp:variable _:b25
1366 ]) 1390 ])
1367 ] . 1391 ] .
1368 1392
...@@ -1372,7 +1396,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -1372,7 +1396,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
1372 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1396 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1373 spin:body 1397 spin:body
1374 [ rdf:type sp:Select ; 1398 [ rdf:type sp:Select ;
1375 - sp:resultVariables (_:b25) ; 1399 + sp:resultVariables (_:b26) ;
1376 sp:where ([ rdf:type sp:Bind ; 1400 sp:where ([ rdf:type sp:Bind ;
1377 sp:expression 1401 sp:expression
1378 [ rdf:type sp:if ; 1402 [ rdf:type sp:if ;
...@@ -1383,7 +1407,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -1383,7 +1407,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
1383 sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; 1407 sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
1384 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1408 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1385 ] ; 1409 ] ;
1386 - sp:variable _:b25 1410 + sp:variable _:b26
1387 ]) 1411 ])
1388 ] . 1412 ] .
1389 1413
...@@ -1393,7 +1417,7 @@ ep-dpr-spin-lib:selectTemperatureScale ...@@ -1393,7 +1417,7 @@ ep-dpr-spin-lib:selectTemperatureScale
1393 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1417 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1394 spin:body 1418 spin:body
1395 [ rdf:type sp:Select ; 1419 [ rdf:type sp:Select ;
1396 - sp:resultVariables (_:b26) ; 1420 + sp:resultVariables (_:b27) ;
1397 sp:where ([ rdf:type sp:Bind ; 1421 sp:where ([ rdf:type sp:Bind ;
1398 sp:expression 1422 sp:expression
1399 [ rdf:type sp:if ; 1423 [ rdf:type sp:if ;
...@@ -1411,7 +1435,7 @@ ep-dpr-spin-lib:selectTemperatureScale ...@@ -1411,7 +1435,7 @@ ep-dpr-spin-lib:selectTemperatureScale
1411 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1435 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1412 ] 1436 ]
1413 ] ; 1437 ] ;
1414 - sp:variable _:b26 1438 + sp:variable _:b27
1415 ]) 1439 ])
1416 ] . 1440 ] .
1417 1441
...@@ -1421,7 +1445,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1421,7 +1445,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1421 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1445 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1422 spin:body 1446 spin:body
1423 [ rdf:type sp:Select ; 1447 [ rdf:type sp:Select ;
1424 - sp:resultVariables (_:b27) ; 1448 + sp:resultVariables (_:b28) ;
1425 sp:where ([ rdf:type sp:Bind ; 1449 sp:where ([ rdf:type sp:Bind ;
1426 sp:expression 1450 sp:expression
1427 [ rdf:type sp:if ; 1451 [ rdf:type sp:if ;
...@@ -1495,7 +1519,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1495,7 +1519,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1495 ] 1519 ]
1496 ] 1520 ]
1497 ] ; 1521 ] ;
1498 - sp:variable _:b27 1522 + sp:variable _:b28
1499 ]) 1523 ])
1500 ] . 1524 ] .
1501 1525
...@@ -1504,7 +1528,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1504,7 +1528,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1504 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1528 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1505 spin:body 1529 spin:body
1506 [ rdf:type sp:Select ; 1530 [ rdf:type sp:Select ;
1507 - sp:resultVariables (_:b28) ; 1531 + sp:resultVariables (_:b29) ;
1508 sp:where ([ rdf:type sp:Bind ; 1532 sp:where ([ rdf:type sp:Bind ;
1509 sp:expression 1533 sp:expression
1510 [ rdf:type sp:if ; 1534 [ rdf:type sp:if ;
...@@ -1578,7 +1602,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1578,7 +1602,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1578 ] 1602 ]
1579 ] 1603 ]
1580 ] ; 1604 ] ;
1581 - sp:variable _:b28 1605 + sp:variable _:b29
1582 ]) 1606 ])
1583 ] . 1607 ] .
1584 1608
...@@ -1588,7 +1612,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1588,7 +1612,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1588 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1612 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1589 spin:body 1613 spin:body
1590 [ rdf:type sp:Select ; 1614 [ rdf:type sp:Select ;
1591 - sp:resultVariables (_:b29) ; 1615 + sp:resultVariables (_:b30) ;
1592 sp:where ([ rdf:type sp:Bind ; 1616 sp:where ([ rdf:type sp:Bind ;
1593 sp:expression 1617 sp:expression
1594 [ rdf:type sp:if ; 1618 [ rdf:type sp:if ;
...@@ -1613,7 +1637,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1613,7 +1637,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1613 ] 1637 ]
1614 ] 1638 ]
1615 ] ; 1639 ] ;
1616 - sp:variable _:b29 1640 + sp:variable _:b30
1617 ]) 1641 ])
1618 ] . 1642 ] .
1619 1643
...@@ -1623,7 +1647,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -1623,7 +1647,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1623 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1647 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1624 spin:body 1648 spin:body
1625 [ rdf:type sp:Select ; 1649 [ rdf:type sp:Select ;
1626 - sp:resultVariables (_:b30) ; 1650 + sp:resultVariables (_:b31) ;
1627 sp:where ([ rdf:type sp:Bind ; 1651 sp:where ([ rdf:type sp:Bind ;
1628 sp:expression 1652 sp:expression
1629 [ rdf:type sp:if ; 1653 [ rdf:type sp:if ;
...@@ -1648,7 +1672,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -1648,7 +1672,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1648 ] 1672 ]
1649 ] 1673 ]
1650 ] ; 1674 ] ;
1651 - sp:variable _:b30 1675 + sp:variable _:b31
1652 ]) 1676 ])
1653 ] . 1677 ] .
1654 1678
...@@ -1658,7 +1682,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale ...@@ -1658,7 +1682,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
1658 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1682 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1659 spin:body 1683 spin:body
1660 [ rdf:type sp:Select ; 1684 [ rdf:type sp:Select ;
1661 - sp:resultVariables (_:b31) ; 1685 + sp:resultVariables (_:b32) ;
1662 sp:where ([ rdf:type sp:Bind ; 1686 sp:where ([ rdf:type sp:Bind ;
1663 sp:expression 1687 sp:expression
1664 [ rdf:type sp:if ; 1688 [ rdf:type sp:if ;
...@@ -1683,7 +1707,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale ...@@ -1683,7 +1707,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
1683 ] 1707 ]
1684 ] 1708 ]
1685 ] ; 1709 ] ;
1686 - sp:variable _:b31 1710 + sp:variable _:b32
1687 ]) 1711 ])
1688 ] . 1712 ] .
1689 1713
...@@ -1693,7 +1717,7 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1693,7 +1717,7 @@ ep-dpr-spin-lib:selectVolumeScale
1693 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1717 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1694 spin:body 1718 spin:body
1695 [ rdf:type sp:Select ; 1719 [ rdf:type sp:Select ;
1696 - sp:resultVariables (_:b32) ; 1720 + sp:resultVariables (_:b33) ;
1697 sp:where ([ rdf:type sp:Bind ; 1721 sp:where ([ rdf:type sp:Bind ;
1698 sp:expression 1722 sp:expression
1699 [ rdf:type sp:if ; 1723 [ rdf:type sp:if ;
...@@ -1921,93 +1945,96 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1921,93 +1945,96 @@ ep-dpr-spin-lib:selectVolumeScale
1921 ] 1945 ]
1922 ] 1946 ]
1923 ] ; 1947 ] ;
1924 - sp:variable _:b32 1948 + sp:variable _:b33
1925 ]) 1949 ])
1926 ] . 1950 ] .
1927 1951
1928 -_:b32 1952 +_:b1 sp:varName "uri"^^xsd:string .
1929 - sp:varName "volumeScale"^^xsd:string .
1930 1953
1931 -_:b31 1954 +_:b4 sp:varName "uri"^^xsd:string .
1932 - sp:varName "volumeFlowRateScale"^^xsd:string .
1933 1955
1934 -_:b30 1956 +_:b5 sp:varName "uri"^^xsd:string .
1935 - sp:varName "volumeFlowRateAtStdType"^^xsd:string .
1936 1957
1937 -_:b29 1958 +_:b6 sp:varName "uri"^^xsd:string .
1938 - sp:varName "volumeAtStdType"^^xsd:string .
1939 1959
1940 -_:b28 1960 +_:b7 sp:varName "uri"^^xsd:string .
1941 - sp:varName "prodActType"^^xsd:string .
1942 1961
1943 -_:b27 1962 +_:b8 sp:varName "uri"^^xsd:string .
1944 - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
1945 1963
1946 -_:b26 1964 +_:b9 sp:varName "uri"^^xsd:string .
1947 - sp:varName "temperatureScale"^^xsd:string .
1948 1965
1949 -_:b25 1966 +_:b10
1950 - sp:varName "specificVolumeScale"^^xsd:string . 1967 + sp:varName "uri"^^xsd:string .
1951 1968
1952 -_:b24 1969 +_:b11
1953 - sp:varName "safetyActivityType"^^xsd:string . 1970 + sp:varName "uri"^^xsd:string .
1954 1971
1955 -_:b23 1972 +_:b12
1956 - sp:varName "relationshipToMeasure"^^xsd:string . 1973 + sp:varName "uri"^^xsd:string .
1957 1974
1958 -_:b22 1975 +_:b13
1959 - sp:varName "productionFlowPurposeType"^^xsd:string . 1976 + sp:varName "uri"^^xsd:string .
1960 1977
1961 -_:b21 1978 +_:b14
1962 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1979 + sp:varName "uri"^^xsd:string .
1963 1980
1964 -_:b20 1981 +_:b15
1965 - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1982 + sp:varName "durationScale"^^xsd:string .
1966 1983
1967 -_:b19 1984 +_:b16
1968 - sp:varName "productionFlowDefinitionType"^^xsd:string . 1985 + sp:varName "lengthScale"^^xsd:string .
1986 +
1987 +_:b17
1988 + sp:varName "pressureScale"^^xsd:string .
1969 1989
1970 _:b18 1990 _:b18
1991 + sp:varName "productType"^^xsd:string .
1992 +
1993 +_:b19
1971 sp:varName "productionFacilityType"^^xsd:string . 1994 sp:varName "productionFacilityType"^^xsd:string .
1972 1995
1973 -_:b17 1996 +_:b20
1974 - sp:varName "productType"^^xsd:string . 1997 + sp:varName "productionFlowDefinitionType"^^xsd:string .
1975 1998
1976 -_:b16 1999 +_:b21
1977 - sp:varName "pressureScale"^^xsd:string . 2000 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1978 2001
1979 -_:b15 2002 +_:b22
1980 - sp:varName "lengthScale"^^xsd:string . 2003 + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1981 2004
1982 -_:b14 2005 +_:b23
1983 - sp:varName "durationScale"^^xsd:string . 2006 + sp:varName "productionFlowPurposeType"^^xsd:string .
1984 2007
1985 -_:b13 2008 +_:b24
1986 - sp:varName "uri"^^xsd:string . 2009 + sp:varName "relationshipToMeasure"^^xsd:string .
1987 2010
1988 -_:b12 2011 +_:b25
1989 - sp:varName "uri"^^xsd:string . 2012 + sp:varName "safetyActivityType"^^xsd:string .
1990 2013
1991 -_:b11 2014 +_:b26
1992 - sp:varName "uri"^^xsd:string . 2015 + sp:varName "specificVolumeScale"^^xsd:string .
1993 2016
1994 -_:b10 2017 +_:b27
1995 - sp:varName "uri"^^xsd:string . 2018 + sp:varName "temperatureScale"^^xsd:string .
1996 2019
1997 -_:b9 sp:varName "uri"^^xsd:string . 2020 +_:b28
2021 + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
1998 2022
1999 -_:b8 sp:varName "uri"^^xsd:string . 2023 +_:b29
2024 + sp:varName "prodActType"^^xsd:string .
2000 2025
2001 -_:b7 sp:varName "uri"^^xsd:string . 2026 +_:b30
2027 + sp:varName "volumeAtStdType"^^xsd:string .
2002 2028
2003 -_:b5 sp:varName "uri"^^xsd:string . 2029 +_:b31
2030 + sp:varName "volumeFlowRateAtStdType"^^xsd:string .
2004 2031
2005 -_:b4 sp:varName "uri"^^xsd:string . 2032 +_:b32
2033 + sp:varName "volumeFlowRateScale"^^xsd:string .
2034 +
2035 +_:b33
2036 + sp:varName "volumeScale"^^xsd:string .
2006 2037
2007 _:b3 sp:varName "uri"^^xsd:string . 2038 _:b3 sp:varName "uri"^^xsd:string .
2008 2039
2009 _:b2 sp:varName "uri"^^xsd:string . 2040 _:b2 sp:varName "uri"^^xsd:string .
2010 -
2011 -_:b1 sp:varName "uri"^^xsd:string .
2012 -
2013 -_:b6 sp:varName "uri"^^xsd:string .
......
1 -# Saved by TopBraid on Thu Oct 13 14:16:00 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 17:25:56 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#> .
......