Question: Which has a lesser duration, Olympia (which has origins from Nazi Germany) or Wild at Heart?
Choices:
Training Day
Rebecca
Curse of the Golden Flower
The Fifth Element
Wild at Heart
Talk to Her
The Towering Inferno
A Prairie Home Companion
Olympia
The Hunchback of Notre Dame
Program:
function: Find
inputs: Nazi Germany
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Olympia
function: And
dependencies: 1
2
function: Find
inputs: Wild at Heart
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Olympia" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Nazi Germany" .   } UNION { ?e <pred:name> "Wild at Heart" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wild at Heart