Question: Is Earth (released 1998-01-01) or Night at the Museum: Battle of the Smithsonian (starring Dick Van Dyke) longer in duration?
Choices: A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
Rebecca
Earth
The Towering Inferno
Night at the Museum: Battle of the Smithsonian
Training Day
The Hunchback of Notre Dame
Pleasantville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Earth" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1998-01-01"^^xsd:date . } UNION { ?e <pred:name> "Night at the Museum: Battle of the Smithsonian" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Dick Van Dyke" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Earth
function: FilterDate
dependencies: 0
inputs: publication date
1998-01-01
=
function: Find
inputs: Dick Van Dyke
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Night at the Museum: Battle of the Smithsonian
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
greater
Answer: Earth