Question: Which had a greater budget, The Lion King (the one whose release region is Russia) or It (the one whose official website is http://itthemovie.com)?
Choices:
Code Geass
Wonder Woman
A Christmas Carol
The Lion King
The Polar Express
Anastasia
Ponyo on the Cliff by the Sea
Magic Knight Rayearth
It
My-HiME
Answer: The Lion King
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lion King" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Russia" . } UNION { ?e <pred:name> "It" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://itthemovie.com" . } ?e <budget> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Russia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lion King
function: And
dependencies: 1
2
function: Find
inputs: It
function: FilterStr
dependencies: 4
inputs: official website
http://itthemovie.com
function: SelectBetween
dependencies: 3
5
inputs: budget
greater