Question: Who is the person whose name the native language is John Bailey which died in Dorchester (USA)?
Choices:
Paul Simon
John Bailey
Simon Cowell
Max Fleischer
Richard Gere
Sylvester Stallone
James E. Reilly
Rahul Dev Burman
David Byrne
William Henry Harrison
Answer: John Bailey
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Dorchester" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <name_in_native_language> ?pv . ?pv <pred:value> "John Bailey" .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Dorchester
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
backward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterStr
dependencies: 6
inputs: name in native language
John Bailey
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9