Question: Which movie made less at the box office, The Polar Express (the one whose director is Robert Zemeckis) or Unstoppable (the one whose cost is 100000000 United States dollar)?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
The Fifth Element
Training Day
Talk to Her
Pleasantville
Rebecca
Unstoppable
Answer: Unstoppable
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Polar Express" . ?e <director> ?e_1 . ?e_1 <pred:name> "Robert Zemeckis" . } UNION { ?e <pred:name> "Unstoppable" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "100000000"^^xsd:double . } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Robert Zemeckis
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Polar Express
function: And
dependencies: 1
2
function: Find
inputs: Unstoppable
function: FilterNum
dependencies: 4
inputs: cost
100000000 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: box office
less