Question: Is the run-time longer on The Greatest Story Ever Told or on Alexander the Great, originating in Italy?
Choices:
The Towering Inferno
The Greatest Story Ever Told
The Fifth Element
Rebecca
Pleasantville
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Alexander the Great
A Prairie Home Companion
Program:
function: Find
inputs: The Greatest Story Ever Told
function: Find
inputs: Italy
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Alexander the Great
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Greatest Story Ever Told" .  } UNION { ?e <pred:name> "Alexander the Great" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Italy" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Alexander the Great