Holger Knublauch

Upload DDR licence check is now more restrictive

......@@ -92,15 +92,17 @@
sp:arg1 [ sp:varName "company"^^xsd:string
]
]
] [ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:predicate rhspin:companyHasLicenceForWellBore ;
sp:subject
[ sp:varName "company"^^xsd:string
]
])
] [ rdf:type sp:Filter ;
sp:expression
[ rdf:type sp:not ;
sp:arg1 [ rdf:type rhspin:npdTripleExists ;
sp:arg1 [ sp:varName "wellBore"^^xsd:string
] ;
sp:arg2 <http://www.reportinghub.no/np/schema/npd#drillingOperator> ;
sp:arg3 [ sp:varName "company"^^xsd:string
]
]
]
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type sp:coalesce ;
......@@ -120,7 +122,7 @@
sp:arg1 "Your company (" ;
sp:arg2 [ sp:varName "companyName"^^xsd:string
] ;
sp:arg3 ") does not hold a licence for well bore " ;
sp:arg3 ") is not the drilling operator of well bore " ;
sp:arg4 [ sp:varName "displayName"^^xsd:string
]
] ;
......