query-6622a8d96ad89974d08df4805d09d2f3
Military airbases in SKorea Military airbases showdown between North and South KoreaIs there a way to color dots differently (instead of having all dots with a simple red colour) ?
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#>
#defaultView:Map
SELECT ?base_a_rienne_militaire ?base_a_rienne_militaireLabel ?coordonn_es_g_ographiques WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
?base_a_rienne_militaire wdt:P31 wd:Q695850 .
?base_a_rienne_militaire wdt:P17 ?pays
VALUES ?pays { wd:Q884 wd:Q423 }
OPTIONAL { ?base_a_rienne_militaire wdt:P625 ?coordonn_es_g_ographiques. }
}
Query found at
- https://www.wikidata.org/wiki/User:Bouzinac/Airports_lists
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2020/05
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?base_a_rienne_militaire"):::projected
v3("?coordonn_es_g_ographiques"):::projected
v3("?pays")
c2(["bd:serviceParam"]):::iri
c6(["wd:Q695850"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P31"--> c6
v1 --"wdt:P17"--> v3
bind0[/VALUES ?pays/]
bind0-->v3
bind00(["wd:Q884"])
bind00 --> bind0
bind01(["wd:Q423"])
bind01 --> bind0
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v3
end