Question: Which movie cost more to make, Star Wars Episode V: The Empire Strikes Back (the one that was nominated for Academy Award for Best Original Score) or The Three Musketeers (the one whose number of episodes is 10)?w
Choices: A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
The Three Musketeers
Star Wars Episode V: The Empire Strikes Back
Rebecca
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars Episode V: The Empire Strikes Back" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Score" . } UNION { ?e <pred:name> "The Three Musketeers" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "10"^^xsd:double . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Star Wars Episode V: The Empire Strikes Back
function: And
dependencies: 1
2
function: Find
inputs: The Three Musketeers
function: FilterNum
dependencies: 4
inputs: number of episodes
10
=
function: SelectBetween
dependencies: 3
5
inputs: cost
greater
Answer: Star Wars Episode V: The Empire Strikes Back