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