Question: The poet Richard Wright was born in which US city?
Choices:
Poughkeepsie
Waukegan
New Haven
Columbus
Downey
Berkeley
Franklin
Natchez
Salisbury
Providence
Answer: Natchez
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Richard Wright" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "poet" .   }
Program:
function: Find
inputs: poet
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5