From 8c6a10e7835235d45a50c77ceed4c83df823e2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Lamercerie?= <aurelien.lamercerie@laposte.net> Date: Wed, 1 Dec 2021 18:09:32 +0100 Subject: [PATCH] CTS: minor update --- config/transduction-schemes.ttl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/transduction-schemes.ttl b/config/transduction-schemes.ttl index 30e9be41..10e4cebe 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. -- GitLab