query-aa4f2229cc887571633266d790a46a12

rq turtle/ttl

People without Dutch description as far as they're available. I wrote a query, but it times out. So how can I optimize the query so it doesn't time out? (P570)date of death and their (P569)date of birth , their (P27)country of citizenship , their (P106)occupation , their (P21)sex or gender I want a list of people without a description in Dutch. I want the following information: the item id of the persons, the label of the person, their

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX schema: <http://schema.org/>

SELECT DISTINCT ?item ?itemLabel ?sex ?sexLabel ?job ?jobLabel ?country ?countryLabel ?birth ?dead ?itemDescription WHERE { {
SELECT DISTINCT ?item ?sex ?job ?country ?birth ?dead WHERE {
  ?item wdt:P31 wd:Q5
  OPTIONAL {
    ?item schema:description ?itemDescription.
    FILTER((LANG(?itemDescription)) = "nl")
  }
  ?item wdt:P21 ?sex . 
  OPTIONAL { ?item wdt:P106 ?job . }
  OPTIONAL { ?item wdt:P27 ?country . }
  OPTIONAL { ?item wdt:P569 ?birth . }
  OPTIONAL { ?item wdt:P570 ?dead . }
  FILTER(!BOUND(?itemDescription))
}
LIMIT 1
  }
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?birth"):::projected v5("?country"):::projected v7("?dead"):::projected v2("?item"):::projected v1("?itemDescription"):::projected v4("?job"):::projected v3("?sex"):::projected c13(["nl,en"]):::literal c11(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri f0[["not bound(?itemDescription)"]] f0 --> v1 v2 --"wdt:P31"--> c3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."schema:description".-> v1 end v2 --"wdt:P21"--> v3 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P106".-> v4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P27".-> v5 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v6 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P570".-> v7 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end