Question: What is the relation between Harry Shum, a cast member of Glee, and Costa Rica?
Choices: draft pick from school
notable work
child
named after
place of death
does not have part
original language of film or TV show
after a work by
family
country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Shum" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "Glee" . ?e_2 <pred:name> "Costa Rica" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Glee
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Harry Shum
function: And
dependencies: 1
2
function: Find
inputs: Costa Rica
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship