Question: Which movie has a shorter runtime, Very Bad Things or Shine a Light?
Choices:
The Towering Inferno
Curse of the Golden Flower
A Prairie Home Companion
Rebecca
Pleasantville
Talk to Her
The Fifth Element
Very Bad Things
Shine a Light
The Hunchback of Notre Dame
Program:
function: Find
inputs: Very Bad Things
function: Find
inputs: Shine a Light
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Very Bad Things" .  } UNION { ?e <pred:name> "Shine a Light" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Very Bad Things