Question: What is the connection between My Name Is Khan (the one whose genre is romance film) to action film?
Choices: occupant
parent club
director of photography
cause of death
sibling
office held by head of government
genre
head of state
director/manager
used by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "My Name Is Khan" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romance film" . ?e_2 <pred:name> "action film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: My Name Is Khan
function: And
dependencies: 1
2
function: Find
inputs: action film
function: QueryRelation
dependencies: 3
4
Answer: genre