Question: In which city does Ben Johnson (the one that is a participant of 1984 Summer Olympics) reside?
Choices: Abidjan
Bergen
Trieste
Santo Domingo
Kingston
Messina
Markham
Tashkent
Kilkenny
Cork
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Ben Johnson" . ?e_1 <participant_of> ?e_2 . ?e_2 <pred:name> "1984 Summer Olympics" .   }
Program:
function: Find
inputs: 1984 Summer Olympics
function: Relate
dependencies: 0
inputs: participant of
backward
function: Find
inputs: Ben Johnson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: city
function: What
dependencies: 5
Answer: Markham