Question: Which is shorter, Cirque du Freak: The Vampire's Assistant or Hamlet, which was nominated for Academy Award for Best Original Score?
Choices:
Cirque du Freak: The Vampire's Assistant
Hamlet
Rebecca
The Fifth Element
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
Training Day
Answer: Cirque du Freak: The Vampire's Assistant
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cirque du Freak: The Vampire's Assistant" .  } UNION { ?e <pred:name> "Hamlet" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Score" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cirque du Freak: The Vampire's Assistant
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Hamlet
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less