query: #Battles within 100km of Edinburgh
  
  #defaultView:Map
  SELECT ?place ?placeLabel ?location
  WHERE
  {
    # Edinburgh coordinates
    wd:Q23436 wdt:P625 ?EdinLoc .
    SERVICE wikibase:around {
      ?place wdt:P625 ?location .
      bd:serviceParam wikibase:center ?EdinLoc .
      bd:serviceParam wikibase:radius "100" .
    } .
    # Is a battle
    FILTER EXISTS { ?place wdt:P31/wdt:P279* wd:Q178561 } .
    SERVICE wikibase:label {
      bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
    } 
  }