Question: Which movie is shorter, Alice in Wonderland (the one whose duration is 72 minute) or Blade II (the one whose genre is neo-noir)?
Choices:
All Quiet on the Western Front
A Christmas Carol
The Goodbye Girl
Alice in Wonderland
Shackleton
The Challenge
The Music Man
The Late Shift
A Streetcar Named Desire
Blade II
Program:
function: Find
inputs: Alice in Wonderland
function: FilterNum
dependencies: 0
inputs: duration
72 minute
=
function: Find
inputs: neo-noir
function: Relate
dependencies: 2
inputs: genre
backward
function: Find
inputs: Blade II
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice in Wonderland" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "72"^^xsd:double . } UNION { ?e <pred:name> "Blade II" . ?e <genre> ?e_1 . ?e_1 <pred:name> "neo-noir" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alice in Wonderland