query-13a7937636a8fa8e5e14f2c5c8f0ab32

rq turtle/ttl

doesn’t really slow it down either: DISTINCTYeah, without the grouping + ordering it runs in just 4 seconds, and adding

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?item ?id (concat("test", ?id) as ?test)
{ SELECT * { ?item wdt:P3029 ?id } order by ?item }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?id"):::projected v1("?item"):::projected v3("?test") v1 --"wdt:P3029"--> v2 bind0[/"concat('test',?id)"/] v2 --o bind0 bind0 --as--o v3