diff --git a/config/transduction-schemes.ttl b/config/transduction-schemes.ttl index 30e9be41c4bfa27bb0e44acf293197e8a2cffd9e..10e4cebe4468b9f17e4ad570411ad1cf5c89204d 100644 --- a/config/transduction-schemes.ttl +++ b/config/transduction-schemes.ttl @@ -84,7 +84,7 @@ WHERE { . cts:add-disjunctive-classes-from-list-net rdf:type sh:SPARQLRule ; - rdfs:label "add-disjunctive-entity-classes" ; + rdfs:label "add-disjunctive-classes-from-list-net" ; sh:construct """PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> @@ -732,7 +732,8 @@ WHERE { FILTER ( regex(str(?uw1Label),str(?restriction)) ). # Label: Id, concept ?uw1 unl:has_id ?uw1Id. - BIND (strbefore(?uw1Label, '(') AS ?concept1). + BIND (concat(?uw1Label, '(') AS ?u1). + BIND (strbefore(?u1, '(') AS ?concept1). # URI (for Atom Object) cprm:Config_Parameters cprm:netURI ?netURI. cprm:Config_Parameters cprm:objectRef ?objectRef.