Question: Did the Miramax production of Gangs of New York or Star Wars Episode IV: A New Hope, released on 1978-02-09, do worse at the box office?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
The Fifth Element
Gangs of New York
Rebecca
A Prairie Home Companion
Star Wars Episode IV: A New Hope
The Towering Inferno
Pleasantville
Program:
function: Find
inputs: Miramax
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Gangs of New York
function: And
dependencies: 1
2
function: Find
inputs: Star Wars Episode IV: A New Hope
function: FilterDate
dependencies: 4
inputs: publication date
1978-02-09
=
function: SelectBetween
dependencies: 3
5
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gangs of New York" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Miramax" . } UNION { ?e <pred:name> "Star Wars Episode IV: A New Hope" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1978-02-09"^^xsd:date . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gangs of New York