Question: Which one has less running time between Frankenweenie (the one that was nominated for the Critics' Choice Movie Award for Best Animated Feature) and Avatar (the one that received the 82nd Academy Awards)?
Choices:
Rush Hour
Avatar
Shaanxi
Piranha 3D
Frankenweenie
Hamlet
ParaNorman
The Smurfs
Fritz Lang
Peter Boyle
Answer: Frankenweenie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frankenweenie" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Critics' Choice Movie Award for Best Animated Feature" .   } UNION { ?e <pred:name> "Avatar" . ?e <award_received> ?e_2 . ?e_2 <pred:name> "82nd Academy Awards" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Critics' Choice Movie Award for Best Animated Feature
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Frankenweenie
function: And
dependencies: 1
2
function: Find
inputs: 82nd Academy Awards
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: Avatar
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less