query-36932ad5e56a5387df9031c5911ecc2a
Conversion from format2 to format3 and format1 SELECT ?format1 ?format2 ?format3 { VALUES ?format2 { "091-002-2008-0003" "398-001-1100-0001" "529-102-0011-0001" "148-402-0027-0001" }
BIND (REPLACE(?format2, "-", "") AS ?format3)
}
Use at
- https://query.wikidata.org/sparql
# Conversion from format2 to format3 and format1
SELECT ?format1 ?format2 ?format3
{
VALUES ?format2 { "091-002-2008-0003" "398-001-1100-0001" "529-102-0011-0001" "148-402-0027-0001" }
BIND (REPLACE(?format2, "-", "") AS ?format3)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?format2"):::projected
v2("?format3"):::projected
bind0[/VALUES ?format2/]
bind0-->v1
bind00(["091-002-2008-0003"])
bind00 --> bind0
bind01(["398-001-1100-0001"])
bind01 --> bind0
bind02(["529-102-0011-0001"])
bind02 --> bind0
bind03(["148-402-0027-0001"])
bind03 --> bind0
bind1[/"replace(?format2,'-','')"/]
v1 --o bind1
bind1 --as--o v2