Question: Which one has higher post office reported value, The Full Monty or The Wrestler (the one that received Golden Lion) ?
Choices:
Pleasantville
The Hunchback of Notre Dame
The Full Monty
A Prairie Home Companion
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Rebecca
The Wrestler
Talk to Her
Program:
function: Find
inputs: The Full Monty
function: Find
inputs: Golden Lion
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: The Wrestler
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Full Monty" .  } UNION { ?e <pred:name> "The Wrestler" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Golden Lion" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Full Monty