Question: Was it cheaper to make The Hunchback of Notre Dame at a cost of 1250000 USD, or Brokeback Mountain?
Choices:
The Hunchback of Notre Dame
The Last of the Mohicans
Paris
Brokeback Mountain
The Scarlet Letter
Earth
Hamlet
Little Women
A Prairie Home Companion
Rebecca
Program:
function: Find
inputs: The Hunchback of Notre Dame
function: FilterNum
dependencies: 0
inputs: cost
1250000 United States dollar
=
function: Find
inputs: Brokeback Mountain
function: SelectBetween
dependencies: 1
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hunchback of Notre Dame" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "1250000"^^xsd:double . } UNION { ?e <pred:name> "Brokeback Mountain" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Hunchback of Notre Dame