Question: Does the longer run-time belong to Sony Pictures' production of Ghost Rider or to Yentl?
Choices:
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Yentl
Training Day
Pleasantville
Talk to Her
Ghost Rider
Answer: Yentl
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghost Rider" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Sony Pictures" .   } UNION { ?e <pred:name> "Yentl" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sony Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Ghost Rider
function: And
dependencies: 1
2
function: Find
inputs: Yentl
function: SelectBetween
dependencies: 3
4
inputs: duration
greater