Question: Which movie cost less to make, The Edge (the one whose title is Край) or Four Rooms?
Choices:
Talk to Her
The Edge
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
Pleasantville
Four Rooms
Rebecca
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: The Edge
function: FilterStr
dependencies: 0
inputs: title
Край
function: Find
inputs: Four Rooms
function: SelectBetween
dependencies: 1
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Edge" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Край" . } UNION { ?e <pred:name> "Four Rooms" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Four Rooms