Question: Which one is shorter, Tuvalu, originating from Germany, or Little Women, executive produced by David O. Selznick?
Choices:
Curse of the Golden Flower
Pleasantville
The Towering Inferno
Training Day
Talk to Her
A Prairie Home Companion
Tuvalu
The Hunchback of Notre Dame
Little Women
The Fifth Element
Answer: Tuvalu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tuvalu" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Germany" .   } UNION { ?e <pred:name> "Little Women" . ?e <executive_producer> ?e_2 . ?e_2 <pred:name> "David O. Selznick" .  } ?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: Tuvalu
function: And
dependencies: 1
2
function: Find
inputs: David O. Selznick
function: Relate
dependencies: 4
inputs: executive producer
backward
function: Find
inputs: Little Women
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less