Question: Which movie cost less to make, Iron Man 2 (the one whose release region is Lithuania) or Rosemary's Baby (the one whose genre is erotic thriller)?
Choices:
Training Day
Talk to Her
Rosemary's Baby
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Pleasantville
Iron Man 2
Program:
function: Find
inputs: Lithuania
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Iron Man 2
function: And
dependencies: 1
2
function: Find
inputs: erotic thriller
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Rosemary's Baby
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man 2" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Lithuania" .   } UNION { ?e <pred:name> "Rosemary's Baby" . ?e <genre> ?e_2 . ?e_2 <pred:name> "erotic thriller" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rosemary's Baby