Question: Which is longer, Million Dollar Baby, with Gary Lucchesi as an executive producer, or Halloween, which earned $80553908 US dollars?
Choices:
Training Day
Curse of the Golden Flower
Halloween
Pleasantville
A Prairie Home Companion
The Fifth Element
Talk to Her
The Towering Inferno
Million Dollar Baby
Rebecca
Answer: Million Dollar Baby
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Million Dollar Baby" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Gary Lucchesi" . } UNION { ?e <pred:name> "Halloween" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "80253908"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gary Lucchesi
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: Million Dollar Baby
function: And
dependencies: 1
2
function: Find
inputs: Halloween
function: FilterNum
dependencies: 4
inputs: box office
80253908 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater