Question: What is longer, An Inconvenient Truth or Some Like it Hot, distributed by Paramount Pictures?
Choices:
Curse of the Golden Flower
The Fifth Element
The Towering Inferno
Pleasantville
Rebecca
Some Like It Hot
A Prairie Home Companion
The Hunchback of Notre Dame
An Inconvenient Truth
Talk to Her
Program:
function: Find
inputs: An Inconvenient Truth
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Some Like It Hot
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "An Inconvenient Truth" .  } UNION { ?e <pred:name> "Some Like It Hot" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: An Inconvenient Truth