Question: What is the connection between Cher (the one whose genre is talk show) to United States of America?
Choices:
original language of film or TV show
country of origin
father
occupant
soundtrack album
place of death
sidekick of
sex or gender
military rank
grants
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cher" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "talk show" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: talk show
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Cher
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4