Question: What is the connection between The Lion in Winter to John Barry (the one that is the composer of The Cotton Club)?
Choices:
original language of film or TV show
located in or next to body of water
interests
composer
drug used for treatment
from fictional universe
located on astronomical location
currency
continent
subject has role
Program:
function: Find
inputs: The Lion in Winter
function: Find
inputs: The Cotton Club
function: Relate
dependencies: 1
inputs: composer
forward
function: Find
inputs: John Barry
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lion in Winter" . ?e_2 <pred:name> "John Barry" . ?e_3 <composer> ?e_2 . ?e_3 <pred:name> "The Cotton Club" . ?e_1 ?p ?e_2 .  }
Answer: composer