Question: Which movie is longer, Colorado (the one that origins from United States of America) or Detective Dee and the Mystery of the Phantom Flame?
Choices:
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Detective Dee and the Mystery of the Phantom Flame
Pleasantville
The Towering Inferno
Talk to Her
Colorado
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Colorado
function: And
dependencies: 1
2
function: Find
inputs: Detective Dee and the Mystery of the Phantom Flame
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Colorado" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Detective Dee and the Mystery of the Phantom Flame" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Detective Dee and the Mystery of the Phantom Flame