query-0c61884fcab064772a07c1af9d5fc692

rq turtle/ttl

Only event venues

Use at

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#>
#-------------------------------------------------------
# EN: Only event venues (no subcategories)
# DE: Nur Veranstaltungsorte (keine Unterkategorien)
#-------------------------------------------------------
#defaultView:Map,Table
SELECT distinct ?item ?itemLabel ?coordinate ?image
WHERE {
  ?item wdt:P31 wd:Q18674739.               # only event venues
  OPTIONAL {?item wdt:P625 ?coordinate.}    # coordinate
  OPTIONAL {?item wdt:P18  ?image.}         #  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?coordinate"):::projected v3("?image"):::projected v1("?item"):::projected c6(["bd:serviceParam"]):::iri c2(["wd:Q18674739"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en,de"]):::literal v1 --"wdt:P31"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P625".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end