Question: Which is longer, David Copperfield published on 1913-01-01 or Footloose whose box office is 62701289 USD?
Choices: Pleasantville
The Fifth Element
The Hunchback of Notre Dame
Rebecca
Training Day
David Copperfield
Curse of the Golden Flower
Footloose
A Prairie Home Companion
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Copperfield" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1913-01-01"^^xsd:date . } UNION { ?e <pred:name> "Footloose" . ?e <box_office> ?pv_2 . ?pv_2 <pred:unit> "United States dollar" . ?pv_2 <pred:value> "62701289"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: David Copperfield
function: FilterDate
dependencies: 0
inputs: publication date
1913-01-01
=
function: Find
inputs: Footloose
function: FilterNum
dependencies: 2
inputs: box office
62701289 United States dollar
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater
Answer: Footloose