Question: Which made more at the box office, Robin Hood (the one whose script is wrote by Brian Helgeland) or Pulp Fiction?
Choices: Curse of the Golden Flower
Training Day
Robin Hood
Pleasantville
A Prairie Home Companion
The Towering Inferno
Pulp Fiction
The Hunchback of Notre Dame
Rebecca
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robin Hood" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Brian Helgeland" .   } UNION { ?e <pred:name> "Pulp Fiction" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Brian Helgeland
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Robin Hood
function: And
dependencies: 1
2
function: Find
inputs: Pulp Fiction
function: SelectBetween
dependencies: 3
4
inputs: box office
greater
Answer: Robin Hood