Question: Which movie made more at the box office, RoboCop (the one that was nominated for BAFTA Award for Best Makeup and Hair) or Limitless (the one that is designed by Patrizia von Brandenstein)?
Choices:
RoboCop
A Prairie Home Companion
Limitless
Training Day
Talk to Her
Pleasantville
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
Answer: Limitless
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "RoboCop" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Makeup and Hair" .   } UNION { ?e <pred:name> "Limitless" . ?e <production_designer> ?e_2 . ?e_2 <pred:name> "Patrizia von Brandenstein" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Makeup and Hair
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: RoboCop
function: And
dependencies: 1
2
function: Find
inputs: Patrizia von Brandenstein
function: Relate
dependencies: 4
inputs: production designer
backward
function: Find
inputs: Limitless
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
greater