User:Hodolog/Painting maps
(Redirected from User:Galopax/Painting maps)
Painting maps
based on SPARQL queries
Astroport map of the world
[edit]#Astroport map of the world
#Usuario:Galopax/Pintando_mapas_2 (WP-ES)
#User:Galopax/Painting maps (WD)
#added 2020-04-03
#defaultView:Map
SELECT DISTINCT ?spaceport ?spaceportLabel ?coordenadas ?entidad_territorial_administrativa ?entidad_territorial_administrativaLabel ?situado_en_el_país ?situado_en_el_paísLabel ?website
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?spaceport (wdt:P31/(wdt:P279*)) wd:Q194188;
wdt:P17 ?geo .
OPTIONAL { ?spaceport wdt:P625 ?coordenadas. }
OPTIONAL { ?spaceport wdt:P131 ?entidad_territorial_administrativa. }
OPTIONAL { ?spaceport wdt:P17 ?situado_en_el_país. }
OPTIONAL { ?spaceport wdt:P856 ?website. }
}
Astroport map of Spain
[edit]#Astroport map of Spain
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2020-03-31
#defaultView:Map
SELECT DISTINCT ?spaceport ?spaceportLabel ?coordenadas ?entidad_territorial_administrativa ?entidad_territorial_administrativaLabel ?website
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,es,fr". }
?spaceport (wdt:P31/(wdt:P279*)) wd:Q194188;
wdt:P17 wd:Q29.
OPTIONAL { ?spaceport wdt:P625 ?coordenadas. }
OPTIONAL { ?spaceport wdt:P131 ?situado_en_la_entidad_territorial_administrativa. }
OPTIONAL { ?spaceport wdt:P856 ?website. }
}
Airport map of Spain
[edit]#Astroport map of Spain
#Airports map of Spain
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2020-09-12
#defaultView:Map
SELECT ?nombre ?geo ?qid ?website WHERE {
?qid wdt:P31 wd:Q1248784; #Airport
?range wd:Q29; #Spain
wdt:P625 ?geo;
rdfs:label ?nombre.
FILTER((LANG(?nombre)) = "es")
OPTIONAL { ?nombre wdt:P856 ?website. }
}
Flying clubs map of Spain
[edit]#Astroport map of Spain
#Flying clubs map of Spain
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2020-12-29
#defaultView:Map
SELECT ?nombre ?geo ?qid ?website WHERE {
?qid wdt:P31 wd:Q2071567; #Flying club
?range wd:Q29; #Spain
wdt:P625 ?geo;
rdfs:label ?nombre;
wdt:P856 ?website.
FILTER((LANG(?nombre)) = "es")
OPTIONAL { ?nombre wdt:P856 ?website. }
}
Hospitales en Buenos Aires
[edit]Mapa de hospitales en Buenos Aires, con visión con capas y enlace a artículo en WP ES
#defaultView:Map{"layer":"?ubicaci_n"}
SELECT ?CentrosSalud ?CentrosSaludLabel ?coordenadas ?ubicaci_n ?ubicaci_nLabel ?imagen ?sitelinkES
WHERE {
{?CentrosSalud wdt:P31 wd:Q16917.}
UNION {?CentrosSalud wdt:P31 wd:Q569500.}
?CentrosSalud wdt:P131 wd:Q1486.
?CentrosSalud wdt:P276 ?ubicaci_n.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],es". }
OPTIONAL {?CentrosSalud wdt:P625 ?coordenadas.}
OPTIONAL {?CentrosSalud wdt:P18 ?imagen.}
OPTIONAL { ?sitelinkES schema:isPartOf <https://es.wikipedia.org/>;
schema:about ?CentrosSalud.
}
}
Heritage on the Camino de Santiago
[edit]Elementos patrimoniales en Caminos de Santiago, con Lat, Lon, imagen, enlace a artículo en WP ES y website.
Heritage elements in Caminos de Santiago, with Lat, Lon, image, link to article in WP ES and website.
#Heritage on the Camino de Santiago
#Usuario:Galopax/Pintando_mapas_2 (WP-ES)
#User:Galopax/Painting maps (WD)
#added 2021-06-23
SELECT DISTINCT ?a ?aLabel ?layerLabel ?lat ?lon ?image ?sitelinkES ?website
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "es,en". }
?a (wdt:P361*) wd:Q41150.
?a p:P625 ?statement . # coordinate-location statement
?statement psv:P625 ?coordinate_node .
?coordinate_node wikibase:geoLatitude ?lat .
?coordinate_node wikibase:geoLongitude ?lon .
?a wdt:P361 ?ruta.
?ruta wdt:P31 wd:Q337912.
BIND (?ruta AS ?layer)
OPTIONAL { ?a wdt:P856 ?website. }
OPTIONAL { ?a wdt:P18 ?image.}
OPTIONAL { ?sitelinkES schema:isPartOf <https://es.wikipedia.org/>;
schema:about ?a.
}
}
Heritage on the Camino de Santiago +
[edit]Mapa de Elementos patrimoniales en Caminos de Santiago, con imagen, enlace a artículo en WP ES y website.
Heritage elements map in Caminos de Santiago, with, image, link to article in WP ES and website.
#Heritage on the Camino de Santiago with image and weblink
#Usuario:Galopax/Pintando_mapas_2 (WP-ES)
#User:Galopax/Painting maps (WD)
#added 2021-06-25
#defaultView:Map
SELECT DISTINCT ?a ?aLabel ?coordenadas ?layerLabel ?image ?sitelinkES ?website
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "es,en". }
?a (wdt:P361*) wd:Q41150.
?a wdt:P625 ?coordenadas. # coordinate-location statement
?a wdt:P361 ?ruta.
?ruta wdt:P31 wd:Q337912.
BIND (?ruta AS ?layer )
OPTIONAL { ?a wdt:P856 ?website. }
OPTIONAL { ?a wdt:P18 ?image.}
OPTIONAL { ?sitelinkES schema:isPartOf <https://es.wikipedia.org/>;
schema:about ?a.
}
}
Churches of Santiago on the French Way +
[edit]Mapa de elementos patrimoniales con advocación a Santiago en Caminos de Santiago, con imagen, enlace a artículo en WP ES y website.
#Churches of Santiago on the French Way
#Usuario:Galopax/Pintando_mapas_2 (WP-ES)
#User:Galopax/Painting maps (WD)
#added 2021-07-11
#defaultView:Map
SELECT ?a ?aLabel ?coordenadas ?image ?sitelinkES ?website WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?a (wdt:P361*) wd:Q41150.
{ ?a wdt:P138 wd:Q43999. }
UNION
{ ?a wdt:P825 wd:Q43999. }
?a wdt:P625 ?coordenadas.
OPTIONAL { ?a wdt:P856 ?website. }
OPTIONAL { ?a wdt:P18 ?image.}
OPTIONAL { ?sitelinkES schema:isPartOf <https://es.wikipedia.org/>;
schema:about ?a.
}
}
Churches of Saint James the Greater in Spain
[edit]#Churches of Saint James the Greater in Spain
#Usuario:Galopax/Pintando_mapas_2 (WP-ES)
#User:Galopax/Painting maps (WD)
#added 2021-07-13
#defaultView:Map
SELECT ?a ?aLabel ?coordenadas ?image ?sitelinkES ?website WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?a (wdt:P131*) wd:Q29.
{ ?a wdt:P138 wd:Q43999. }
UNION
{ ?a wdt:P825 wd:Q43999. }
?a wdt:P625 ?coordenadas.
OPTIONAL { ?a wdt:P856 ?website. }
OPTIONAL { ?a wdt:P18 ?image.}
OPTIONAL { ?sitelinkES schema:isPartOf <https://es.wikipedia.org/>;
schema:about ?a.
}
}
Towns on the French Way
[edit]#Poblaciones en el Camino Francés
#Towns on the French Way
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2021-07-17
#defaultView:Map
SELECT ?nombre ?geo ?qid ?website ?image ?sitelinkES WHERE {
?qid wdt:P31 wd:Q486972; #Población
?range wd:Q1029584; #Camino Francés
wdt:P625 ?geo;
rdfs:label ?nombre.
FILTER((LANG(?nombre)) = "es")
OPTIONAL { ?nombre wdt:P856 ?website. }
OPTIONAL { ?nombre wdt:P18 ?image.}
OPTIONAL { ?sitelinkES schema:isPartOf <https://es.wikipedia.org/>;
schema:about ?nombre.
}
}
QID information
[edit]#Información según QID
#QID information
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2021-08-02
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?coordenadas ?categor_a_en_Commons ?commons ?imagen ?eswiki
WHERE {
VALUES ?item {
wd:Q2628455
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "es". }
OPTIONAL { ?item wdt:P625 ?coordenadas. }
OPTIONAL { ?item wdt:P373 ?categor_a_en_Commons. }
OPTIONAL { ?item wdt:P18 ?imagen. }
OPTIONAL {
?eswiki schema:about ?item;
schema:isPartOf <https://es.wikipedia.org/>. }
OPTIONAL {
?commons schema:about ?item;
schema:isPartOf <https://commons.wikimedia.org/>. }
}
QID information LL
[edit]#Información según QID - LL
#QID information - LL
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2021-08-02
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?coordenadas ?categor_a_en_Commons ?commons ?imagen ?eswiki ?lat ?lon
WHERE {
VALUES ?item {
wd:Q2628455
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "es". }
?item p:P625 ?statement . # coordinate-location statement
?statement psv:P625 ?coordinate_node .
?coordinate_node wikibase:geoLatitude ?lat .
?coordinate_node wikibase:geoLongitude ?lon .
OPTIONAL { ?item wdt:P625 ?coordenadas. }
OPTIONAL { ?item wdt:P373 ?categor_a_en_Commons. }
OPTIONAL { ?item wdt:P18 ?imagen. }
OPTIONAL {
?eswiki schema:about ?item;
schema:isPartOf <https://es.wikipedia.org/>. }
OPTIONAL {
?commons schema:about ?item;
schema:isPartOf <https://commons.wikimedia.org/>. }
}
Museum map of Spain
[edit]#Mapa de museo de España
#Museum map of Spain
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2021-09-23
#defaultView:Map
SELECT ?nombre ?geo ?qid ?website WHERE {
?qid wdt:P31 wd:Q33506; #Museum
?range wd:Q29; #Spain
wdt:P625 ?geo;
rdfs:label ?nombre.
FILTER((LANG(?nombre)) = "es")
OPTIONAL { ?nombre wdt:P856 ?website. }
}
Natural protected areas of Spain
[edit]#Espacios naturales protegidos
#Identificador OSM, WPES, LL
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2022-02-15
#defaultView:Map
SELECT ?item ?itemLabel ?WDPA ?CDDA ?Natura_2000 ?osm ?eswiki ?coord ?image ?commons ?lat ?lon
(CONCAT("[https://protectedplanet.net/",?WDPA,"]") as ?url1)
(CONCAT("[http://eunis.eea.europa.eu/sites/",?CDDA,"]") as ?url2)
(CONCAT("[http://natura2000.eea.europa.eu/Natura2000/SDF.aspx?site=",?Natura_2000,"]") as ?url3)
WHERE {
?item wdt:P17 wd:Q29.
?item wdt:P809 ?WDPA.#identificador WDPA
MINUS {?item wdt:P276 wd:Q5813.}
MINUS {?item wdt:P276 wd:Q107356467.}
OPTIONAL {?item wdt:P4762 ?CDDA.}#identificador en CDDA
OPTIONAL {?item wdt:P3425 ?Natura_2000.}#identificador Natura 2000
OPTIONAL {?item wdt:P625 ?coord. }
OPTIONAL {?item wdt:P18 ?image.}
OPTIONAL {?item wdt:P402 ?osm.}
OPTIONAL {
?eswiki schema:about ?item;
schema:isPartOf <https://es.wikipedia.org/>. }
OPTIONAL {
?commons schema:about ?item;
schema:isPartOf <https://commons.wikimedia.org/>. }
BIND(IF(BOUND(?cat),ENCODE_FOR_URI(?cat),"" ) as ?catstring)
SERVICE wikibase:label { bd:serviceParam wikibase:language "es". }
?item p:P625 ?statement . # coordinate-location statement
?statement psv:P625 ?coordinate_node .
?coordinate_node wikibase:geoLatitude ?lat .
?coordinate_node wikibase:geoLongitude ?lon .
}
Natura 2000 - Spain
[edit]#Espacios naturales protegidos - Natura 2000
#Identificador OSM, WPES, LL
#Usuario:Galopax/Pintando_mapas_2
#User:Galopax/Painting maps (WD)
#added 2022-02-15
#defaultView:Map
SELECT ?item ?itemLabel ?Natura_2000 ?osm ?eswiki ?coord ?image ?commons ?lat ?lon
(CONCAT("[http://natura2000.eea.europa.eu/Natura2000/SDF.aspx?site=",?Natura_2000,"]") as ?url1)
WHERE {
?item wdt:P17 wd:Q29.
?item wdt:P3425 ?Natura_2000.#identificador Natura 2000
MINUS {?item wdt:P276 wd:Q5813.}
MINUS {?item wdt:P276 wd:Q107356467.}
OPTIONAL {?item wdt:P625 ?coord. }
OPTIONAL {?item wdt:P18 ?image.}
OPTIONAL {?item wdt:P402 ?osm.}
OPTIONAL {
?eswiki schema:about ?item;
schema:isPartOf <https://es.wikipedia.org/>. }
OPTIONAL {
?commons schema:about ?item;
schema:isPartOf <https://commons.wikimedia.org/>. }
BIND(IF(BOUND(?cat),ENCODE_FOR_URI(?cat),"" ) as ?catstring)
SERVICE wikibase:label { bd:serviceParam wikibase:language "es". }
?item p:P625 ?statement . # coordinate-location statement
?statement psv:P625 ?coordinate_node .
?coordinate_node wikibase:geoLatitude ?lat .
?coordinate_node wikibase:geoLongitude ?lon .
}