Question: Which movie has a smaller box office, Close Encounters of the Third Kind or Unstoppable (the one that is shot in Ohio)?
Choices:
Unstoppable
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Close Encounters of the Third Kind
The Towering Inferno
Rebecca
Training Day
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: Close Encounters of the Third Kind
function: Find
inputs: Ohio
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: Unstoppable
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Close Encounters of the Third Kind" .  } UNION { ?e <pred:name> "Unstoppable" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Ohio" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Unstoppable