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