Question: What United States town is the location of the college where David Foster Wallace was educated?
Choices:
Chapel Hill
Bryn Mawr
Greenwich
Westport
Kensington
Uxbridge
Palm Beach
Amherst
Bedford
Framingham
Program:
function: Find
inputs: David Foster Wallace
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: college
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: town of the United States
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "college" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> "David Foster Wallace" .   }
Answer: Amherst