Question: Tell me the one with the larger duration, Going My Way (which is in the drama film genre) or Maid in Manhattan.
Choices: The Fifth Element
Pleasantville
A Prairie Home Companion
Going My Way
Curse of the Golden Flower
Maid in Manhattan
Rebecca
Training Day
Talk to Her
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Going My Way" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "Maid in Manhattan" .  } ?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: Going My Way
function: And
dependencies: 1
2
function: Find
inputs: Maid in Manhattan
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Going My Way