query-6e2ca3450b12d11731a48b73d8569b26

rq turtle/ttl

Churches of Santiago on the French Way + Mapa de elementos patrimoniales con advocación a Santiago en Caminos de Santiago, con imagen, enlace a artículo en WP ES y website.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#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.
}
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?a"):::projected v2("?coordenadas"):::projected v4("?image"):::projected v5("?sitelinkES"):::projected v3("?website"):::projected c6(["wd:Q41150"]):::iri c8(["wd:Q43999"]):::iri c2(["bd:serviceParam"]):::iri c14([https://es.wikipedia.org/]):::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:P361"--> c6 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P825"--> c8 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P138"--> c8 end union0r <== or ==> union0l end v1 --"wdt:P625"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P856".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v5 -."schema:isPartOf".-> c14 v5 --"schema:about"--> v1 end