Question: Which movie is shorter, The Fall (the one that has the record label Blue Note Records) or Brian Wilson (the one whose duration is 2240 second)?
Choices: The Fall
Toni Braxton
Flight of the Conchords
Dynasty
Luis Miguel
Hollywood
Brian Wilson
Kraftwerk
Bon Jovi
The B-52's
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fall" . ?e <record_label> ?e_1 . ?e_1 <pred:name> "Blue Note Records" . } UNION { ?e <pred:name> "Brian Wilson" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> "2240"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Blue Note Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: The Fall
function: And
dependencies: 1
2
function: Find
inputs: Brian Wilson
function: FilterNum
dependencies: 4
inputs: duration
2240 second
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Brian Wilson