query-9bd9ae77e241781528aa566688599d62

rq turtle/ttl

All statements from people of Uruguayan nationality

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
CONSTRUCT { ?item ?predicate ?object } 
WHERE { 
  ?item wdt:P31 wd:Q5 .  # Human beings...
  ?item wdt:P27 wd:Q77 .  # ...of Uruguayan nationality.
  OPTIONAL {?item ?predicate ?object} }  # Get all statements.

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v3("?object"):::projected v2("?predicate"):::projected c2(["wd:Q5"]):::iri c4(["wd:Q77"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P27"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -->v2--> v3 end