Question: Which is the city that shares a border with LA?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q65 wdt:P47 ?obj . ?obj wdt:P31 wd:Q1549591 } 
Answer: Pasadena, Glendale, Torrance, Inglewood, Long Beach, Burbank