Question: Which movie is longer, Joan of Arc (the one that was nominated for Academy Award for Best Production Design) or RoboCop (the one that has Jennifer Ehle as a cast member)?
Choices: Rebecca
Pleasantville
Talk to Her
Joan of Arc
The Hunchback of Notre Dame
RoboCop
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joan of Arc" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Production Design" .   } UNION { ?e <pred:name> "RoboCop" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jennifer Ehle" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Production Design
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Joan of Arc
function: And
dependencies: 1
2
function: Find
inputs: Jennifer Ehle
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: RoboCop
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Joan of Arc