Question: Out of two movies—Brothers (with Jake Gyllenhaal in the cast) or Christopher Columbus (which comes from Germany)—which one has the shorter running time?
Choices:
Training Day
Talk to Her
A Prairie Home Companion
Brothers
The Towering Inferno
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Christopher Columbus
Pleasantville
Answer: Brothers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Christopher Columbus" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Brothers" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Jake Gyllenhaal" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Christopher Columbus
function: And
dependencies: 1
2
function: Find
inputs: Jake Gyllenhaal
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Brothers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less