Question: Between Tinker Tailor Soldier Spy (the one whose exploitation visa number is 128950), and The Godfather Part III which cost less?
Choices:
Rebecca
Curse of the Golden Flower
Training Day
The Fifth Element
The Towering Inferno
A Prairie Home Companion
The Godfather Part III
Pleasantville
The Hunchback of Notre Dame
Tinker Tailor Soldier Spy
Program:
function: Find
inputs: Tinker Tailor Soldier Spy
function: FilterStr
dependencies: 0
inputs: exploitation visa number
128950
function: Find
inputs: The Godfather Part III
function: SelectBetween
dependencies: 1
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tinker Tailor Soldier Spy" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "128950" . } UNION { ?e <pred:name> "The Godfather Part III" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tinker Tailor Soldier Spy