Question: Which lasted longer, Alvin and the Chipmunks: Chipwrecked (with Justin Long) or Alice in Wonderland ((the one that was nominated for MTV Movie Award for Best Movie)?
Choices: National Treasure: Book of Secrets
Holes
G-Force
Old Dogs
The Muppets
John Carter
Alice in Wonderland
The Flintstones
The Flintstones in Viva Rock Vegas
Alvin and the Chipmunks: Chipwrecked
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alvin and the Chipmunks: Chipwrecked" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Justin Long" .   } UNION { ?e <pred:name> "Alice in Wonderland" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "MTV Movie Award for Best Movie" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Justin Long
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Alvin and the Chipmunks: Chipwrecked
function: And
dependencies: 1
2
function: Find
inputs: MTV Movie Award for Best Movie
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Alice in Wonderland