query-9bf4120dddea6460b52a67dfd0dcdb15

rq turtle/ttl

URL di formattazione, ecco un esempio di applicazione tramite SPARQL: (P1630)formatter URL A proposito di

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?url
WHERE { ?item wdt:P6404 ?value .
  wd:P6404 wdt:P1630 ?fmt .
  BIND(IRI(REPLACE(?fmt, '\\$1' , ?value)) AS ?url) . }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?fmt") v1("?item"):::projected v4("?url"):::projected v2("?value") c2(["wd:P6404"]):::iri v1 --"wdt:P6404"--> v2 c2 --"wdt:P1630"--> v3 bind0[/"replace(?fmt,'\$1',?value)"/] v3 --o bind0 v2 --o bind0 bind0 --as--o v4