Question: Which movie is shorter, Shadowlands (the one that has Debra Winger as a cast member) or The Illusionist (the one that is shot in Czech Republic)?
Choices: Curse of the Golden Flower
Shadowlands
The Fifth Element
Pleasantville
The Illusionist
The Towering Inferno
Talk to Her
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shadowlands" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Debra Winger" .   } UNION { ?e <pred:name> "The Illusionist" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Czech Republic" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Debra Winger
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Shadowlands
function: And
dependencies: 1
2
function: Find
inputs: Czech Republic
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: The Illusionist
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Shadowlands