Question: Does Oscar, composed by Elmer Bernstein, or Role Models have the longer run-time?
Choices:
Curse of the Golden Flower
Rebecca
Role Models
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Oscar
Training Day
Pleasantville
Talk to Her
Program:
function: Find
inputs: Elmer Bernstein
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Oscar
function: And
dependencies: 1
2
function: Find
inputs: Role Models
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Elmer Bernstein" .   } UNION { ?e <pred:name> "Role Models" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oscar