Question: Which movie is shorter in lenght, Anna Karenina (the one that uses the language English) or They Might Be Giants (the one that has Joanne Woodward as a cast member)?
Choices: They Might Be Giants
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Rebecca
The Fifth Element
Curse of the Golden Flower
Anna Karenina
Training Day
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anna Karenina" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "They Might Be Giants" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Joanne Woodward" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 1
2
function: Find
inputs: Joanne Woodward
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: They Might Be Giants
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: They Might Be Giants