Question: Which is shorter, ParaNorman or Avatar which was nominated for an Academy Award for Best Picture?
Choices:
David Byrne
Frankenweenie
ParaNorman
Piranha 3D
Orix Buffaloes
Avatar
Banaras Hindu University
The Mary Tyler Moore Show
The Smurfs
Walter Pidgeon
Program:
function: Find
inputs: ParaNorman
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Avatar
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "ParaNorman" .  } UNION { ?e <pred:name> "Avatar" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: ParaNorman