Question: What is the relationship between Jordin Sparks and Glendale (the one that is the residence of Jordin Sparks)?
Choices: archives at
writing system
main subject
residence
airline alliance
office contested
home port
start point
located in time zone
executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jordin Sparks" . ?e_2 <pred:name> "Glendale" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Jordin Sparks" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jordin Sparks
function: Find
inputs: Jordin Sparks
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Glendale
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: residence