Question: What is the title of Beloved (the one whose color is black-and-white)?
Choices: Hancock
Oklahoma!
Fear and Loathing in Las Vegas
Breaking Bad
Beloved
Looney Tunes
De nieuwe wereld
Synecdoche, New York
Jumper
The Rules of Attraction
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Beloved" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Beloved
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
Answer: Beloved