Question: Does the City of Angels (the one whose publication date is 1998) or Casino Royale (the one whose duration is 48 minute) have less duration?
Choices:
All Quiet on the Western Front
The Goodbye Girl
A Streetcar Named Desire
The Late Shift
A Christmas Carol
The Three Musketeers
Shackleton
The Music Man
Casino Royale
City of Angels
Program:
function: Find
inputs: City of Angels
function: FilterYear
dependencies: 0
inputs: publication date
1998
=
function: Find
inputs: Casino Royale
function: FilterNum
dependencies: 2
inputs: duration
48 minute
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "City of Angels" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:year> 1998 . } UNION { ?e <pred:name> "Casino Royale" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "48"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Casino Royale