Question: Which has less cost, You Don't Mess with the Zohan or The Spy Who Loved Me whose box office is 185400000 USD?
Choices:
The Hunchback of Notre Dame
Pleasantville
Rebecca
The Towering Inferno
A Prairie Home Companion
Training Day
Talk to Her
You Don't Mess with the Zohan
The Fifth Element
The Spy Who Loved Me
Program:
function: Find
inputs: You Don't Mess with the Zohan
function: Find
inputs: The Spy Who Loved Me
function: FilterNum
dependencies: 1
inputs: box office
185400000 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "You Don't Mess with the Zohan" . } UNION { ?e <pred:name> "The Spy Who Loved Me" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "185400000"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Spy Who Loved Me