Holger Knublauch

Updates to SPIN constraints error codes etc

1 -# baseURI: http://www.reportinghub.no/ep/spin/ddr-constraints 1 +# baseURI: http://www.reportinghub.no/ep/spin/ddr-constraints
2 -# imports: http://spinrdf.org/spin 2 +# imports: http://spinrdf.org/spin
3 -# imports: http://topbraid.org/sxml 3 +# imports: http://topbraid.org/sxml
4 -# imports: http://www.reportinghub.no/np/schema/1.0/npd 4 +# imports: http://www.reportinghub.no/np/schema/1.0/npd
5 -# imports: http://www.reportinghub.no/spin/rh 5 +# imports: http://www.reportinghub.no/spin/rh
6 -# imports: http://www.witsml.org/schemas/1series 6 +# imports: http://www.witsml.org/schemas/1series
7 - 7 +
8 -@prefix : <http://www.reportinghub.no/ep/spin/ddr-constraints#> . 8 +# c14n-version: 3
9 -@prefix arg: <http://spinrdf.org/arg#> . 9 +@prefix : <http://www.reportinghub.no/ep/spin/ddr-constraints#> .
10 -@prefix ddr: <http://www.witsml.org/schemas/1series#> . 10 +@prefix arg: <http://spinrdf.org/arg#> .
11 -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . 11 +@prefix ddr: <http://www.witsml.org/schemas/1series#> .
12 -@prefix normalization: <http://www.reportinghub.no/ep/transform/1.1/normalization#> . 12 +@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
13 -@prefix owl: <http://www.w3.org/2002/07/owl#> . 13 +@prefix normalization: <http://www.reportinghub.no/ep/transform/1.1/normalization#> .
14 -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 14 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
15 -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 15 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
16 -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . 16 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
17 -@prefix sp: <http://spinrdf.org/sp#> . 17 +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> .
18 -@prefix spif: <http://spinrdf.org/spif#> . 18 +@prefix sp: <http://spinrdf.org/sp#> .
19 -@prefix spin: <http://spinrdf.org/spin#> . 19 +@prefix spif: <http://spinrdf.org/spif#> .
20 -@prefix spl: <http://spinrdf.org/spl#> . 20 +@prefix spin: <http://spinrdf.org/spin#> .
21 -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 21 +@prefix spl: <http://spinrdf.org/spl#> .
22 - 22 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
23 <http://www.reportinghub.no/ep/spin/ddr-constraints> 23 <http://www.reportinghub.no/ep/spin/ddr-constraints>
24 - rdf:type owl:Ontology ; 24 + rdf:type owl:Ontology ;
25 - rdfs:comment "Constraints that need to be executed immediately after SXML import, i.e. not on the inferred triples."^^xsd:string ; 25 + rdfs:comment "Constraints that need to be executed immediately after SXML import, i.e. not on the inferred triples."^^xsd:string ;
26 - owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/sxml> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> , <http://www.witsml.org/schemas/1series> ; 26 + owl:imports <http://spinrdf.org/spin> ;
27 - owl:versionInfo "0.2.0"^^xsd:string . 27 + owl:imports <http://topbraid.org/sxml> ;
28 - 28 + owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> ;
29 + owl:imports <http://www.reportinghub.no/spin/rh> ;
30 + owl:imports <http://www.witsml.org/schemas/1series> ;
31 + owl:versionInfo "0.2.0"^^xsd:string ;
32 +.
29 ddr:Cs_drillReportWellboreInfo 33 ddr:Cs_drillReportWellboreInfo
30 - spin:constraint 34 + spin:constraint [
31 - [ rdf:type sp:Construct ; 35 + rdf:type sp:Construct ;
32 - sp:templates ([ sp:object spin:ConstraintViolation ; 36 + sp:templates (
33 - sp:predicate rdf:type ; 37 + [
34 - sp:subject _:b1 38 + sp:object spin:ConstraintViolation ;
35 - ] [ sp:object 39 + sp:predicate rdf:type ;
36 - [ sp:varName "message"^^xsd:string 40 + sp:subject _:b5160 ;
37 - ] ; 41 + ]
38 - sp:predicate rdfs:label ; 42 + [
39 - sp:subject _:b1 43 + sp:object [
40 - ]) ; 44 + sp:varName "message"^^xsd:string ;
41 - sp:where ([ sp:object 45 + ] ;
42 - [ sp:varName "nameRef"^^xsd:string 46 + sp:predicate rdfs:label ;
43 - ] ; 47 + sp:subject _:b5160 ;
44 - sp:predicate ddr:rigAliasRef ; 48 + ]
45 - sp:subject spin:_this 49 + ) ;
46 - ] [ sp:object "NPD Name" ; 50 + sp:where (
47 - sp:predicate ddr:namingSystem ; 51 + [
48 - sp:subject 52 + sp:object [
49 - [ sp:varName "nameRef"^^xsd:string 53 + sp:varName "nameRef"^^xsd:string ;
50 - ] 54 + ] ;
51 - ] [ sp:object 55 + sp:predicate ddr:rigAliasRef ;
52 - [ sp:varName "name"^^xsd:string 56 + sp:subject spin:_this ;
53 - ] ; 57 + ]
54 - sp:predicate ddr:name ; 58 + [
55 - sp:subject 59 + sp:object "NPD Name" ;
56 - [ sp:varName "nameRef"^^xsd:string 60 + sp:predicate ddr:namingSystem ;
57 - ] 61 + sp:subject [
58 - ] [ sp:object 62 + sp:varName "nameRef"^^xsd:string ;
59 - [ sp:varName "codeRef"^^xsd:string 63 + ] ;
60 - ] ; 64 + ]
61 - sp:predicate ddr:rigAliasRef ; 65 + [
62 - sp:subject spin:_this 66 + sp:object [
63 - ] [ sp:object "NPD code" ; 67 + sp:varName "name"^^xsd:string ;
64 - sp:predicate ddr:namingSystem ; 68 + ] ;
65 - sp:subject 69 + sp:predicate ddr:name ;
66 - [ sp:varName "codeRef"^^xsd:string 70 + sp:subject [
67 - ] 71 + sp:varName "nameRef"^^xsd:string ;
68 - ] [ sp:object 72 + ] ;
69 - [ sp:varName "code"^^xsd:string 73 + ]
70 - ] ; 74 + [
71 - sp:predicate ddr:name ; 75 + sp:object [
72 - sp:subject 76 + sp:varName "codeRef"^^xsd:string ;
73 - [ sp:varName "codeRef"^^xsd:string 77 + ] ;
74 - ] 78 + sp:predicate ddr:rigAliasRef ;
75 - ] [ rdf:type sp:Bind ; 79 + sp:subject spin:_this ;
76 - sp:expression 80 + ]
77 - [ rdf:type rhspin:facilityById ; 81 + [
78 - arg:id [ sp:varName "code"^^xsd:string 82 + sp:object "NPD code" ;
79 - ] 83 + sp:predicate ddr:namingSystem ;
80 - ] ; 84 + sp:subject [
81 - sp:variable 85 + sp:varName "codeRef"^^xsd:string ;
82 - [ sp:varName "facility"^^xsd:string 86 + ] ;
83 - ] 87 + ]
84 - ] [ rdf:type sp:Bind ; 88 + [
85 - sp:expression 89 + sp:object [
86 - [ rdf:type rhspin:npdName ; 90 + sp:varName "code"^^xsd:string ;
87 - arg:resource 91 + ] ;
88 - [ sp:varName "facility"^^xsd:string 92 + sp:predicate ddr:name ;
89 - ] 93 + sp:subject [
90 - ] ; 94 + sp:varName "codeRef"^^xsd:string ;
91 - sp:variable 95 + ] ;
92 - [ sp:varName "npdName"^^xsd:string 96 + ]
93 - ] 97 + [
94 - ] [ rdf:type sp:Filter ; 98 + rdf:type sp:Bind ;
95 - sp:expression 99 + sp:expression [
96 - [ rdf:type sp:ne ; 100 + rdf:type rhspin:facilityById ;
97 - sp:arg1 [ rdf:type spif:lowerCase ; 101 + arg:id [
98 - sp:arg1 [ sp:varName "npdName"^^xsd:string 102 + sp:varName "code"^^xsd:string ;
99 - ] 103 + ] ;
100 - ] ; 104 + ] ;
101 - sp:arg2 [ rdf:type spif:lowerCase ; 105 + sp:variable [
102 - sp:arg1 [ sp:varName "name"^^xsd:string 106 + sp:varName "facility"^^xsd:string ;
103 - ] 107 + ] ;
104 - ] 108 + ]
105 - ] 109 + [
106 - ] [ rdf:type sp:Bind ; 110 + rdf:type sp:Bind ;
107 - sp:expression 111 + sp:expression [
108 - [ rdf:type fn:concat ; 112 + rdf:type rhspin:npdName ;
109 - sp:arg1 "[RH-19] Mismatch for rig code " ; 113 + arg:resource [
110 - sp:arg2 [ sp:varName "code"^^xsd:string 114 + sp:varName "facility"^^xsd:string ;
111 - ] ; 115 + ] ;
112 - sp:arg3 ": The NPD name is " ; 116 + ] ;
113 - sp:arg4 [ sp:varName "npdName"^^xsd:string 117 + sp:variable [
114 - ] ; 118 + sp:varName "npdName"^^xsd:string ;
115 - sp:arg5 " not " ; 119 + ] ;
116 - sp:arg6 [ sp:varName "name"^^xsd:string 120 + ]
117 - ] 121 + [
118 - ] ; 122 + rdf:type sp:Filter ;
119 - sp:variable 123 + sp:expression [
120 - [ sp:varName "message"^^xsd:string 124 + rdf:type sp:ne ;
121 - ] 125 + sp:arg1 [
122 - ]) 126 + rdf:type spif:lowerCase ;
123 - ] . 127 + sp:arg1 [
124 - 128 + sp:varName "npdName"^^xsd:string ;
129 + ] ;
130 + ] ;
131 + sp:arg2 [
132 + rdf:type spif:lowerCase ;
133 + sp:arg1 [
134 + sp:varName "name"^^xsd:string ;
135 + ] ;
136 + ] ;
137 + ] ;
138 + ]
139 + [
140 + rdf:type sp:Bind ;
141 + sp:expression [
142 + rdf:type fn:concat ;
143 + sp:arg1 "[RH-19] Fact Pages validation of the XML file failed with the following error: Mismatch for rig code " ;
144 + sp:arg2 [
145 + sp:varName "code"^^xsd:string ;
146 + ] ;
147 + sp:arg3 ": The NPD name is " ;
148 + sp:arg4 [
149 + sp:varName "npdName"^^xsd:string ;
150 + ] ;
151 + sp:arg5 " not " ;
152 + sp:arg6 [
153 + sp:varName "name"^^xsd:string ;
154 + ] ;
155 + ] ;
156 + sp:variable [
157 + sp:varName "message"^^xsd:string ;
158 + ] ;
159 + ]
160 + ) ;
161 + ] ;
162 +.
125 ddr:Obj_drillReport 163 ddr:Obj_drillReport
126 - spin:constraint 164 + spin:constraint [
127 - [ rdf:type sp:Ask ; 165 + rdf:type sp:Ask ;
128 - rdfs:comment "[RH-10] DDRs can only be submitted if a user is logged in"^^xsd:string ; 166 + sp:where (
129 - sp:where ([ rdf:type sp:Bind ; 167 + [
130 - sp:expression 168 + rdf:type sp:Bind ;
131 - [ rdf:type rhspin:companyName 169 + sp:expression [
132 - ] ; 170 + rdf:type rhspin:companyName ;
133 - sp:variable 171 + ] ;
134 - [ sp:varName "companyName"^^xsd:string 172 + sp:variable [
135 - ] 173 + sp:varName "companyName"^^xsd:string ;
136 - ] [ rdf:type sp:Filter ; 174 + ] ;
137 - sp:expression 175 + ]
138 - [ rdf:type sp:not ; 176 + [
139 - sp:arg1 [ rdf:type sp:bound ; 177 + rdf:type sp:Bind ;
140 - sp:arg1 [ sp:varName "companyName"^^xsd:string 178 + sp:expression [
141 - ] 179 + rdf:type rhspin:companyWithName ;
142 - ] 180 + arg:name [
143 - ] 181 + sp:varName "companyName"^^xsd:string ;
144 - ]) 182 + ] ;
145 - ] ; 183 + ] ;
146 - spin:constraint 184 + sp:variable [
147 - [ rdf:type sp:Ask ; 185 + sp:varName "company"^^xsd:string ;
148 - rdfs:comment "[RH-10] DDRs can only be submitted if the logged-in user is from a registered company"^^xsd:string ; 186 + ] ;
149 - sp:where ([ rdf:type sp:Bind ; 187 + ]
150 - sp:expression 188 + [
151 - [ rdf:type rhspin:companyName 189 + rdf:type sp:Filter ;
152 - ] ; 190 + sp:expression [
153 - sp:variable 191 + rdf:type sp:not ;
154 - [ sp:varName "companyName"^^xsd:string 192 + sp:arg1 [
155 - ] 193 + rdf:type sp:bound ;
156 - ] [ rdf:type sp:Bind ; 194 + sp:arg1 [
157 - sp:expression 195 + sp:varName "company"^^xsd:string ;
158 - [ rdf:type rhspin:companyWithName ; 196 + ] ;
159 - arg:name 197 + ] ;
160 - [ sp:varName "companyName"^^xsd:string 198 + ] ;
161 - ] 199 + ]
162 - ] ; 200 + ) ;
163 - sp:variable 201 + rdfs:comment "[RH-04] Permission denied: User does not have permission(s) required to access the requested service"^^xsd:string ;
164 - [ sp:varName "company"^^xsd:string 202 + ] ;
165 - ] 203 + spin:constraint [
166 - ] [ rdf:type sp:Filter ; 204 + rdf:type sp:Ask ;
167 - sp:expression 205 + sp:where (
168 - [ rdf:type sp:not ; 206 + [
169 - sp:arg1 [ rdf:type sp:bound ; 207 + rdf:type sp:Bind ;
170 - sp:arg1 [ sp:varName "company"^^xsd:string 208 + sp:expression [
171 - ] 209 + rdf:type rhspin:companyName ;
172 - ] 210 + ] ;
173 - ] 211 + sp:variable [
174 - ]) 212 + sp:varName "companyName"^^xsd:string ;
175 - ] ; 213 + ] ;
176 - spin:constraint 214 + ]
177 - [ rdf:type sp:Construct ; 215 + [
178 - sp:templates ([ sp:object spin:ConstraintViolation ; 216 + rdf:type sp:Filter ;
179 - sp:predicate rdf:type ; 217 + sp:expression [
180 - sp:subject _:b2 218 + rdf:type sp:not ;
181 - ] [ sp:object spin:_this ; 219 + sp:arg1 [
182 - sp:predicate spin:violationRoot ; 220 + rdf:type sp:bound ;
183 - sp:subject _:b2 221 + sp:arg1 [
184 - ] [ sp:object ddr:nameWellbore ; 222 + sp:varName "companyName"^^xsd:string ;
185 - sp:predicate spin:violationPath ; 223 + ] ;
186 - sp:subject _:b2 224 + ] ;
187 - ] [ sp:object 225 + ] ;
188 - [ sp:varName "message"^^xsd:string 226 + ]
189 - ] ; 227 + ) ;
190 - sp:predicate rdfs:label ; 228 + rdfs:comment "[RH-10] Invalid username or password: User authentication failed"^^xsd:string ;
191 - sp:subject _:b2 229 + ] ;
192 - ]) ; 230 + spin:constraint [
193 - sp:where ([ sp:object 231 + rdf:type sp:Construct ;
194 - [ sp:varName "wellBoreName"^^xsd:string 232 + sp:templates (
195 - ] ; 233 + [
196 - sp:predicate <http://www.reportinghub.no/ep/spin/lib#nameWellbore> ; 234 + sp:object spin:ConstraintViolation ;
197 - sp:subject spin:_this 235 + sp:predicate rdf:type ;
198 - ] [ sp:object 236 + sp:subject _:b1688 ;
199 - [ sp:varName "wellBoreNumber"^^xsd:string 237 + ]
200 - ] ; 238 + [
201 - sp:predicate <http://www.reportinghub.no/ep/spin/lib#numberWellbore> ; 239 + sp:object spin:_this ;
202 - sp:subject spin:_this 240 + sp:predicate spin:violationRoot ;
203 - ] [ rdf:type sp:Bind ; 241 + sp:subject _:b1688 ;
204 - sp:expression 242 + ]
205 - [ rdf:type rhspin:wellBoreByName ; 243 + [
206 - arg:wellBoreName 244 + sp:object ddr:nameWellbore ;
207 - [ sp:varName "wellBoreName"^^xsd:string 245 + sp:predicate spin:violationPath ;
208 - ] 246 + sp:subject _:b1688 ;
209 - ] ; 247 + ]
210 - sp:variable 248 + [
211 - [ sp:varName "wellBore"^^xsd:string 249 + sp:object [
212 - ] 250 + sp:varName "message"^^xsd:string ;
213 - ] [ rdf:type sp:Bind ; 251 + ] ;
214 - sp:expression 252 + sp:predicate rdfs:label ;
215 - [ rdf:type rhspin:wellBoreById ; 253 + sp:subject _:b1688 ;
216 - arg:id [ sp:varName "wellBoreNumber"^^xsd:string 254 + ]
217 - ] 255 + ) ;
218 - ] ; 256 + sp:where (
219 - sp:variable 257 + [
220 - [ sp:varName "wellBore2"^^xsd:string 258 + sp:object [
221 - ] 259 + sp:varName "wellBoreName"^^xsd:string ;
222 - ] [ rdf:type sp:Filter ; 260 + ] ;
223 - sp:expression 261 + sp:predicate <http://www.reportinghub.no/ep/spin/lib#nameWellbore> ;
224 - [ rdf:type sp:ne ; 262 + sp:subject spin:_this ;
225 - sp:arg1 [ sp:varName "wellBore"^^xsd:string 263 + ]
226 - ] ; 264 + [
227 - sp:arg2 [ sp:varName "wellBore2"^^xsd:string 265 + sp:object [
228 - ] 266 + sp:varName "wellBoreNumber"^^xsd:string ;
229 - ] 267 + ] ;
230 - ] [ rdf:type sp:Bind ; 268 + sp:predicate <http://www.reportinghub.no/ep/spin/lib#numberWellbore> ;
231 - sp:expression 269 + sp:subject spin:_this ;
232 - [ rdf:type fn:concat ; 270 + ]
233 - sp:arg1 "[RH-19] Well bore number " ; 271 + [
234 - sp:arg2 [ sp:varName "wellBoreNumber"^^xsd:string 272 + rdf:type sp:Bind ;
235 - ] ; 273 + sp:expression [
236 - sp:arg3 " mismatches well bore name " ; 274 + rdf:type rhspin:wellBoreByName ;
237 - sp:arg4 [ sp:varName "wellBoreName"^^xsd:string 275 + arg:wellBoreName [
238 - ] 276 + sp:varName "wellBoreName"^^xsd:string ;
239 - ] ; 277 + ] ;
240 - sp:variable 278 + ] ;
241 - [ sp:varName "message"^^xsd:string 279 + sp:variable [
242 - ] 280 + sp:varName "wellBore"^^xsd:string ;
243 - ]) 281 + ] ;
244 - ] ; 282 + ]
245 - spin:constraint 283 + [
246 - [ rdf:type sp:Construct ; 284 + rdf:type sp:Bind ;
247 - sp:templates ([ sp:object spin:ConstraintViolation ; 285 + sp:expression [
248 - sp:predicate rdf:type ; 286 + rdf:type rhspin:wellBoreById ;
249 - sp:subject _:b3 287 + arg:id [
250 - ] [ sp:object spin:_this ; 288 + sp:varName "wellBoreNumber"^^xsd:string ;
251 - sp:predicate spin:violationRoot ; 289 + ] ;
252 - sp:subject _:b3 290 + ] ;
253 - ] [ sp:object ddr:nameWellbore ; 291 + sp:variable [
254 - sp:predicate spin:violationPath ; 292 + sp:varName "wellBore2"^^xsd:string ;
255 - sp:subject _:b3 293 + ] ;
256 - ] [ sp:object 294 + ]
257 - [ sp:varName "message"^^xsd:string 295 + [
258 - ] ; 296 + rdf:type sp:Filter ;
259 - sp:predicate rdfs:label ; 297 + sp:expression [
260 - sp:subject _:b3 298 + rdf:type sp:ne ;
261 - ]) ; 299 + sp:arg1 [
262 - sp:where ([ sp:object 300 + sp:varName "wellBore"^^xsd:string ;
263 - [ sp:varName "wellBoreName"^^xsd:string 301 + ] ;
264 - ] ; 302 + sp:arg2 [
265 - sp:predicate <http://www.reportinghub.no/ep/spin/lib#nameWellbore> ; 303 + sp:varName "wellBore2"^^xsd:string ;
266 - sp:subject spin:_this 304 + ] ;
267 - ] [ rdf:type sp:Bind ; 305 + ] ;
268 - sp:expression 306 + ]
269 - [ rdf:type rhspin:wellBoreByName ; 307 + [
270 - arg:wellBoreName 308 + rdf:type sp:Bind ;
271 - [ sp:varName "wellBoreName"^^xsd:string 309 + sp:expression [
272 - ] 310 + rdf:type fn:concat ;
273 - ] ; 311 + sp:arg1 "[RH-19] Fact Pages validation of the XML file failed with the following error: Well bore number " ;
274 - sp:variable 312 + sp:arg2 [
275 - [ sp:varName "wellBore"^^xsd:string 313 + sp:varName "wellBoreNumber"^^xsd:string ;
276 - ] 314 + ] ;
277 - ] [ rdf:type sp:Filter ; 315 + sp:arg3 " mismatches well bore name " ;
278 - sp:expression 316 + sp:arg4 [
279 - [ rdf:type sp:not ; 317 + sp:varName "wellBoreName"^^xsd:string ;
280 - sp:arg1 [ rdf:type sp:bound ; 318 + ] ;
281 - sp:arg1 [ sp:varName "wellBore"^^xsd:string 319 + ] ;
282 - ] 320 + sp:variable [
283 - ] 321 + sp:varName "message"^^xsd:string ;
284 - ] 322 + ] ;
285 - ] [ rdf:type sp:Bind ; 323 + ]
286 - sp:expression 324 + ) ;
287 - [ rdf:type fn:concat ; 325 + ] ;
288 - sp:arg1 "[RH-21] Unregistered well bore name " ; 326 + spin:constraint [
289 - sp:arg2 [ sp:varName "wellBoreName"^^xsd:string 327 + rdf:type sp:Construct ;
290 - ] 328 + sp:templates (
291 - ] ; 329 + [
292 - sp:variable 330 + sp:object spin:ConstraintViolation ;
293 - [ sp:varName "message"^^xsd:string 331 + sp:predicate rdf:type ;
294 - ] 332 + sp:subject _:b2058 ;
295 - ]) 333 + ]
296 - ] . 334 + [
335 + sp:object spin:_this ;
336 + sp:predicate spin:violationRoot ;
337 + sp:subject _:b2058 ;
338 + ]
339 + [
340 + sp:object ddr:nameWellbore ;
341 + sp:predicate spin:violationPath ;
342 + sp:subject _:b2058 ;
343 + ]
344 + [
345 + sp:object [
346 + sp:varName "message"^^xsd:string ;
347 + ] ;
348 + sp:predicate rdfs:label ;
349 + sp:subject _:b2058 ;
350 + ]
351 + ) ;
352 + sp:where (
353 + [
354 + sp:object [
355 + sp:varName "wellBoreName"^^xsd:string ;
356 + ] ;
357 + sp:predicate <http://www.reportinghub.no/ep/spin/lib#nameWellbore> ;
358 + sp:subject spin:_this ;
359 + ]
360 + [
361 + rdf:type sp:Bind ;
362 + sp:expression [
363 + rdf:type rhspin:wellBoreByName ;
364 + arg:wellBoreName [
365 + sp:varName "wellBoreName"^^xsd:string ;
366 + ] ;
367 + ] ;
368 + sp:variable [
369 + sp:varName "wellBore"^^xsd:string ;
370 + ] ;
371 + ]
372 + [
373 + rdf:type sp:Filter ;
374 + sp:expression [
375 + rdf:type sp:not ;
376 + sp:arg1 [
377 + rdf:type sp:bound ;
378 + sp:arg1 [
379 + sp:varName "wellBore"^^xsd:string ;
380 + ] ;
381 + ] ;
382 + ] ;
383 + ]
384 + [
385 + rdf:type sp:Bind ;
386 + sp:expression [
387 + rdf:type fn:concat ;
388 + sp:arg1 "[RH-19] Fact Pages validation of the XML file failed with the following error: Unregistered well bore name " ;
389 + sp:arg2 [
390 + sp:varName "wellBoreName"^^xsd:string ;
391 + ] ;
392 + ] ;
393 + sp:variable [
394 + sp:varName "message"^^xsd:string ;
395 + ] ;
396 + ]
397 + ) ;
398 + ] ;
399 +.
......