Question: Which has more cost, Crazy, Stupid, Love. or Jack Reacher whose box office is 218340595 USD?
Choices:
Pleasantville
Rebecca
The Towering Inferno
The Fifth Element
Training Day
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Jack Reacher
Crazy, Stupid, Love.
Program:
function: Find
inputs: Crazy, Stupid, Love.
function: Find
inputs: Jack Reacher
function: FilterNum
dependencies: 1
inputs: box office
218340595 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crazy, Stupid, Love." . } UNION { ?e <pred:name> "Jack Reacher" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "218340595"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jack Reacher