query-9e98e4b62b4357b8bc715a53811ab568

rq turtle/ttl

19:38, 18 February 2018 (UTC)) talk (Mbch331The reason the label service is in a separate query is, because I noticed this speeds up things. Limit is set on 1 because I was checking to see when the query would time out and in this case that's already when set to 1.

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT DISTINCT ?item 
WHERE
{
 ?item wdt:P31 wd:Q5
 OPTIONAL {?item schema:description ?descnl FILTER((LANG(?descnl)) = "nl")   }
 FILTER(!BOUND(?descnl))
}
LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?descnl") v2("?item"):::projected c3(["wd:Q5"]):::iri f0[["not bound(?descnl)"]] f0 --> v1 v2 --"wdt:P31"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."schema:description".-> v1 end