Question: Which was cheaper to make: Miracle on 34th Street, released in the USA, or the musical film Nine ?
Choices:
Pleasantville
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
Training Day
Rebecca
Talk to Her
A Prairie Home Companion
The Towering Inferno
Miracle on 34th Street
Answer: Miracle on 34th Street
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Nine" . ?e <genre> ?e_2 . ?e_2 <pred:name> "musical film" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: musical film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Nine
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less