Question: Which is longer, Summer Wars or Crossroads starring Steve Vai?
Choices:
Magic Knight Rayearth
The Polar Express
Ponyo on the Cliff by the Sea
Superman
A Christmas Carol
Crossroads
My-HiME
Summer Wars
Code Geass
Anastasia
Program:
function: Find
inputs: Summer Wars
function: Find
inputs: Steve Vai
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Crossroads
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Summer Wars" .  } UNION { ?e <pred:name> "Crossroads" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Steve Vai" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Summer Wars