Question: Is the run-time shorter for New Year's Eve, set in Germany, or Superman, distributed by Warner Home Video?
Choices:
The Polar Express
Anastasia
A Christmas Carol
My-HiME
Code Geass
Superman
Magic Knight Rayearth
Ponyo on the Cliff by the Sea
Wonder Woman
Naruto Shippuden the Movie: Bonds
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: New Year's Eve
function: And
dependencies: 1
2
function: Find
inputs: Warner Home Video
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Superman
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Year's Eve" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Superman" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Warner Home Video" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Superman