Question: Which movie cost less to make, The World Is Not Enough (the one that was nominated for Golden Raspberry Award for Worst Supporting Actress) or Star Trek (the one whose duration is 127 minute)?
Choices: Star Trek
The Fifth Element
Pleasantville
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
The World Is Not Enough
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The World Is Not Enough" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Supporting Actress" . } UNION { ?e <pred:name> "Star Trek" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "127"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Golden Raspberry Award for Worst Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The World Is Not Enough
function: And
dependencies: 1
2
function: Find
inputs: Star Trek
function: FilterNum
dependencies: 4
inputs: duration
127 minute
=
function: SelectBetween
dependencies: 3
5
inputs: cost
less
Answer: The World Is Not Enough