Question: Which was cheaper to make: Jane Eyre, produced by Miramax, or The Polar Express, whose story setting is Michigan?
Choices:
The Fifth Element
The Towering Inferno
Curse of the Golden Flower
The Hunchback of Notre Dame
Jane Eyre
The Polar Express
Training Day
Talk to Her
Rebecca
Pleasantville
Answer: Jane Eyre
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Eyre" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Miramax" .   } UNION { ?e <pred:name> "The Polar Express" . ?e <narrative_location> ?e_2 . ?e_2 <pred:name> "Michigan" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Miramax
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Jane Eyre
function: And
dependencies: 1
2
function: Find
inputs: Michigan
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: The Polar Express
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
less