Question: Which is longer, Cold War which origins from France or Dragon Ball: Mystical Adventure?
Choices:
Talk to Her
Training Day
Rebecca
Pleasantville
The Hunchback of Notre Dame
Cold War
Curse of the Golden Flower
A Prairie Home Companion
The Fifth Element
Dragon Ball: Mystical Adventure
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Cold War
function: And
dependencies: 1
2
function: Find
inputs: Dragon Ball: Mystical Adventure
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cold War" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "France" .   } UNION { ?e <pred:name> "Dragon Ball: Mystical Adventure" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cold War