Question: Which movie cost less to make, Bridget Jones's Diary or Jackie Brown (the one that origins from United States of America)?
Choices:
The Towering Inferno
Rebecca
Jackie Brown
Training Day
Pleasantville
The Fifth Element
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Bridget Jones's Diary
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of origin
backward
function: Find
inputs: Jackie Brown
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bridget Jones's Diary" .  } UNION { ?e <pred:name> "Jackie Brown" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jackie Brown