Question: What US city borders another US city which is the birthplace of Tom Hanks ?
Choices: Oak Park
Charleston
Walnut Creek
Irvine
Inglewood
La Crosse
Cumberland
Santa Ana
Palo Alto
Oxnard
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Tom Hanks" .   }
Program:
function: Find
inputs: Tom Hanks
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Relate
dependencies: 2
inputs: shares border with
backward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4
Answer: Walnut Creek