query-78864f6f722fe7d078d943408f8737ca
Participants of tournaments in the 1990s without BWF-ID
Use at
- https://query.wikidata.org/sparql
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#>
SELECT ?item ?itemLabel ?participantLabel WHERE {
  {
    SELECT ?item ?itemLabel ?participantLabel (CONTAINS(?participantLabel, "199") AS ?is_Bangla) WHERE {
      ?item wdt:P31 wd:Q5; wdt:P106 wd:Q13141064; wdt:P1344 ?participant .
      SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .
      } .
    }
  } .
  FILTER( ?is_Bangla = true ) .
  FILTER NOT EXISTS { ?item wdt:P2729 ?dummy0 }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v2("?dummy0")
  v5("?is_Bangla")
  v1("?item"):::projected 
  v4("?participant")
  c9(["bd:serviceParam"]):::iri 
  c4(["wd:Q5"]):::iri 
  c11(["en"]):::literal 
  c6(["wd:Q13141064"]):::iri 
  f0[["not  "]]
  subgraph f0e0["Exists Clause"]
    e0v1 --"wdt:P2729"-->  e0v2
    e0v2("?dummy0"):::projected 
    e0v1("?item"):::projected 
  end
  f0--EXISTS--> f0e0
  f0 --> v1
  f0 --> c1
  f0 --> v2
  v1 --"wdt:P2729"-->  v2
  f1[["?is_Bangla = 'true^^xsd:boolean'"]]
  f1 --> v5
  v1 --"wdt:P31"-->  c4
  v1 --"wdt:P106"-->  c6
  v1 --"wdt:P1344"-->  v4
  subgraph s1["http://wikiba.se/ontology#label"]
    style s1 stroke-width:4px;
    c9 --"wikibase:language"-->  c11
  end
  bind2[/"contains(?participantLabel,'199')"/]
  null --o bind2
  bind2 --as--o v5