Question: Who composed Beauty and the Beast (the one that is authored by Tim Rice)?
Choices: Howard Ashman
William Henry Harrison
David Byrne
Max Fleischer
George Harrison
Richard Gere
Alan Menken
Candice Bergen
Sylvester Stallone
Ashlee Simpson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <author> ?e_2 . ?e_2 <pred:name> "Tim Rice" .   }
Program:
function: Find
inputs: Tim Rice
function: Relate
dependencies: 0
inputs: author
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
Answer: Alan Menken