Question: Which is shorter, Pride & Prejudice or Fear and Loathing in Las Vegas starring Ellen Barkin?
Choices: Pleasantville
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Training Day
Fear and Loathing in Las Vegas
The Hunchback of Notre Dame
Talk to Her
Pride & Prejudice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pride & Prejudice" .  } UNION { ?e <pred:name> "Fear and Loathing in Las Vegas" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ellen Barkin" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pride & Prejudice
function: Find
inputs: Ellen Barkin
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Fear and Loathing in Las Vegas
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Fear and Loathing in Las Vegas