Question: Which movie cost less, Miracle on 34th Street (the one whose director is George Seaton) or Fahrenheit 9/11?
Choices:
Miracle on 34th Street
The Fifth Element
Rebecca
Fahrenheit 9/11
Curse of the Golden Flower
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Talk to Her
Pleasantville
Program:
function: Find
inputs: George Seaton
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: Fahrenheit 9/11
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <director> ?e_1 . ?e_1 <pred:name> "George Seaton" .   } UNION { ?e <pred:name> "Fahrenheit 9/11" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Miracle on 34th Street