Question: What person is the composer of Brazil (whose color is black-and-white)?
Choices: Walter Scharf
Sylvester Stallone
Marit Allen
Alfred Newman
Felix Mendelssohn
Graeme Revell
Max Fleischer
Adolph Zukor
Michael Kamen
William Henry Harrison
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Brazil" . ?e_1 <color> ?e_2 . ?e_2 <pred:name> "black-and-white" .   }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Brazil
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
Answer: Walter Scharf