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