Question: Which has a longer run-time, Alfie (originating in the USA) or Small Soldiers?
Choices:
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Talk to Her
Rebecca
Pleasantville
Training Day
The Towering Inferno
Curse of the Golden Flower
Small Soldiers
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Alfie
function: And
dependencies: 1
2
function: Find
inputs: Small Soldiers
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alfie" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Small Soldiers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Small Soldiers