query-906e44e05772f457a7589088b21582de
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#defaultView:Map
SELECT DISTINCT ?airport ?coor WHERE {
?airport (wdt:P31/wdt:P279) wd:Q62447; wdt:P17 wd:Q142.
?airport wdt:P625 ?coor.
MINUS { ?airport (wdt:P576|wdt:P582|wdt:P3999) ?dispar. }
MINUS {
?airport wdt:P5817 ?interdit.
VALUES ?interdit {
wd:Q811683
wd:Q63065035
wd:Q12377751
wd:Q30108381
wd:Q11639308
}
}
}
Query found at
- https://www.wikidata.org/wiki/Template:SPARQL
- https://www.wikidata.org/wiki/Template:SPARQL/doc
- https://www.wikidata.org/wiki/Template:SPARQL/sandbox
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?airport"):::projected
v2("?coor"):::projected
v3("?dispar")
v5("?interdit")
a1((" "))
c3(["wd:Q62447"]):::iri
c5(["wd:Q142"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P17"--> c5
v1 --"wdt:P625"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P3999"--> v3
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P582"--> v3
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P576"--> v3
end
union0r <== or ==> union0l
end
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P5817"--> v5
bind2[/VALUES ?interdit/]
bind2-->v5
bind20(["wd:Q811683"])
bind20 --> bind2
bind21(["wd:Q63065035"])
bind21 --> bind2
bind22(["wd:Q12377751"])
bind22 --> bind2
bind23(["wd:Q30108381"])
bind23 --> bind2
bind24(["wd:Q11639308"])
bind24 --> bind2
end