Question: Which is longer, The Go-Between composed by Michel Legrand or Gaslight?
Choices:
Training Day
The Hunchback of Notre Dame
Gaslight
Pleasantville
A Prairie Home Companion
Talk to Her
Curse of the Golden Flower
The Fifth Element
The Go-Between
The Towering Inferno
Program:
function: Find
inputs: Michel Legrand
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Go-Between
function: And
dependencies: 1
2
function: Find
inputs: Gaslight
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Go-Between" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Michel Legrand" .   } UNION { ?e <pred:name> "Gaslight" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Go-Between