Question: Which cost more, The Wizard of Oz (received the Academy Award for Best Original Score) or Ben-Hur (official website is http://benhurmovie.com/)?
Choices: A Prairie Home Companion
Training Day
Curse of the Golden Flower
The Fifth Element
Ben-Hur
Pleasantville
The Wizard of Oz
The Hunchback of Notre Dame
Talk to Her
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wizard of Oz" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Original Score" . } UNION { ?e <pred:name> "Ben-Hur" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://benhurmovie.com/" . } ?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: award received
backward
function: Find
inputs: The Wizard of Oz
function: And
dependencies: 1
2
function: Find
inputs: Ben-Hur
function: FilterStr
dependencies: 4
inputs: official website
http://benhurmovie.com/
function: SelectBetween
dependencies: 3
5
inputs: cost
greater
Answer: Ben-Hur