query-6903f4ae12fc0bf6e94aeecf3b814a00

rq turtle/ttl

TODO

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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemLabel_bn {
   {
  SELECT ?item WHERE {
    ?item wdt:P31 wd:Q5 .
    ?item wdt:P27 wd:Q902 .
    filter not exists { ?item rdfs:label ?itemLabel_bn . filter(lang(?itemLabel_bn)="bn") }
  } LIMIT 200
}  optional {?item schema:description ?itemLabel_bn . filter(lang(?itemLabel_bn)="bn")}
  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; v2("?item"):::projected v1("?itemLabel_bn"):::projected c9(["bd:serviceParam"]):::iri c4(["wd:Q5"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q902"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["?itemLabel_bn = 'bn'"]] e0f0 --> e0v1 e0v2 --"rdfs:label"--> e0v1 e0v2("?item"):::projected e0v1("?itemLabel_bn"):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> c2 f1[["?itemLabel_bn = 'bn'"]] f1 --> v1 v2 --"rdfs:label"--> v1 v2 --"wdt:P31"--> c4 v2 --"wdt:P27"--> c6 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; c9 --"wikibase:language"--> c11 end