Question: Which movie is longer, Spirited Away or The Stepford Wives (the one whose production company is Paramount Pictures)?
Choices:
My-HiME
The Stepford Wives
Magic Knight Rayearth
Code Geass
Anastasia
Spirited Away
Ponyo on the Cliff by the Sea
Wonder Woman
Superman
A Christmas Carol
Program:
function: Find
inputs: Spirited Away
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spirited Away" .  } UNION { ?e <pred:name> "The Stepford Wives" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Spirited Away