Question: Does Strictly Ballroom or the comedy-drama Heroes have the longer run-time?
Choices:
Curse of the Golden Flower
Heroes
The Towering Inferno
A Prairie Home Companion
Training Day
Talk to Her
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: Strictly Ballroom
function: Find
inputs: comedy-drama
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Heroes
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Strictly Ballroom" .  } UNION { ?e <pred:name> "Heroes" . ?e <genre> ?e_1 . ?e_1 <pred:name> "comedy-drama" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Heroes