Question: Which movie is shorter, Charlie's Angels (the one whose release region is United States of America) or Abraham Lincoln (the one whose director is D. W. Griffith)?
Choices:
Rebecca
A Prairie Home Companion
Abraham Lincoln
The Hunchback of Notre Dame
Pleasantville
The Fifth Element
Talk to Her
Training Day
The Towering Inferno
Curse of the Golden Flower
Answer: Abraham Lincoln
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie's Angels" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Abraham Lincoln" . ?e <director> ?e_2 . ?e_2 <pred:name> "D. W. Griffith" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Charlie's Angels
function: And
dependencies: 1
2
function: Find
inputs: D. W. Griffith
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Abraham Lincoln
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less