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