diff --git a/src/sparql/dc-properties-violation.sparql b/src/sparql/dc-properties-violation.sparql index 70386a8..f9efe8b 100644 --- a/src/sparql/dc-properties-violation.sparql +++ b/src/sparql/dc-properties-violation.sparql @@ -6,6 +6,6 @@ SELECT ?term ?predicate WHERE { ?term ?predicate ?value . FILTER(STRSTARTS(STR(?predicate), "http://purl.org/dc/elements/1.1/")) - FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo/GCBO_"))) + FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo//GCBO_"))) } diff --git a/src/sparql/gcbo_terms.sparql b/src/sparql/gcbo_terms.sparql index 2d07fa7..4246e7f 100644 --- a/src/sparql/gcbo_terms.sparql +++ b/src/sparql/gcbo_terms.sparql @@ -3,5 +3,5 @@ WHERE { { ?s1 ?p1 ?term . } UNION { ?term ?p2 ?o2 . } - FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo/GCBO_"))) + FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo//GCBO_"))) } diff --git a/src/sparql/inject-subset-declaration.ru b/src/sparql/inject-subset-declaration.ru index 10cd437..406c6ec 100644 --- a/src/sparql/inject-subset-declaration.ru +++ b/src/sparql/inject-subset-declaration.ru @@ -7,5 +7,5 @@ INSERT { ?y rdfs:subPropertyOf ?y . FILTER(isIRI(?y)) - FILTER(regex(str(?y),"^(http://purl.obolibrary.org/obo/)") || regex(str(?y),"^(http://www.ebi.ac.uk/efo/)") || regex(str(?y),"^(https://w3id.org/biolink/)") || regex(str(?y),"^(https://github.com/bmir-radx/gcbo)")) + FILTER(regex(str(?y),"^(http://purl.obolibrary.org/obo/)") || regex(str(?y),"^(http://www.ebi.ac.uk/efo/)") || regex(str(?y),"^(https://w3id.org/biolink/)") || regex(str(?y),"^(https://github.com/bmir-radx/gcbo/)")) } \ No newline at end of file diff --git a/src/sparql/inject-synonymtype-declaration.ru b/src/sparql/inject-synonymtype-declaration.ru index 0702463..9284654 100644 --- a/src/sparql/inject-synonymtype-declaration.ru +++ b/src/sparql/inject-synonymtype-declaration.ru @@ -7,5 +7,5 @@ INSERT { ?y rdfs:subPropertyOf ?y . FILTER(isIRI(?y)) - FILTER(regex(str(?y),"^(http://purl.obolibrary.org/obo/)") || regex(str(?y),"^(http://www.ebi.ac.uk/efo/)") || regex(str(?y),"^(https://w3id.org/biolink/)") || regex(str(?y),"^(https://github.com/bmir-radx/gcbo)")) + FILTER(regex(str(?y),"^(http://purl.obolibrary.org/obo/)") || regex(str(?y),"^(http://www.ebi.ac.uk/efo/)") || regex(str(?y),"^(https://w3id.org/biolink/)") || regex(str(?y),"^(https://github.com/bmir-radx/gcbo/)")) } \ No newline at end of file diff --git a/src/sparql/iri-range-violation.sparql b/src/sparql/iri-range-violation.sparql index 03c429c..a8463dd 100644 --- a/src/sparql/iri-range-violation.sparql +++ b/src/sparql/iri-range-violation.sparql @@ -13,7 +13,7 @@ WHERE { oboInOwl:inSubset dcterms:contributor } ?term ?property ?value . - FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo/GCBO_"))) + FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo//GCBO_"))) FILTER (!isIRI(?value)) } diff --git a/src/sparql/label-with-iri-violation.sparql b/src/sparql/label-with-iri-violation.sparql index 32f8022..4b0ceec 100644 --- a/src/sparql/label-with-iri-violation.sparql +++ b/src/sparql/label-with-iri-violation.sparql @@ -4,6 +4,6 @@ SELECT ?term ?value WHERE { ?term rdfs:label ?value . FILTER (REGEX(?value, "http[s]?[:]")) - FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo/GCBO_"))) + FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo//GCBO_"))) } diff --git a/src/sparql/owldef-self-reference-violation.sparql b/src/sparql/owldef-self-reference-violation.sparql index d617167..f05e991 100644 --- a/src/sparql/owldef-self-reference-violation.sparql +++ b/src/sparql/owldef-self-reference-violation.sparql @@ -7,6 +7,6 @@ SELECT ?term WHERE { { ?term owl:equivalentClass [ owl:intersectionOf [ rdf:rest*/rdf:first ?term ] ] } UNION { ?term owl:equivalentClass [ owl:intersectionOf [ rdf:rest*/rdf:first [ owl:someValuesFrom ?term ] ] ] } - FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo/GCBO_"))) + FILTER(isIRI(?term) && (STRSTARTS(str(?term), "https://github.com/bmir-radx/gcbo//GCBO_"))) }