Question: How is the romantic comedy Emmy connected to Rachel Portman?
Choices: use
honorific prefix
season starts
eye color
said to be the same as
official color
composer
production designer
replaces
sports season of league or competition
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Emma" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "romantic comedy" . ?e_2 <pred:name> "Rachel Portman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: romantic comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: Rachel Portman
function: QueryRelation
dependencies: 3
4
Answer: composer