patch aat mapping triples replacing %2F with / (ticket #21027)
This commit is contained in:
parent
3e6a07e57c
commit
ce8bca3a44
|
@ -812,7 +812,37 @@ WHERE {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
INSERT {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
|
||||||
|
?concept owl:sameAs ?patched_ns_aat .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
WHERE {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
|
||||||
|
?concept owl:sameAs ?ns_aat .
|
||||||
|
}
|
||||||
|
bind(IRI(replace(str(?ns_aat),'%2F','/')) as ?patched_ns_aat)
|
||||||
|
filter(contains(str(?ns_aat),'%2F'))
|
||||||
|
};
|
||||||
|
|
||||||
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
|
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||||
|
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||||
|
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||||
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
delete {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
|
||||||
|
?concept owl:sameAs ?ns_aat .
|
||||||
|
}
|
||||||
|
}
|
||||||
|
where {
|
||||||
|
GRAPH <https://ariadne-infrastructure.eu/api_________::ariadne_plus::amcr::aat> {
|
||||||
|
?concept owl:sameAs ?ns_aat .
|
||||||
|
}
|
||||||
|
filter(contains(str(?ns_aat),'%2F'))
|
||||||
|
};
|
||||||
|
|
||||||
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
PREFIX aocat: <https://www.ariadne-infrastructure.eu/resource/ao/cat/1.1/>
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||||
|
|
Loading…
Reference in New Issue