Question: What is the title of Prison Break (whose color is black-and-white)?
Choices:
Abismos de pasión
Prison Break
Die Another Day
Ally McBeal
Oliver Twist; or, The Parish Boy's Progress
Little Nicky
Hannibal
Awakenings
The Beatles
Into the Storm
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Prison Break
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Prison Break" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .  ?e <title> ?pv .  }
Answer: Prison Break