Question: Which movie cost less to make, Scoop (the one that origins from United States of America) or Algiers (the one whose cost is 691833 United States dollar)?
Choices:
Talk to Her
The Towering Inferno
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
Scoop
Algiers
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Scoop
function: And
dependencies: 1
2
function: Find
inputs: Algiers
function: FilterNum
dependencies: 4
inputs: cost
691833 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scoop" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" . } UNION { ?e <pred:name> "Algiers" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "691833"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Algiers