Question: Does Kansas (the one whose genre is drama film) or The Others have greater duration?
Choices:
Pleasantville
A Prairie Home Companion
Training Day
The Towering Inferno
Rebecca
The Fifth Element
Curse of the Golden Flower
Kansas
The Hunchback of Notre Dame
Talk to Her
Answer: Kansas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansas" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "The Others" .  } ?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: Kansas
function: And
dependencies: 1
2
function: Find
inputs: The Others
function: SelectBetween
dependencies: 3
4
inputs: duration
greater