Question: Does Cairo (whose color is black-and-white) or Inkheart have the shorter runtime?
Choices:
Pleasantville
Training Day
Talk to Her
Rebecca
Curse of the Golden Flower
Inkheart
Cairo
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Cairo
function: And
dependencies: 1
2
function: Find
inputs: Inkheart
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cairo" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Inkheart" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cairo