Question: Which is longer, Ramones at 1744 seconds or Quadrophenia at 4896 seconds?
Choices:
The B-52's
Luis Miguel
Flight of the Conchords
Toni Braxton
Quadrophenia
Dynasty
Bon Jovi
Hollywood
Roots
Ramones
Answer: Quadrophenia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ramones" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> "1744"^^xsd:double . } UNION { ?e <pred:name> "Quadrophenia" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "second" . ?pv_2 <pred:value> "4896"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ramones
function: FilterNum
dependencies: 0
inputs: duration
1744 second
=
function: Find
inputs: Quadrophenia
function: FilterNum
dependencies: 2
inputs: duration
4896 second
=
function: SelectBetween
dependencies: 1
3
inputs: duration
greater