Question: Which movie is shorter, Ragtime or Rush Hour (the one that was nominated for MTV Movie Award for Best Comedic Performance)?
Choices:
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Rush Hour
Pleasantville
The Hunchback of Notre Dame
Ragtime
Talk to Her
Rebecca
Training Day
Answer: Rush Hour
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ragtime" .  } UNION { ?e <pred:name> "Rush Hour" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Comedic Performance" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ragtime
function: Find
inputs: MTV Movie Award for Best Comedic Performance
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Rush Hour
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less