Question: Is Night at the Museum or Carrie in black-and-white the shorter work?
Choices:
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Rebecca
Night at the Museum
Training Day
The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: Night at the Museum
function: Find
inputs: black-and-white
function: Relate
dependencies: 1
inputs: color
backward
function: Find
inputs: Carrie
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Night at the Museum" .  } UNION { ?e <pred:name> "Carrie" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Night at the Museum