Question: Does Emma (that has Kate Beckinsale as a cast member) or Dallas (whose composer is Max Steiner) have the longer runtime?
Choices: A Christmas Carol
All Quiet on the Western Front
The Three Musketeers
Shackleton
A Streetcar Named Desire
The Late Shift
Dallas
Emma
The Challenge
The Music Man
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Emma" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kate Beckinsale" .   } UNION { ?e <pred:name> "Dallas" . ?e <composer> ?e_2 . ?e_2 <pred:name> "Max Steiner" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kate Beckinsale
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Emma
function: And
dependencies: 1
2
function: Find
inputs: Max Steiner
function: Relate
dependencies: 4
inputs: composer
backward
function: Find
inputs: Dallas
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Emma