Question: Which was shorter, Casino Royale (the one that was nominated for Grammy Award for Best Song Written for Visual Media) or The Clearing?
Choices: The Clearing
Rebecca
Training Day
Pleasantville
Talk to Her
A Prairie Home Companion
Casino Royale
Curse of the Golden Flower
The Hunchback of Notre Dame
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Casino Royale" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Grammy Award for Best Song Written for Visual Media" .   } UNION { ?e <pred:name> "The Clearing" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Grammy Award for Best Song Written for Visual Media
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Casino Royale
function: And
dependencies: 1
2
function: Find
inputs: The Clearing
function: SelectBetween
dependencies: 3
4
inputs: duration
less
Answer: The Clearing