Question: Which movie is longer, Basic Instinct 2 or Wall Street (the one whose publication date is 1929-01-01)?
Choices: The Towering Inferno
Wall Street
The Fifth Element
Pleasantville
Curse of the Golden Flower
Basic Instinct 2
Talk to Her
Training Day
The Hunchback of Notre Dame
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Basic Instinct 2" . } UNION { ?e <pred:name> "Wall Street" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1929-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Basic Instinct 2
function: Find
inputs: Wall Street
function: FilterDate
dependencies: 1
inputs: publication date
1929-01-01
=
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Basic Instinct 2