Question: Which movie is shorter, Frankenweenie (the one that has Winona Ryder as a voice actor) or Piranha 3D?
Choices:
Gwen Stefani
The Smurfs
Iron Sky
Avatar
Salzburg
Piranha 3D
ParaNorman
Israel
No Country for Old Men
Frankenweenie
Program:
function: Find
inputs: Winona Ryder
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Frankenweenie
function: And
dependencies: 1
2
function: Find
inputs: Piranha 3D
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frankenweenie" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Winona Ryder" .   } UNION { ?e <pred:name> "Piranha 3D" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Frankenweenie