Question: Which one, The Truman Show or The Three Musketeers (the one that is shot in Czech Republic), has less cost?
Choices:
The Late Shift
Luther
The Truman Show
The Three Musketeers
Shackleton
A Streetcar Named Desire
The Challenge
The Goodbye Girl
The Music Man
All Quiet on the Western Front
Program:
function: Find
inputs: The Truman Show
function: Find
inputs: Czech Republic
function: Relate
dependencies: 1
inputs: filming location
backward
function: Find
inputs: The Three Musketeers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Truman Show" .  } UNION { ?e <pred:name> "The Three Musketeers" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Czech Republic" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Three Musketeers