migration OK

This commit is contained in:
Elias Papanikitas
2023-11-17 11:41:06 +01:00
parent f120638741
commit 57e09e9b47

View File

@@ -1,13 +1,15 @@
DELETE {
GRAPH ?g {
?s <http://schema.org/telephone> ?o .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
GRAPH ?g {
?s <http://schema.org/telephone> ?newPhoneNumber .
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
GRAPH ?g {
?s <http://schema.org/telephone> ?o .
}
@@ -15,17 +17,19 @@ WHERE {
BIND(REPLACE(STR(?o),"[. - /]","") AS ?removedSpaces) .
BIND (CONCAT('tel:+32', SUBSTR(?removedSpaces, 2)) as ?newPhoneNumber)
}
;
DELETE {
GRAPH ?g {
?s <http://schema.org/telephone> ?o .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
GRAPH ?g {
?s <http://schema.org/telephone> ?newPhoneNumber .
}
}
WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
GRAPH ?g {
?s <http://schema.org/telephone> ?o .
}