query-ee737d1f339cbb66456d455450780f77

rq turtle/ttl

formatter URL (P1630)

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?id ?uri
WHERE 
{
  wd:P3591 wdt:P1630 ?formaterUrl .
  ?item wdt:P3591 ?id.  
  BIND(URI(REPLACE(?formaterUrl,'\\$1', ?id)) AS ?uri)
}
ORDER BY ASC(xsd:integer(?id))
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?formaterUrl") v1("?id"):::projected v3("?item"):::projected v4("?uri"):::projected c1(["wd:P3591"]):::iri c1 --"wdt:P1630"--> v2 v3 --"wdt:P3591"--> v1 bind0[/"replace(?formaterUrl,'\$1',?id)"/] v2 --o bind0 v1 --o bind0 bind0 --as--o v4