diff --git a/src/sparql/cl_terms.sparql b/src/sparql/cl_terms.sparql index 4b882e25d..ee3cf130d 100644 --- a/src/sparql/cl_terms.sparql +++ b/src/sparql/cl_terms.sparql @@ -3,5 +3,5 @@ WHERE { { ?s1 ?p1 ?term . } UNION { ?term ?p2 ?o2 . } - FILTER(isIRI(?term) && (regex(str(?term), UCASE("cl_"))) && regex(str(?term), "http://purl.obolibrary.org/obo/CP_") && regex(str(?term), "http://purl.obolibrary.org/obo/CL_")) + FILTER(isIRI(?term) && (regex(str(?term), UCASE("cl_")) || regex(str(?term), "http://purl.obolibrary.org/obo/CP_") || regex(str(?term), "http://purl.obolibrary.org/obo/CL_"))) }