Question: Which movie is longer, L.A. Confidential or Mars Attacks!?
Choices:
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Pleasantville
Mars Attacks!
L.A. Confidential
Talk to Her
Training Day
The Fifth Element
The Hunchback of Notre Dame
Program:
function: Find
inputs: L.A. Confidential
function: Find
inputs: Mars Attacks!
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "L.A. Confidential" .  } UNION { ?e <pred:name> "Mars Attacks!" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: L.A. Confidential