Question: Which movie made more at the box office, The Motorcycle Diaries or Fantastic Four (the one that has Avi Arad as an executive producer)?
Choices:
The Motorcycle Diaries
Fantastic Four
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Pleasantville
The Fifth Element
The Towering Inferno
Talk to Her
Curse of the Golden Flower
Answer: Fantastic Four
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Motorcycle Diaries" .  } UNION { ?e <pred:name> "Fantastic Four" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Avi Arad" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Motorcycle Diaries
function: Find
inputs: Avi Arad
function: Relate
dependencies: 1
inputs: executive producer
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater