Question: Which film has the longer running time, Nuremberg (in which Charlotte Gainsbourg is a cast member) or Norbit?
Choices:
All Quiet on the Western Front
The Music Man
The Late Shift
The Three Musketeers
A Christmas Carol
The Goodbye Girl
A Streetcar Named Desire
Norbit
Shackleton
Nuremberg
Answer: Nuremberg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nuremberg" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Charlotte Gainsbourg" .   } UNION { ?e <pred:name> "Norbit" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Charlotte Gainsbourg
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Nuremberg
function: And
dependencies: 1
2
function: Find
inputs: Norbit
function: SelectBetween
dependencies: 3
4
inputs: duration
greater