Question: Which one is shorter, Metropolis (the one whose color is black-and-white) or Singapore (the one that has Ava Gardner as a cast member) ?
Choices: The Towering Inferno
Curse of the Golden Flower
Singapore
A Prairie Home Companion
Metropolis
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
Pleasantville
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Metropolis" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Singapore" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Ava Gardner" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Metropolis
function: And
dependencies: 1
2
function: Find
inputs: Ava Gardner
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Singapore
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Singapore