Question: Which film is shorter, the American film Alexander the Great, or the American film Schindler's List?
Choices:
Pleasantville
Talk to Her
The Hunchback of Notre Dame
Alexander the Great
Rebecca
The Towering Inferno
Schindler's List
A Prairie Home Companion
Curse of the Golden Flower
Training Day
Answer: Alexander the Great
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexander the Great" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Schindler's List" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?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: country of origin
backward
function: Find
inputs: Alexander the Great
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Schindler's List
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less