Question: Does The Lady, hailing from France, or Red Tails have the longer run-time?
Choices:
Pleasantville
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
The Lady
The Fifth Element
Talk to Her
Red Tails
Training Day
The Towering Inferno
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Lady
function: And
dependencies: 1
2
function: Find
inputs: Red Tails
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lady" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } UNION { ?e <pred:name> "Red Tails" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Lady