Holger Knublauch

Upload DDR licence check is now more restrictive

...@@ -92,15 +92,17 @@ ...@@ -92,15 +92,17 @@
92 sp:arg1 [ sp:varName "company"^^xsd:string 92 sp:arg1 [ sp:varName "company"^^xsd:string
93 ] 93 ]
94 ] 94 ]
95 - ] [ rdf:type sp:NotExists ; 95 + ] [ rdf:type sp:Filter ;
96 - sp:elements ([ sp:object 96 + sp:expression
97 - [ sp:varName "wellBore"^^xsd:string 97 + [ rdf:type sp:not ;
98 + sp:arg1 [ rdf:type rhspin:npdTripleExists ;
99 + sp:arg1 [ sp:varName "wellBore"^^xsd:string
98 ] ; 100 ] ;
99 - sp:predicate rhspin:companyHasLicenceForWellBore ; 101 + sp:arg2 <http://www.reportinghub.no/np/schema/npd#drillingOperator> ;
100 - sp:subject 102 + sp:arg3 [ sp:varName "company"^^xsd:string
101 - [ sp:varName "company"^^xsd:string 103 + ]
104 + ]
102 ] 105 ]
103 - ])
104 ] [ rdf:type sp:Bind ; 106 ] [ rdf:type sp:Bind ;
105 sp:expression 107 sp:expression
106 [ rdf:type sp:coalesce ; 108 [ rdf:type sp:coalesce ;
...@@ -120,7 +122,7 @@ ...@@ -120,7 +122,7 @@
120 sp:arg1 "Your company (" ; 122 sp:arg1 "Your company (" ;
121 sp:arg2 [ sp:varName "companyName"^^xsd:string 123 sp:arg2 [ sp:varName "companyName"^^xsd:string
122 ] ; 124 ] ;
123 - sp:arg3 ") does not hold a licence for well bore " ; 125 + sp:arg3 ") is not the drilling operator of well bore " ;
124 sp:arg4 [ sp:varName "displayName"^^xsd:string 126 sp:arg4 [ sp:varName "displayName"^^xsd:string
125 ] 127 ]
126 ] ; 128 ] ;
......