Question: Does Water for Elephants or  Friday Night Lights (genre is drama film) have higher duration?
Choices:
Training Day
A Prairie Home Companion
The Fifth Element
Rebecca
Friday Night Lights
Water for Elephants
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
Talk to Her
Program:
function: Find
inputs: Water for Elephants
function: Find
inputs: drama film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Friday Night Lights
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Water for Elephants" .  } UNION { ?e <pred:name> "Friday Night Lights" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Water for Elephants