Question: Which movie is shorter, Road Trip or The Treasure of the Sierra Madre?
Choices:
Training Day
Talk to Her
Road Trip
The Hunchback of Notre Dame
The Treasure of the Sierra Madre
The Fifth Element
Pleasantville
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Program:
function: Find
inputs: Road Trip
function: Find
inputs: The Treasure of the Sierra Madre
function: SelectBetween
dependencies: 0
1
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Road Trip" .  } UNION { ?e <pred:name> "The Treasure of the Sierra Madre" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Road Trip