Question: What is the connection between Tangled (the one that mainly depicts fairy tale) to Alan Menken?
Choices:
studied by
father
medical treatment
airline hub
winner
composer
discoverer or inventor
has contributing factor
doctoral advisor
spouse
Program:
function: Find
inputs: fairy tale
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Tangled
function: And
dependencies: 1
2
function: Find
inputs: Alan Menken
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tangled" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "fairy tale" . ?e_2 <pred:name> "Alan Menken" . ?e_1 ?p ?e_2 .  }
Answer: composer