Question: Which cost less to make, Hello, Dolly! (the one whose cost is 25000000 United States dollar) or The Lord of the Rings: The Fellowship of the Ring (the one that was nominated for National Society of Film Critics Award for Best Film)?
Choices:
Curse of the Golden Flower
Hello, Dolly!
The Fifth Element
Talk to Her
Pleasantville
The Hunchback of Notre Dame
Rebecca
The Lord of the Rings: The Fellowship of the Ring
A Prairie Home Companion
Training Day
Program:
function: Find
inputs: Hello, Dolly!
function: FilterNum
dependencies: 0
inputs: cost
25000000 United States dollar
=
function: Find
inputs: National Society of Film Critics Award for Best Film
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: The Lord of the Rings: The Fellowship of the Ring
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hello, Dolly!" . ?e <cost> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "25000000"^^xsd:double . } UNION { ?e <pred:name> "The Lord of the Rings: The Fellowship of the Ring" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "National Society of Film Critics Award for Best Film" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hello, Dolly!