Question: Which one is longer, Affliction or The Fighter (the one that has Mark Wahlberg as a cast member) ?
Choices: Talk to Her
Affliction
Pleasantville
The Hunchback of Notre Dame
The Towering Inferno
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
The Fighter
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Affliction" .  } UNION { ?e <pred:name> "The Fighter" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Mark Wahlberg" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Affliction
function: Find
inputs: Mark Wahlberg
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Fighter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: The Fighter