query-582986b38c53c49f719857911e9b9242
Wolbo
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 ?tournament ?tournamentLabel
WHERE
{
?item wdt:P31 wd:Q46190676 . # Instance of tennis event
?item wdt:P2094 wd:Q16893072 . # men's singles
MINUS
{
?item wdt:P1346 ?winner .
}
?item wdt:P361 ?tournament .
?tournament wdt:P361 ?tour .
?tour wdt:P3450 ?season_of .
VALUES ?season_of { wd:Q300008 wd:Q3775082} # ATP World Tour or Grand Prix tennis circuit
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("?item"):::projected
v6("?season_of")
v4("?tour")
v3("?tournament"):::projected
v2("?winner")
c9(["bd:serviceParam"]):::iri
c2(["wd:Q46190676"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q16893072"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P2094"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P1346"--> v2
end
v1 --"wdt:P361"--> v3
v3 --"wdt:P361"--> v4
v4 --"wdt:P3450"--> v6
bind1[/VALUES ?season_of/]
bind1-->v6
bind10(["wd:Q300008"])
bind10 --> bind1
bind11(["wd:Q3775082"])
bind11 --> bind1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end