Question: Is The Patriot produced by Ernst Lubitsch longer, or is Summer Wars?
Choices:
The Polar Express
Summer Wars
My-HiME
Ponyo on the Cliff by the Sea
Anastasia
Superman
Wonder Woman
A Christmas Carol
Code Geass
The Patriot
Program:
function: Find
inputs: Ernst Lubitsch
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Patriot
function: And
dependencies: 1
2
function: Find
inputs: Summer Wars
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Patriot" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Ernst Lubitsch" .   } UNION { ?e <pred:name> "Summer Wars" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Summer Wars