Question: Does The Count of Monte Cristo, a United Artists production, or Anaconda have the longer run-time?
Choices:
A Prairie Home Companion
Talk to Her
The Towering Inferno
Curse of the Golden Flower
Anaconda
Training Day
Pleasantville
The Count of Monte Cristo
Rebecca
The Fifth Element
Program:
function: Find
inputs: United Artists
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Count of Monte Cristo
function: And
dependencies: 1
2
function: Find
inputs: Anaconda
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Count of Monte Cristo" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "United Artists" .   } UNION { ?e <pred:name> "Anaconda" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Count of Monte Cristo