Question: Which movie made less at the box office, Flight (the one whose release region is Croatia) or Planet of the Apes (the one that has Mark Wahlberg as a cast member)?
Choices:
Pleasantville
Planet of the Apes
The Hunchback of Notre Dame
Curse of the Golden Flower
Flight
Training Day
Talk to Her
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Answer: Flight
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Flight" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Croatia" .   } UNION { ?e <pred:name> "Planet of the Apes" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Mark Wahlberg" .  } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Croatia
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Flight
function: And
dependencies: 1
2
function: Find
inputs: Mark Wahlberg
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Planet of the Apes
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: box office
less