Question: Was it more expensive to make The Patriot, with Donal Logue as a cast member, or Jack Reacher, released in Italy?
Choices:
Pleasantville
The Patriot
Rebecca
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Curse of the Golden Flower
Jack Reacher
A Prairie Home Companion
Training Day
Answer: The Patriot
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Patriot" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Donal Logue" .   } UNION { ?e <pred:name> "Jack Reacher" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "Italy" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Donal Logue
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Patriot
function: And
dependencies: 1
2
function: Find
inputs: Italy
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Jack Reacher
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater