Question: Which movie is longer, Blood Diamond or Atlantic City (the one whose genre is drama film)?
Choices: Curse of the Golden Flower
Atlantic City
Pleasantville
Training Day
The Hunchback of Notre Dame
Blood Diamond
Talk to Her
The Fifth Element
Rebecca
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Blood Diamond" .  } UNION { ?e <pred:name> "Atlantic City" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Blood Diamond
function: Find
inputs: drama film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Atlantic City
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Blood Diamond