query-303fc8bb673a44f49a5d8167407f0198
Split a query output into two or more listsHi: We use this query to generate eswiki anexes:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item ?cod_IAPH WHERE {
?item (wdt:P131*) wd:Q82142;
wdt:P8425 ?cod_IAPH.
?item wdt:P1435 wd:Q23712. }
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?cod_IAPH"):::projected
v1("?item"):::projected
c2(["wd:Q82142"]):::iri
c5(["wd:Q23712"]):::iri
v1 --"wdt:P131"--> c2
v1 --"wdt:P8425"--> v2
v1 --"wdt:P1435"--> c5