Question: Which was cheaper to make, The Shining (exploitation visa number 53091) or The Terminator?
Choices:
Talk to Her
The Terminator
Curse of the Golden Flower
The Hunchback of Notre Dame
Training Day
Rebecca
A Prairie Home Companion
The Towering Inferno
The Fifth Element
The Shining
Program:
function: Find
inputs: The Shining
function: FilterStr
dependencies: 0
inputs: exploitation visa number
53091
function: Find
inputs: The Terminator
function: SelectBetween
dependencies: 1
2
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Shining" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "53091" . } UNION { ?e <pred:name> "The Terminator" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Terminator