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