Question: Which movie cost more to make, The Lion King (the one that has Nathan Lane as a voice actor) or The Cider House Rules?
Choices:
Wonder Woman
Code Geass
Magic Knight Rayearth
The Polar Express
The Cider House Rules
My-HiME
The Lion King
Anastasia
Ponyo on the Cliff by the Sea
Superman
Program:
function: Find
inputs: Nathan Lane
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: The Lion King
function: And
dependencies: 1
2
function: Find
inputs: The Cider House Rules
function: SelectBetween
dependencies: 3
4
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Lion King" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Nathan Lane" .   } UNION { ?e <pred:name> "The Cider House Rules" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Lion King