query-1dcf6eb3ab92e320261ebc797e7c58e0

rq turtle/ttl

Propertiessport (P641)instance of (P31)point in time (P585)

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#>
SELECT ?item ?itemLabel
WHERE {
  ?item wdt:P641 ?sport ;
        wdt:P31 ?competition.
  FILTER (?sport IN (wd:Q1682809, wd:Q926191, wd:Q4179462, wd:Q4305887, wd:Q38108))
  FILTER (?competition IN (wd:Q57305027, wd:Q2990963))
  MINUS { ?item wdt:P585 ?date .}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?competition") v4("?date") v3("?item"):::projected v2("?sport") c14(["en"]):::literal c12(["bd:serviceParam"]):::iri list0c2(["wd:Q2990963"]):::iri list0c1(["wd:Q57305027"]):::iri list0c1 --o f0 list0c2 --o f0 f0[[" in "]] f0 --> v1 list1c4(["wd:Q4305887"]):::iri list1c2(["wd:Q926191"]):::iri list1c5(["wd:Q38108"]):::iri list1c1(["wd:Q1682809"]):::iri list1c3(["wd:Q4179462"]):::iri list1c1 --o f1 list1c2 --o f1 list1c3 --o f1 list1c4 --o f1 list1c5 --o f1 f1[[" in "]] f1 --> v2 v3 --"wdt:P641"--> v2 v3 --"wdt:P31"--> v1 subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v3 --"wdt:P585"--> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end