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