query-36b6b65379c2ec7bba93f5c0fe0496ee

rq turtle/ttl

times-out even with hint SELECT ?item ?itemLabel WHERE { # hint:Query hint:optimizer "None".
{ SELECT ?item WHERE { ?item wdt:P31 wd:Q5 OPTIONAL { ?item schema:description ?descnl FILTER(LANG(?descnl) = "nl") } FILTER ( !BOUND(?descnl) ) } LIMIT 1 } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#times-out even with hint
SELECT ?item ?itemLabel
WHERE
{ 
  # hint:Query hint:optimizer "None".  
  {
    SELECT ?item 
    WHERE
    {  ?item wdt:P31 wd:Q5
        OPTIONAL { ?item schema:description ?descnl FILTER(LANG(?descnl) = "nl")   }
        FILTER ( !BOUND(?descnl) )
    }
    LIMIT 1
    }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?descnl") v2("?item"):::projected c6(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal 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 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end