query-a1b5e71e7ff7842125f4d54a3df34e64

rq turtle/ttl

Missing descriptions not really missingHi, trying this FILTER still gets the descriptions, but they are not in fact missing.

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#>
SELECT ?item ?itemLabel ?itemDescription ?itemdesc_fr WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
  ?item wdt:P31 wd:Q55488; wdt:P17 wd:Q212.
FILTER(NOT EXISTS {    
  ?item schema:description ?itemdesc_fr.
    FILTER(LANG(?itemdesc) = "fr")
  }) 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?itemdesc") v3("?itemdesc_fr"):::projected c4(["bd:serviceParam"]):::iri c9(["wd:Q212"]):::iri c7(["wd:Q55488"]):::iri c1(["fr"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?itemdesc = 'fr'"]] e0f0 --> e0v1 e0v2 --"schema:description"--> e0v3 e0v2("?item"):::projected e0v1("?itemdesc"):::projected e0v3("?itemdesc_fr"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> c2 f0 --> v3 f1[["?itemdesc = 'fr'"]] f1 --> v1 v2 --"schema:description"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c1 end v2 --"wdt:P31"--> c7 v2 --"wdt:P17"--> c9