Question: Which movie cost more to make, The Three Musketeers (the one whose start time is 2013) or Bad Education?
Choices:
All Quiet on the Western Front
The Late Shift
A Streetcar Named Desire
The Three Musketeers
The Challenge
Bad Education
Shackleton
Luther
A Christmas Carol
The Goodbye Girl
Program:
function: Find
inputs: The Three Musketeers
function: FilterYear
dependencies: 0
inputs: start time
2013
=
function: Find
inputs: Bad Education
function: SelectBetween
dependencies: 1
2
inputs: cost
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Three Musketeers" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 2013 . } UNION { ?e <pred:name> "Bad Education" . } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Three Musketeers