query-115a3ff10a0258baf8ee0963ca7088e9

rq turtle/ttl

GROUP_CONCAT()

Use at

PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item (GROUP_CONCAT(?q) AS ?dates) { ?item p:P1087 [ pq:P585 ?q ] . } GROUP BY ?item

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?dates") v2("?item"):::projected v1("?q"):::projected a1((" ")) a1 --"p:qualifier/P585"--> v1 v2 --"p:P1087"--> a1 bind1[/"?q"/] v1 --o bind1 bind1 --as--o v3