Question: What United States city is known to share a border with Claremont?
Choices:
Huntsville
Costa Mesa
Columbus
Waukegan
Charlotte
Franklin
Pomona
New Haven
Quincy
Akron
Program:
function: Find
inputs: Claremont
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Claremont" .   }
Answer: Pomona