Question: Which cost more to make, Mr. & Mrs. Smith which was shot in Los Angeles, or The Expendables 2?
Choices:
Talk to Her
Rebecca
Training Day
Pleasantville
A Prairie Home Companion
The Expendables 2
Mr. & Mrs. Smith
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Answer: Mr. & Mrs. Smith
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mr. & Mrs. Smith" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "The Expendables 2" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Mr. & Mrs. Smith
function: And
dependencies: 1
2
function: Find
inputs: The Expendables 2
function: SelectBetween
dependencies: 3
4
inputs: cost
greater