Question: Bobby, composed by Laxmikant-Pyarelal, is related in what way to romance film?
Choices:
original language of film or TV show
foundational text
part of
film distribute region
narrator
genre
draft pick from school
fabrication method
contains settlement
lyrics by
Program:
function: Find
inputs: Laxmikant-Pyarelal
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Bobby
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bobby" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Laxmikant-Pyarelal" . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Answer: genre