Question: What does Adrian (in the television comedy genre) have to do with television comedy?
Choices:
main subject
professional or sports partner
killed by
country of citizenship
godparent
superhuman feature or ability
genre
architect
drug used for treatment
winner
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Adrian" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "television comedy" . ?e_2 <pred:name> "television comedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: television comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Adrian
function: And
dependencies: 1
2
function: Find
inputs: television comedy
function: QueryRelation
dependencies: 3
4