Question: How is Robert Smith (the one that died in Alton) related to United States of America ?
Choices: continent
country of citizenship
different from
nutrient
mountain range
musical conductor
professional or sports partner
indigenous to
manner of death
has contributing factor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Smith" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Alton" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Alton
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship