Question: Which is shorter, Independence Day with Kathleen Quinlan or Lisban by Republic Pictures?
Choices:
A Prairie Home Companion
Independence Day
Talk to Her
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Training Day
Pleasantville
The Hunchback of Notre Dame
Lisbon
Program:
function: Find
inputs: Kathleen Quinlan
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Independence Day
function: And
dependencies: 1
2
function: Find
inputs: Republic Pictures
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: Lisbon
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Independence Day" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kathleen Quinlan" .   } UNION { ?e <pred:name> "Lisbon" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Republic Pictures" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lisbon