Holger Knublauch

Field and Discovery mapping now handles 0 well bore ids

This diff could not be displayed because it is too large.
...@@ -270,8 +270,16 @@ ...@@ -270,8 +270,16 @@
270 [ rdf:type spinmap:Mapping-1-1 ; 270 [ rdf:type spinmap:Mapping-1-1 ;
271 spinmap:context :Discovery-Discovery ; 271 spinmap:context :Discovery-Discovery ;
272 spinmap:expression 272 spinmap:expression
273 - [ rdf:type rhspin:wellBoreById ; 273 + [ rdf:type sp:if ;
274 - arg:id spin:_arg1 274 + sp:arg1 [ rdf:type sp:eq ;
275 + sp:arg1 spin:_arg1 ;
276 + sp:arg2 "0"
277 + ] ;
278 + sp:arg2 [ sp:varName "none"^^xsd:string
279 + ] ;
280 + sp:arg3 [ rdf:type rhspin:wellBoreById ;
281 + arg:id spin:_arg1
282 + ]
275 ] ; 283 ] ;
276 spinmap:sourcePredicate1 284 spinmap:sourcePredicate1
277 <file:///www.reportinghub.no/transform/npd/discovery#wlbNpdidWellbore> ; 285 <file:///www.reportinghub.no/transform/npd/discovery#wlbNpdidWellbore> ;
...@@ -541,8 +549,16 @@ ...@@ -541,8 +549,16 @@
541 [ rdf:type spinmap:Mapping-1-1 ; 549 [ rdf:type spinmap:Mapping-1-1 ;
542 spinmap:context :Field-Field ; 550 spinmap:context :Field-Field ;
543 spinmap:expression 551 spinmap:expression
544 - [ rdf:type rhspin:wellBoreById ; 552 + [ rdf:type sp:if ;
545 - arg:id spin:_arg1 553 + sp:arg1 [ rdf:type sp:eq ;
554 + sp:arg1 spin:_arg1 ;
555 + sp:arg2 "0"
556 + ] ;
557 + sp:arg2 [ sp:varName "none"^^xsd:string
558 + ] ;
559 + sp:arg3 [ rdf:type rhspin:wellBoreById ;
560 + arg:id spin:_arg1
561 + ]
546 ] ; 562 ] ;
547 spinmap:sourcePredicate1 563 spinmap:sourcePredicate1
548 <file:///www.reportinghub.no/transform/npd/field#wlbNpdidWellbore> ; 564 <file:///www.reportinghub.no/transform/npd/field#wlbNpdidWellbore> ;
......