Question: Does the longer run-time belong to the 20th Century Fox production of Alice in Wonderland or to The Truman Show?
Choices:
Training Day
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Pleasantville
A Prairie Home Companion
Rebecca
The Fifth Element
The Truman Show
Alice in Wonderland
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Alice in Wonderland
function: And
dependencies: 1
2
function: Find
inputs: The Truman Show
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "The Truman Show" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Truman Show