Question: Which movie cost more to make, The Truman Show or A Star Is Born (the one whose box office is 403588149 United States dollar)?
Choices:
The Hunchback of Notre Dame
The Fifth Element
The Truman Show
Talk to Her
Training Day
Rebecca
Curse of the Golden Flower
A Star Is Born
Pleasantville
The Towering Inferno
Program:
function: Find
inputs: The Truman Show
function: Find
inputs: A Star Is Born
function: FilterNum
dependencies: 1
inputs: box office
403588149 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Truman Show" . } UNION { ?e <pred:name> "A Star Is Born" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "403588149"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Truman Show