What is the {city of the United States} for {shares border with} of {Los Angeles}
Name a town next to the LOS angel
Name a city next to LOS angeles
SELECT DISTINCT ?q WHERE { resource:Los_Angeles property:shares_border_with ?q . ?q rdf:type ontology:city_of_the_United_States }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q65> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1093829> } 
 select distinct ?obj where { wd:Q65 wdt:P47 ?obj . ?obj wdt:P31 wd:Q1093829 } 
Beverly Hills Glendale Compton Monterey Torrance Culver City Carson Inglewood Alhambra San Fernando Gardena West Hollywood Huntington Park South Pasadena El Segundo Lomita Long Beach Burbank Santa Monica