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