David Leal

ProductVolume changes to DPR lib and production-activity

1 -# Saved by TopBraid on Thu Oct 13 09:46:20 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 13:06:48 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-activity
3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-facility 3 # imports: http://www.reportinghub.no/ep/schema/1.0/production-facility
4 # imports: http://www.reportinghub.no/ep/schema/1.0/well 4 # imports: http://www.reportinghub.no/ep/schema/1.0/well
5 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
6 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment 5 # imports: http://www.reportinghub.no/ep/schema/1.0/equipment
7 -# imports: http://www.reportinghub.no/ep/schema/1.0/activity 6 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
8 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 7 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
8 +# imports: http://www.reportinghub.no/ep/schema/1.0/activity
9 # imports: http://www.reportinghub.no/ep/schema/1.0/flow 9 # imports: http://www.reportinghub.no/ep/schema/1.0/flow
10 10
11 @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> . 11 @prefix ep-prodact: <http://www.reportinghub.no/ep/schema/production-activity#> .
...@@ -16,13 +16,17 @@ ...@@ -16,13 +16,17 @@
16 16
17 <http://www.reportinghub.no/ep/schema/1.0/production-activity> 17 <http://www.reportinghub.no/ep/schema/1.0/production-activity>
18 rdf:type owl:Ontology ; 18 rdf:type owl:Ontology ;
19 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-facility> , <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/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/flow> ; 19 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/production-facility> ;
20 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 20 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
21 21
22 +<http://www.reportinghub.no/ep/schema/activity#ProductionActivityToDate>
23 + rdf:type owl:Class ;
24 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> .
25 +
22 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest> 26 <http://www.reportinghub.no/ep/schema/activity#ProductionWellTest>
23 rdf:type owl:Class ; 27 rdf:type owl:Class ;
24 rdfs:label "production well test"^^xsd:string ; 28 rdfs:label "production well test"^^xsd:string ;
25 - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> , <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> . 29 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> .
26 30
27 <http://www.reportinghub.no/ep/schema/activity#hasFlow> 31 <http://www.reportinghub.no/ep/schema/activity#hasFlow>
28 rdf:type owl:ObjectProperty ; 32 rdf:type owl:ObjectProperty ;
...@@ -67,7 +71,7 @@ ...@@ -67,7 +71,7 @@
67 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . 71 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> .
68 72
69 ep-prodact:AdministerFirstAid 73 ep-prodact:AdministerFirstAid
70 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 74 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
71 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 75 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
72 76
73 ep-prodact:AirTrafficOperation 77 ep-prodact:AirTrafficOperation
...@@ -84,11 +88,11 @@ ep-prodact:AnnualProductionActivityToEndOfReportingPeriod ...@@ -84,11 +88,11 @@ ep-prodact:AnnualProductionActivityToEndOfReportingPeriod
84 88
85 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod 89 ep-prodact:AnnualProductionOperationsActivityToEndOfReportingPeriod
86 rdf:type owl:Class ; 90 rdf:type owl:Class ;
87 - rdfs:subClassOf ep-prodact:ProductionOperationsActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod . 91 + rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionOperationsActivity .
88 92
89 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod 93 ep-prodact:AnnualProductionVolumeActivityToEndOfReportingPeriod
90 rdf:type owl:Class ; 94 rdf:type owl:Class ;
91 - rdfs:subClassOf ep-prodact:ProductionVolumeActivity , ep-prodact:AnnualProductionActivityToEndOfReportingPeriod . 95 + rdfs:subClassOf ep-prodact:AnnualProductionActivityToEndOfReportingPeriod , ep-prodact:ProductionVolumeActivity .
92 96
93 ep-prodact:ConstructionOperation 97 ep-prodact:ConstructionOperation
94 rdf:type owl:Class ; 98 rdf:type owl:Class ;
...@@ -100,18 +104,18 @@ ep-prodact:CumulativeProductionActivitySinceProductionBegan ...@@ -100,18 +104,18 @@ ep-prodact:CumulativeProductionActivitySinceProductionBegan
100 104
101 ep-prodact:DailyProductionOperationsActivity 105 ep-prodact:DailyProductionOperationsActivity
102 rdf:type owl:Class ; 106 rdf:type owl:Class ;
103 - rdfs:subClassOf ep-prodact:ProductionOperationsActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 107 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionOperationsActivity .
104 108
105 ep-prodact:DailyProductionVolumeActivity 109 ep-prodact:DailyProductionVolumeActivity
106 rdf:type owl:Class ; 110 rdf:type owl:Class ;
107 - rdfs:subClassOf ep-prodact:ProductionVolumeActivity , <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> . 111 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#DailyProductionActivity> , ep-prodact:ProductionVolumeActivity .
108 112
109 ep-prodact:Deviation 113 ep-prodact:Deviation
110 rdf:type owl:Class ; 114 rdf:type owl:Class ;
111 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 115 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
112 116
113 ep-prodact:DrillOrExcercise 117 ep-prodact:DrillOrExcercise
114 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 118 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
115 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 119 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
116 120
117 ep-prodact:Fire 121 ep-prodact:Fire
...@@ -139,11 +143,11 @@ ep-prodact:Incident ...@@ -139,11 +143,11 @@ ep-prodact:Incident
139 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 143 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
140 144
141 ep-prodact:Injury 145 ep-prodact:Injury
142 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 146 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
143 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 147 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
144 148
145 ep-prodact:IssueWorkPermit 149 ep-prodact:IssueWorkPermit
146 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 150 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
147 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 151 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
148 152
149 ep-prodact:JobObservation 153 ep-prodact:JobObservation
...@@ -171,7 +175,7 @@ ep-prodact:MarineOperation ...@@ -171,7 +175,7 @@ ep-prodact:MarineOperation
171 rdfs:subClassOf ep-prodact:PartOfProductionActivity . 175 rdfs:subClassOf ep-prodact:PartOfProductionActivity .
172 176
173 ep-prodact:MedicalTreatmentInjury 177 ep-prodact:MedicalTreatmentInjury
174 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 178 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
175 rdfs:subClassOf ep-prodact:Injury . 179 rdfs:subClassOf ep-prodact:Injury .
176 180
177 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod 181 ep-prodact:MonthlyProductionActivityToEndOfReportingPeriod
...@@ -211,7 +215,7 @@ ep-prodact:ReleasedToWater ...@@ -211,7 +215,7 @@ ep-prodact:ReleasedToWater
211 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 215 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
212 216
213 ep-prodact:ReportHazard 217 ep-prodact:ReportHazard
214 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 218 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
215 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 219 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
216 220
217 ep-prodact:RestrictedWork 221 ep-prodact:RestrictedWork
...@@ -219,7 +223,7 @@ ep-prodact:RestrictedWork ...@@ -219,7 +223,7 @@ ep-prodact:RestrictedWork
219 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 223 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
220 224
221 ep-prodact:RestrictedWorkInjury 225 ep-prodact:RestrictedWorkInjury
222 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 226 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
223 rdfs:subClassOf ep-prodact:Injury . 227 rdfs:subClassOf ep-prodact:Injury .
224 228
225 ep-prodact:SafetyActivityType 229 ep-prodact:SafetyActivityType
...@@ -227,7 +231,7 @@ ep-prodact:SafetyActivityType ...@@ -227,7 +231,7 @@ ep-prodact:SafetyActivityType
227 rdfs:subClassOf owl:Class . 231 rdfs:subClassOf owl:Class .
228 232
229 ep-prodact:SafetyMeeting 233 ep-prodact:SafetyMeeting
230 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 234 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
231 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 235 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
232 236
233 ep-prodact:SentAshore 237 ep-prodact:SentAshore
...@@ -243,15 +247,15 @@ ep-prodact:SickOnBoard ...@@ -243,15 +247,15 @@ ep-prodact:SickOnBoard
243 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 247 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
244 248
245 ep-prodact:SpillOrLeak 249 ep-prodact:SpillOrLeak
246 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 250 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
247 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 251 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
248 252
249 ep-prodact:WorkingUnderPermit 253 ep-prodact:WorkingUnderPermit
250 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 254 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
251 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . 255 rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity .
252 256
253 ep-prodact:WorkingUnderPermitWithSJA 257 ep-prodact:WorkingUnderPermitWithSJA
254 - rdf:type ep-prodact:SafetyActivityType , owl:Class ; 258 + rdf:type owl:Class , ep-prodact:SafetyActivityType ;
255 rdfs:subClassOf ep-prodact:WorkingUnderPermit . 259 rdfs:subClassOf ep-prodact:WorkingUnderPermit .
256 260
257 ep-prodact:hasPart 261 ep-prodact:hasPart
......
1 -# Saved by TopBraid on Thu Oct 13 10:10:17 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 13:05:22 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
...@@ -151,13 +151,37 @@ ep-dpr-spin-lib:buildProductFlowURI ...@@ -151,13 +151,37 @@ ep-dpr-spin-lib:buildProductFlowURI
151 ]) 151 ])
152 ] . 152 ] .
153 153
154 +ep-dpr-spin-lib:buildProductionActivityToDateURI
155 + rdf:type spin:Function ;
156 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
157 + spin:body
158 + [ rdf:type sp:Select ;
159 + rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
160 +arg2 is end date"""^^xsd:string ;
161 + sp:resultVariables (_:b6) ;
162 + sp:where ([ rdf:type sp:Bind ;
163 + sp:expression
164 + [ rdf:type ep-spin-lib:buildURI ;
165 + sp:arg1 "https://www.reportinghub.no/ep/data/productionActivityToDate/" ;
166 + sp:arg2 [ rdf:type fn:concat ;
167 + sp:arg1 [ rdf:type ep-spin-lib:normalizeString ;
168 + sp:arg1 spin:_arg1
169 + ] ;
170 + sp:arg2 "$" ;
171 + sp:arg3 spin:_arg2
172 + ]
173 + ] ;
174 + sp:variable _:b6
175 + ])
176 + ] .
177 +
154 ep-dpr-spin-lib:buildProductionFacilityURI 178 ep-dpr-spin-lib:buildProductionFacilityURI
155 rdf:type spin:Function ; 179 rdf:type spin:Function ;
156 rdfs:label "build ProductionFacility URI"^^xsd:string ; 180 rdfs:label "build ProductionFacility URI"^^xsd:string ;
157 rdfs:subClassOf ep-dpr-spin-lib:Function ; 181 rdfs:subClassOf ep-dpr-spin-lib:Function ;
158 spin:body 182 spin:body
159 [ rdf:type sp:Select ; 183 [ rdf:type sp:Select ;
160 - sp:resultVariables (_:b6) ; 184 + sp:resultVariables (_:b7) ;
161 sp:where ([ rdf:type sp:Bind ; 185 sp:where ([ rdf:type sp:Bind ;
162 sp:expression 186 sp:expression
163 [ rdf:type ep-spin-lib:buildURI ; 187 [ rdf:type ep-spin-lib:buildURI ;
...@@ -166,7 +190,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI ...@@ -166,7 +190,7 @@ ep-dpr-spin-lib:buildProductionFacilityURI
166 sp:arg1 spin:_arg1 190 sp:arg1 spin:_arg1
167 ] 191 ]
168 ] ; 192 ] ;
169 - sp:variable _:b6 193 + sp:variable _:b7
170 ]) 194 ])
171 ] . 195 ] .
172 196
...@@ -176,7 +200,7 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -176,7 +200,7 @@ ep-dpr-spin-lib:buildProductionFlowURI
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 ;
...@@ -185,17 +209,17 @@ ep-dpr-spin-lib:buildProductionFlowURI ...@@ -185,17 +209,17 @@ ep-dpr-spin-lib:buildProductionFlowURI
185 sp:arg1 spin:_arg1 209 sp:arg1 spin:_arg1
186 ] 210 ]
187 ] ; 211 ] ;
188 - sp:variable _:b7 212 + sp:variable _:b8
189 ]) 213 ])
190 ] . 214 ] .
191 215
192 ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI 216 ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
193 rdf:type spin:Function ; 217 rdf:type spin:Function ;
194 - rdfs:label "build ProductionFacility URI"^^xsd:string ; 218 + rdfs:label "build ProductionFlowsForAPeriod URI"^^xsd:string ;
195 rdfs:subClassOf ep-dpr-spin-lib:Function ; 219 rdfs:subClassOf ep-dpr-spin-lib:Function ;
196 spin:body 220 spin:body
197 [ rdf:type sp:Select ; 221 [ rdf:type sp:Select ;
198 - sp:resultVariables (_:b8) ; 222 + sp:resultVariables (_:b9) ;
199 sp:where ([ rdf:type sp:Bind ; 223 sp:where ([ rdf:type sp:Bind ;
200 sp:expression 224 sp:expression
201 [ rdf:type ep-spin-lib:buildURI ; 225 [ rdf:type ep-spin-lib:buildURI ;
...@@ -208,7 +232,28 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI ...@@ -208,7 +232,28 @@ ep-dpr-spin-lib:buildProductionFlowsForAPeriodURI
208 sp:arg5 spin:_arg3 232 sp:arg5 spin:_arg3
209 ] 233 ]
210 ] ; 234 ] ;
211 - sp:variable _:b8 235 + sp:variable _:b9
236 + ])
237 + ] .
238 +
239 +ep-dpr-spin-lib:buildProductionFlowsToDateURI
240 + rdf:type spin:Function ;
241 + rdfs:label "build ProductionFlowsToDate URI"^^xsd:string ;
242 + rdfs:subClassOf ep-dpr-spin-lib:Function ;
243 + spin:body
244 + [ rdf:type sp:Select ;
245 + sp:resultVariables (_:b10) ;
246 + sp:where ([ rdf:type sp:Bind ;
247 + sp:expression
248 + [ rdf:type ep-spin-lib:buildURI ;
249 + sp:arg1 "https://www.reportinghub.no/ep/data/productionFlowsToDate/" ;
250 + sp:arg2 [ rdf:type fn:concat ;
251 + sp:arg1 spin:_arg1 ;
252 + sp:arg2 "$" ;
253 + sp:arg3 spin:_arg2
254 + ]
255 + ] ;
256 + sp:variable _:b10
212 ]) 257 ])
213 ] . 258 ] .
214 259
...@@ -218,7 +263,7 @@ ep-dpr-spin-lib:buildShipURI ...@@ -218,7 +263,7 @@ ep-dpr-spin-lib:buildShipURI
218 spin:body 263 spin:body
219 [ rdf:type sp:Select ; 264 [ rdf:type sp:Select ;
220 rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ; 265 rdfs:comment "arg1 is name of the ship - assumed to be unique in this scope"^^xsd:string ;
221 - sp:resultVariables (_:b9) ; 266 + sp:resultVariables (_:b11) ;
222 sp:where ([ rdf:type sp:Bind ; 267 sp:where ([ rdf:type sp:Bind ;
223 sp:expression 268 sp:expression
224 [ rdf:type ep-spin-lib:buildURI ; 269 [ rdf:type ep-spin-lib:buildURI ;
...@@ -227,7 +272,7 @@ ep-dpr-spin-lib:buildShipURI ...@@ -227,7 +272,7 @@ ep-dpr-spin-lib:buildShipURI
227 sp:arg1 spin:_arg1 272 sp:arg1 spin:_arg1
228 ] 273 ]
229 ] ; 274 ] ;
230 - sp:variable _:b9 275 + sp:variable _:b11
231 ]) 276 ])
232 ] . 277 ] .
233 278
...@@ -237,7 +282,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -237,7 +282,7 @@ ep-dpr-spin-lib:buildStateURI
237 rdfs:subClassOf ep-dpr-spin-lib:Function ; 282 rdfs:subClassOf ep-dpr-spin-lib:Function ;
238 spin:body 283 spin:body
239 [ rdf:type sp:Select ; 284 [ rdf:type sp:Select ;
240 - sp:resultVariables (_:b10) ; 285 + sp:resultVariables (_:b12) ;
241 sp:where ([ rdf:type sp:Bind ; 286 sp:where ([ rdf:type sp:Bind ;
242 sp:expression 287 sp:expression
243 [ rdf:type ep-spin-lib:buildURI ; 288 [ rdf:type ep-spin-lib:buildURI ;
...@@ -246,7 +291,7 @@ ep-dpr-spin-lib:buildStateURI ...@@ -246,7 +291,7 @@ ep-dpr-spin-lib:buildStateURI
246 sp:arg1 spin:_arg1 291 sp:arg1 spin:_arg1
247 ] 292 ]
248 ] ; 293 ] ;
249 - sp:variable _:b10 294 + sp:variable _:b12
250 ]) 295 ])
251 ] . 296 ] .
252 297
...@@ -258,7 +303,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI ...@@ -258,7 +303,7 @@ ep-dpr-spin-lib:buildTemporalPartOfFacilityURI
258 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup) 303 rdfs:comment """arg1 is name of facility (this is going to change when we sort out the identity lookup)
259 arg2 is start date 304 arg2 is start date
260 arg3 is end date"""^^xsd:string ; 305 arg3 is end date"""^^xsd:string ;
261 - sp:resultVariables (_:b11) ; 306 + sp:resultVariables (_:b13) ;
262 sp:where ([ rdf:type sp:Bind ; 307 sp:where ([ rdf:type sp:Bind ;
263 sp:expression 308 sp:expression
264 [ rdf:type ep-spin-lib:buildURI ; 309 [ rdf:type ep-spin-lib:buildURI ;
...@@ -273,7 +318,7 @@ arg3 is end date"""^^xsd:string ; ...@@ -273,7 +318,7 @@ arg3 is end date"""^^xsd:string ;
273 sp:arg5 spin:_arg3 318 sp:arg5 spin:_arg3
274 ] 319 ]
275 ] ; 320 ] ;
276 - sp:variable _:b11 321 + sp:variable _:b13
277 ]) 322 ])
278 ] . 323 ] .
279 324
...@@ -283,7 +328,7 @@ ep-dpr-spin-lib:selectDurationScale ...@@ -283,7 +328,7 @@ ep-dpr-spin-lib:selectDurationScale
283 rdfs:subClassOf ep-dpr-spin-lib:Function ; 328 rdfs:subClassOf ep-dpr-spin-lib:Function ;
284 spin:body 329 spin:body
285 [ rdf:type sp:Select ; 330 [ rdf:type sp:Select ;
286 - sp:resultVariables (_:b12) ; 331 + sp:resultVariables (_:b14) ;
287 sp:where ([ rdf:type sp:Bind ; 332 sp:where ([ rdf:type sp:Bind ;
288 sp:expression 333 sp:expression
289 [ rdf:type sp:if ; 334 [ rdf:type sp:if ;
...@@ -308,7 +353,7 @@ ep-dpr-spin-lib:selectDurationScale ...@@ -308,7 +353,7 @@ ep-dpr-spin-lib:selectDurationScale
308 ] 353 ]
309 ] 354 ]
310 ] ; 355 ] ;
311 - sp:variable _:b12 356 + sp:variable _:b14
312 ]) 357 ])
313 ] . 358 ] .
314 359
...@@ -318,7 +363,7 @@ ep-dpr-spin-lib:selectLengthScale ...@@ -318,7 +363,7 @@ ep-dpr-spin-lib:selectLengthScale
318 rdfs:subClassOf ep-dpr-spin-lib:Function ; 363 rdfs:subClassOf ep-dpr-spin-lib:Function ;
319 spin:body 364 spin:body
320 [ rdf:type sp:Select ; 365 [ rdf:type sp:Select ;
321 - sp:resultVariables (_:b13) ; 366 + sp:resultVariables (_:b15) ;
322 sp:where ([ rdf:type sp:Bind ; 367 sp:where ([ rdf:type sp:Bind ;
323 sp:expression 368 sp:expression
324 [ rdf:type sp:if ; 369 [ rdf:type sp:if ;
...@@ -357,7 +402,7 @@ ep-dpr-spin-lib:selectLengthScale ...@@ -357,7 +402,7 @@ ep-dpr-spin-lib:selectLengthScale
357 ] 402 ]
358 ] 403 ]
359 ] ; 404 ] ;
360 - sp:variable _:b13 405 + sp:variable _:b15
361 ]) 406 ])
362 ] . 407 ] .
363 408
...@@ -367,7 +412,7 @@ ep-dpr-spin-lib:selectPressureScale ...@@ -367,7 +412,7 @@ ep-dpr-spin-lib:selectPressureScale
367 rdfs:subClassOf ep-dpr-spin-lib:Function ; 412 rdfs:subClassOf ep-dpr-spin-lib:Function ;
368 spin:body 413 spin:body
369 [ rdf:type sp:Select ; 414 [ rdf:type sp:Select ;
370 - sp:resultVariables (_:b14) ; 415 + sp:resultVariables (_:b16) ;
371 sp:where ([ rdf:type sp:Bind ; 416 sp:where ([ rdf:type sp:Bind ;
372 sp:expression 417 sp:expression
373 [ rdf:type sp:if ; 418 [ rdf:type sp:if ;
...@@ -392,7 +437,7 @@ ep-dpr-spin-lib:selectPressureScale ...@@ -392,7 +437,7 @@ ep-dpr-spin-lib:selectPressureScale
392 ] 437 ]
393 ] 438 ]
394 ] ; 439 ] ;
395 - sp:variable _:b14 440 + sp:variable _:b16
396 ]) 441 ])
397 ] . 442 ] .
398 443
...@@ -402,7 +447,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -402,7 +447,7 @@ ep-dpr-spin-lib:selectProductType
402 rdfs:subClassOf ep-dpr-spin-lib:Function ; 447 rdfs:subClassOf ep-dpr-spin-lib:Function ;
403 spin:body 448 spin:body
404 [ rdf:type sp:Select ; 449 [ rdf:type sp:Select ;
405 - sp:resultVariables (_:b15) ; 450 + sp:resultVariables (_:b17) ;
406 sp:where ([ rdf:type sp:Bind ; 451 sp:where ([ rdf:type sp:Bind ;
407 sp:expression 452 sp:expression
408 [ rdf:type sp:if ; 453 [ rdf:type sp:if ;
...@@ -609,7 +654,7 @@ ep-dpr-spin-lib:selectProductType ...@@ -609,7 +654,7 @@ ep-dpr-spin-lib:selectProductType
609 ] 654 ]
610 ] 655 ]
611 ] ; 656 ] ;
612 - sp:variable _:b15 657 + sp:variable _:b17
613 ]) 658 ])
614 ] . 659 ] .
615 660
...@@ -619,7 +664,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -619,7 +664,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
619 rdfs:subClassOf ep-dpr-spin-lib:Function ; 664 rdfs:subClassOf ep-dpr-spin-lib:Function ;
620 spin:body 665 spin:body
621 [ rdf:type sp:Select ; 666 [ rdf:type sp:Select ;
622 - sp:resultVariables (_:b16) ; 667 + sp:resultVariables (_:b18) ;
623 sp:where ([ rdf:type sp:Bind ; 668 sp:where ([ rdf:type sp:Bind ;
624 sp:expression 669 sp:expression
625 [ rdf:type sp:if ; 670 [ rdf:type sp:if ;
...@@ -798,7 +843,7 @@ ep-dpr-spin-lib:selectProductionFacilityType ...@@ -798,7 +843,7 @@ ep-dpr-spin-lib:selectProductionFacilityType
798 ] 843 ]
799 ] 844 ]
800 ] ; 845 ] ;
801 - sp:variable _:b16 846 + sp:variable _:b18
802 ]) 847 ])
803 ] . 848 ] .
804 849
...@@ -808,7 +853,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -808,7 +853,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
808 rdfs:subClassOf ep-dpr-spin-lib:Function ; 853 rdfs:subClassOf ep-dpr-spin-lib:Function ;
809 spin:body 854 spin:body
810 [ rdf:type sp:Select ; 855 [ rdf:type sp:Select ;
811 - sp:resultVariables (_:b17) ; 856 + sp:resultVariables (_:b19) ;
812 sp:where ([ rdf:type sp:Bind ; 857 sp:where ([ rdf:type sp:Bind ;
813 sp:expression 858 sp:expression
814 [ rdf:type sp:if ; 859 [ rdf:type sp:if ;
...@@ -868,7 +913,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType ...@@ -868,7 +913,7 @@ ep-dpr-spin-lib:selectProductionFlowDefinitionType
868 ] 913 ]
869 ] 914 ]
870 ] ; 915 ] ;
871 - sp:variable _:b17 916 + sp:variable _:b19
872 ]) 917 ])
873 ] . 918 ] .
874 919
...@@ -878,7 +923,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -878,7 +923,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
878 rdfs:subClassOf ep-dpr-spin-lib:Function ; 923 rdfs:subClassOf ep-dpr-spin-lib:Function ;
879 spin:body 924 spin:body
880 [ rdf:type sp:Select ; 925 [ rdf:type sp:Select ;
881 - sp:resultVariables (_:b18) ; 926 + sp:resultVariables (_:b20) ;
882 sp:where ([ rdf:type sp:Bind ; 927 sp:where ([ rdf:type sp:Bind ;
883 sp:expression 928 sp:expression
884 [ rdf:type sp:if ; 929 [ rdf:type sp:if ;
...@@ -896,7 +941,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType ...@@ -896,7 +941,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionInverseRelationshipType
896 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 941 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
897 ] 942 ]
898 ] ; 943 ] ;
899 - sp:variable _:b18 944 + sp:variable _:b20
900 ]) 945 ])
901 ] . 946 ] .
902 947
...@@ -906,7 +951,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -906,7 +951,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
906 rdfs:subClassOf ep-dpr-spin-lib:Function ; 951 rdfs:subClassOf ep-dpr-spin-lib:Function ;
907 spin:body 952 spin:body
908 [ rdf:type sp:Select ; 953 [ rdf:type sp:Select ;
909 - sp:resultVariables (_:b19) ; 954 + sp:resultVariables (_:b21) ;
910 sp:where ([ rdf:type sp:Bind ; 955 sp:where ([ rdf:type sp:Bind ;
911 sp:expression 956 sp:expression
912 [ rdf:type sp:if ; 957 [ rdf:type sp:if ;
...@@ -924,7 +969,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType ...@@ -924,7 +969,7 @@ ep-dpr-spin-lib:selectProductionFlowDirectionRelationshipType
924 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> 969 sp:arg3 <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf>
925 ] 970 ]
926 ] ; 971 ] ;
927 - sp:variable _:b19 972 + sp:variable _:b21
928 ]) 973 ])
929 ] . 974 ] .
930 975
...@@ -934,7 +979,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -934,7 +979,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
934 rdfs:subClassOf ep-dpr-spin-lib:Function ; 979 rdfs:subClassOf ep-dpr-spin-lib:Function ;
935 spin:body 980 spin:body
936 [ rdf:type sp:Select ; 981 [ rdf:type sp:Select ;
937 - sp:resultVariables (_:b20) ; 982 + sp:resultVariables (_:b22) ;
938 sp:where ([ rdf:type sp:Bind ; 983 sp:where ([ rdf:type sp:Bind ;
939 sp:expression 984 sp:expression
940 [ rdf:type sp:if ; 985 [ rdf:type sp:if ;
...@@ -1085,7 +1130,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType ...@@ -1085,7 +1130,7 @@ ep-dpr-spin-lib:selectProductionFlowPurposeType
1085 ] 1130 ]
1086 ] 1131 ]
1087 ] ; 1132 ] ;
1088 - sp:variable _:b20 1133 + sp:variable _:b22
1089 ]) 1134 ])
1090 ] . 1135 ] .
1091 1136
...@@ -1095,7 +1140,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1095,7 +1140,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1095 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1140 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1096 spin:body 1141 spin:body
1097 [ rdf:type sp:Select ; 1142 [ rdf:type sp:Select ;
1098 - sp:resultVariables (_:b21) ; 1143 + sp:resultVariables (_:b23) ;
1099 sp:where ([ rdf:type sp:Bind ; 1144 sp:where ([ rdf:type sp:Bind ;
1100 sp:expression 1145 sp:expression
1101 [ rdf:type sp:if ; 1146 [ rdf:type sp:if ;
...@@ -1169,7 +1214,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure ...@@ -1169,7 +1214,7 @@ ep-dpr-spin-lib:selectRelationshipToMeasure
1169 ] 1214 ]
1170 ] 1215 ]
1171 ] ; 1216 ] ;
1172 - sp:variable _:b21 1217 + sp:variable _:b23
1173 ]) 1218 ])
1174 ] . 1219 ] .
1175 1220
...@@ -1178,7 +1223,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1178,7 +1223,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1178 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1223 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1179 spin:body 1224 spin:body
1180 [ rdf:type sp:Select ; 1225 [ rdf:type sp:Select ;
1181 - sp:resultVariables (_:b22) ; 1226 + sp:resultVariables (_:b24) ;
1182 sp:where ([ rdf:type sp:Bind ; 1227 sp:where ([ rdf:type sp:Bind ;
1183 sp:expression 1228 sp:expression
1184 [ rdf:type sp:if ; 1229 [ rdf:type sp:if ;
...@@ -1322,7 +1367,7 @@ ep-dpr-spin-lib:selectSafetyActivityType ...@@ -1322,7 +1367,7 @@ ep-dpr-spin-lib:selectSafetyActivityType
1322 ] 1367 ]
1323 ] 1368 ]
1324 ] ; 1369 ] ;
1325 - sp:variable _:b22 1370 + sp:variable _:b24
1326 ]) 1371 ])
1327 ] . 1372 ] .
1328 1373
...@@ -1332,7 +1377,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -1332,7 +1377,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
1332 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1377 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1333 spin:body 1378 spin:body
1334 [ rdf:type sp:Select ; 1379 [ rdf:type sp:Select ;
1335 - sp:resultVariables (_:b23) ; 1380 + sp:resultVariables (_:b25) ;
1336 sp:where ([ rdf:type sp:Bind ; 1381 sp:where ([ rdf:type sp:Bind ;
1337 sp:expression 1382 sp:expression
1338 [ rdf:type sp:if ; 1383 [ rdf:type sp:if ;
...@@ -1343,7 +1388,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale ...@@ -1343,7 +1388,7 @@ ep-dpr-spin-lib:selectSpecificVolumeScale
1343 sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; 1388 sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
1344 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1389 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1345 ] ; 1390 ] ;
1346 - sp:variable _:b23 1391 + sp:variable _:b25
1347 ]) 1392 ])
1348 ] . 1393 ] .
1349 1394
...@@ -1353,7 +1398,7 @@ ep-dpr-spin-lib:selectTemperatureScale ...@@ -1353,7 +1398,7 @@ ep-dpr-spin-lib:selectTemperatureScale
1353 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1398 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1354 spin:body 1399 spin:body
1355 [ rdf:type sp:Select ; 1400 [ rdf:type sp:Select ;
1356 - sp:resultVariables (_:b24) ; 1401 + sp:resultVariables (_:b26) ;
1357 sp:where ([ rdf:type sp:Bind ; 1402 sp:where ([ rdf:type sp:Bind ;
1358 sp:expression 1403 sp:expression
1359 [ rdf:type sp:if ; 1404 [ rdf:type sp:if ;
...@@ -1371,7 +1416,7 @@ ep-dpr-spin-lib:selectTemperatureScale ...@@ -1371,7 +1416,7 @@ ep-dpr-spin-lib:selectTemperatureScale
1371 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> 1416 sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
1372 ] 1417 ]
1373 ] ; 1418 ] ;
1374 - sp:variable _:b24 1419 + sp:variable _:b26
1375 ]) 1420 ])
1376 ] . 1421 ] .
1377 1422
...@@ -1381,7 +1426,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1381,7 +1426,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1381 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1426 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1382 spin:body 1427 spin:body
1383 [ rdf:type sp:Select ; 1428 [ rdf:type sp:Select ;
1384 - sp:resultVariables (_:b25) ; 1429 + sp:resultVariables (_:b27) ;
1385 sp:where ([ rdf:type sp:Bind ; 1430 sp:where ([ rdf:type sp:Bind ;
1386 sp:expression 1431 sp:expression
1387 [ rdf:type sp:if ; 1432 [ rdf:type sp:if ;
...@@ -1455,7 +1500,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType ...@@ -1455,7 +1500,7 @@ ep-dpr-spin-lib:selectTemporalPartOfAFlowDurationType
1455 ] 1500 ]
1456 ] 1501 ]
1457 ] ; 1502 ] ;
1458 - sp:variable _:b25 1503 + sp:variable _:b27
1459 ]) 1504 ])
1460 ] . 1505 ] .
1461 1506
...@@ -1464,7 +1509,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1464,7 +1509,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1464 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1509 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1465 spin:body 1510 spin:body
1466 [ rdf:type sp:Select ; 1511 [ rdf:type sp:Select ;
1467 - sp:resultVariables (_:b26) ; 1512 + sp:resultVariables (_:b28) ;
1468 sp:where ([ rdf:type sp:Bind ; 1513 sp:where ([ rdf:type sp:Bind ;
1469 sp:expression 1514 sp:expression
1470 [ rdf:type sp:if ; 1515 [ rdf:type sp:if ;
...@@ -1538,7 +1583,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType ...@@ -1538,7 +1583,7 @@ ep-dpr-spin-lib:selectTemporalPartOfActivityDurationType
1538 ] 1583 ]
1539 ] 1584 ]
1540 ] ; 1585 ] ;
1541 - sp:variable _:b26 1586 + sp:variable _:b28
1542 ]) 1587 ])
1543 ] . 1588 ] .
1544 1589
...@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1548,7 +1593,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1548 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1593 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1549 spin:body 1594 spin:body
1550 [ rdf:type sp:Select ; 1595 [ rdf:type sp:Select ;
1551 - sp:resultVariables (_:b27) ; 1596 + sp:resultVariables (_:b29) ;
1552 sp:where ([ rdf:type sp:Bind ; 1597 sp:where ([ rdf:type sp:Bind ;
1553 sp:expression 1598 sp:expression
1554 [ rdf:type sp:if ; 1599 [ rdf:type sp:if ;
...@@ -1573,7 +1618,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType ...@@ -1573,7 +1618,7 @@ ep-dpr-spin-lib:selectVolumeAtStandardTemperaturePressureType
1573 ] 1618 ]
1574 ] 1619 ]
1575 ] ; 1620 ] ;
1576 - sp:variable _:b27 1621 + sp:variable _:b29
1577 ]) 1622 ])
1578 ] . 1623 ] .
1579 1624
...@@ -1583,7 +1628,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -1583,7 +1628,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1583 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1628 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1584 spin:body 1629 spin:body
1585 [ rdf:type sp:Select ; 1630 [ rdf:type sp:Select ;
1586 - sp:resultVariables (_:b28) ; 1631 + sp:resultVariables (_:b30) ;
1587 sp:where ([ rdf:type sp:Bind ; 1632 sp:where ([ rdf:type sp:Bind ;
1588 sp:expression 1633 sp:expression
1589 [ rdf:type sp:if ; 1634 [ rdf:type sp:if ;
...@@ -1608,7 +1653,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType ...@@ -1608,7 +1653,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateAtStandardTemperaturePressureType
1608 ] 1653 ]
1609 ] 1654 ]
1610 ] ; 1655 ] ;
1611 - sp:variable _:b28 1656 + sp:variable _:b30
1612 ]) 1657 ])
1613 ] . 1658 ] .
1614 1659
...@@ -1618,7 +1663,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale ...@@ -1618,7 +1663,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
1618 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1663 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1619 spin:body 1664 spin:body
1620 [ rdf:type sp:Select ; 1665 [ rdf:type sp:Select ;
1621 - sp:resultVariables (_:b29) ; 1666 + sp:resultVariables (_:b31) ;
1622 sp:where ([ rdf:type sp:Bind ; 1667 sp:where ([ rdf:type sp:Bind ;
1623 sp:expression 1668 sp:expression
1624 [ rdf:type sp:if ; 1669 [ rdf:type sp:if ;
...@@ -1643,7 +1688,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale ...@@ -1643,7 +1688,7 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale
1643 ] 1688 ]
1644 ] 1689 ]
1645 ] ; 1690 ] ;
1646 - sp:variable _:b29 1691 + sp:variable _:b31
1647 ]) 1692 ])
1648 ] . 1693 ] .
1649 1694
...@@ -1653,7 +1698,7 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1653,7 +1698,7 @@ ep-dpr-spin-lib:selectVolumeScale
1653 rdfs:subClassOf ep-dpr-spin-lib:Function ; 1698 rdfs:subClassOf ep-dpr-spin-lib:Function ;
1654 spin:body 1699 spin:body
1655 [ rdf:type sp:Select ; 1700 [ rdf:type sp:Select ;
1656 - sp:resultVariables (_:b30) ; 1701 + sp:resultVariables (_:b32) ;
1657 sp:where ([ rdf:type sp:Bind ; 1702 sp:where ([ rdf:type sp:Bind ;
1658 sp:expression 1703 sp:expression
1659 [ rdf:type sp:if ; 1704 [ rdf:type sp:if ;
...@@ -1881,76 +1926,82 @@ ep-dpr-spin-lib:selectVolumeScale ...@@ -1881,76 +1926,82 @@ ep-dpr-spin-lib:selectVolumeScale
1881 ] 1926 ]
1882 ] 1927 ]
1883 ] ; 1928 ] ;
1884 - sp:variable _:b30 1929 + sp:variable _:b32
1885 ]) 1930 ])
1886 ] . 1931 ] .
1887 1932
1888 -_:b30 1933 +_:b32
1889 sp:varName "volumeScale"^^xsd:string . 1934 sp:varName "volumeScale"^^xsd:string .
1890 1935
1891 -_:b29 1936 +_:b31
1892 sp:varName "volumeFlowRateScale"^^xsd:string . 1937 sp:varName "volumeFlowRateScale"^^xsd:string .
1893 1938
1894 -_:b28 1939 +_:b30
1895 sp:varName "volumeFlowRateAtStdType"^^xsd:string . 1940 sp:varName "volumeFlowRateAtStdType"^^xsd:string .
1896 1941
1897 -_:b27 1942 +_:b29
1898 sp:varName "volumeAtStdType"^^xsd:string . 1943 sp:varName "volumeAtStdType"^^xsd:string .
1899 1944
1900 -_:b26 1945 +_:b28
1901 sp:varName "prodActType"^^xsd:string . 1946 sp:varName "prodActType"^^xsd:string .
1902 1947
1903 -_:b25 1948 +_:b27
1904 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . 1949 sp:varName "temporalPartOfAFlowDurationType"^^xsd:string .
1905 1950
1906 -_:b24 1951 +_:b26
1907 sp:varName "temperatureScale"^^xsd:string . 1952 sp:varName "temperatureScale"^^xsd:string .
1908 1953
1909 -_:b23 1954 +_:b25
1910 sp:varName "specificVolumeScale"^^xsd:string . 1955 sp:varName "specificVolumeScale"^^xsd:string .
1911 1956
1912 -_:b22 1957 +_:b24
1913 sp:varName "safetyActivityType"^^xsd:string . 1958 sp:varName "safetyActivityType"^^xsd:string .
1914 1959
1915 -_:b21 1960 +_:b23
1916 sp:varName "relationshipToMeasure"^^xsd:string . 1961 sp:varName "relationshipToMeasure"^^xsd:string .
1917 1962
1918 -_:b20 1963 +_:b22
1919 sp:varName "productionFlowPurposeType"^^xsd:string . 1964 sp:varName "productionFlowPurposeType"^^xsd:string .
1920 1965
1921 -_:b19 1966 +_:b21
1922 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1967 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1923 1968
1924 -_:b18 1969 +_:b20
1925 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . 1970 sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
1926 1971
1927 -_:b17 1972 +_:b19
1928 sp:varName "productionFlowDefinitionType"^^xsd:string . 1973 sp:varName "productionFlowDefinitionType"^^xsd:string .
1929 1974
1930 -_:b16 1975 +_:b18
1931 sp:varName "productionFacilityType"^^xsd:string . 1976 sp:varName "productionFacilityType"^^xsd:string .
1932 1977
1933 -_:b15 1978 +_:b17
1934 sp:varName "productType"^^xsd:string . 1979 sp:varName "productType"^^xsd:string .
1935 1980
1936 -_:b14 1981 +_:b16
1937 sp:varName "pressureScale"^^xsd:string . 1982 sp:varName "pressureScale"^^xsd:string .
1938 1983
1939 -_:b13 1984 +_:b15
1940 sp:varName "lengthScale"^^xsd:string . 1985 sp:varName "lengthScale"^^xsd:string .
1941 1986
1942 -_:b12 1987 +_:b14
1943 sp:varName "durationScale"^^xsd:string . 1988 sp:varName "durationScale"^^xsd:string .
1944 1989
1945 -_:b10 1990 +_:b13
1991 + sp:varName "uri"^^xsd:string .
1992 +
1993 +_:b12
1946 sp:varName "uri"^^xsd:string . 1994 sp:varName "uri"^^xsd:string .
1947 1995
1996 +_:b11
1997 + sp:varName "uri"^^xsd:string .
1998 +
1999 +_:b9 sp:varName "uri"^^xsd:string .
2000 +
1948 _:b8 sp:varName "uri"^^xsd:string . 2001 _:b8 sp:varName "uri"^^xsd:string .
1949 2002
1950 _:b7 sp:varName "uri"^^xsd:string . 2003 _:b7 sp:varName "uri"^^xsd:string .
1951 2004
1952 -_:b6 sp:varName "uri"^^xsd:string .
1953 -
1954 _:b5 sp:varName "uri"^^xsd:string . 2005 _:b5 sp:varName "uri"^^xsd:string .
1955 2006
1956 _:b4 sp:varName "uri"^^xsd:string . 2007 _:b4 sp:varName "uri"^^xsd:string .
...@@ -1961,7 +2012,7 @@ _:b2 sp:varName "uri"^^xsd:string . ...@@ -1961,7 +2012,7 @@ _:b2 sp:varName "uri"^^xsd:string .
1961 2012
1962 _:b1 sp:varName "uri"^^xsd:string . 2013 _:b1 sp:varName "uri"^^xsd:string .
1963 2014
1964 -_:b9 sp:varName "uri"^^xsd:string . 2015 +_:b10
1965 -
1966 -_:b11
1967 sp:varName "uri"^^xsd:string . 2016 sp:varName "uri"^^xsd:string .
2017 +
2018 +_:b6 sp:varName "uri"^^xsd:string .
......
1 -# Saved by TopBraid on Thu Oct 13 10:10:17 BST 2011 1 +# Saved by TopBraid on Thu Oct 13 13:05:23 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#> .
......