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