Question: Which one is shorter, Miracle on 34th Street (the one whose color is black-and-white) or Loving (the one whose narrative location is Connecticut) ?
Choices: A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Training Day
The Hunchback of Notre Dame
The Fifth Element
Rebecca
Loving
The Towering Inferno
Miracle on 34th Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Loving" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "Connecticut" .  } ?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: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: Connecticut
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Loving
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Loving