Question: What US town is the residence of George Hamilton of Bulworth?
Choices:
Brookline
Palm Beach
Amherst
Bedford
Westport
West Hartford
Greenwich
Uxbridge
Kensington
Chapel Hill
Answer: Palm Beach
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e_2 <residence> ?e . ?e_2 <pred:name> "George Hamilton" . ?e_3 <cast_member> ?e_2 . ?e_3 <pred:name> "Bulworth" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: Find
inputs: Bulworth
function: Relate
dependencies: 3
inputs: cast member
forward
function: Find
inputs: George Hamilton
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: residence
forward
function: FilterConcept
dependencies: 7
inputs: town of the United States
function: And
dependencies: 2
8
function: What
dependencies: 9