Question: Does You Only Live Twice (that mainly portrays aviation) or Apache (that is filmed in Santa Monica) have the shorter runtime?
Choices:
Pleasantville
You Only Live Twice
Talk to Her
Rebecca
Curse of the Golden Flower
The Towering Inferno
Training Day
A Prairie Home Companion
Apache
The Hunchback of Notre Dame
Program:
function: Find
inputs: aviation
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: You Only Live Twice
function: And
dependencies: 1
2
function: Find
inputs: Santa Monica
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: Apache
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "You Only Live Twice" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "aviation" .   } UNION { ?e <pred:name> "Apache" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Santa Monica" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Apache