Question: What is the connection between Love Story (the one whose genre is teen film) to Rahul Dev Burman?
Choices:
edition or translation of
composer
notable work
season starts
talk show guest
family
characters
statistical leader
official color
airline hub
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Love Story" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "teen film" . ?e_2 <pred:name> "Rahul Dev Burman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: teen film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Love Story
function: And
dependencies: 1
2
function: Find
inputs: Rahul Dev Burman
function: QueryRelation
dependencies: 3
4