Question: What is the connection between John Stephenson (the one that died in Los Angeles) to United States of America?
Choices:
territory claimed by
candidate
child astronomical body
participant of
has contributing factor
architectural style
narrator
father
country of citizenship
ethnic group
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: John Stephenson
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Stephenson" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship