Question: Which is shorter: American Beauty, at 2541 seconds, or The Velvet Underground, released in 1969?
Choices:
Bon Jovi
Luis Miguel
Toni Braxton
Kraftwerk
The B-52's
American Beauty
Dynasty
Roots
Hollywood
Flight of the Conchords
Answer: American Beauty
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Beauty" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> "2541"^^xsd:double . } UNION { ?e <pred:name> "The Velvet Underground" . ?e <publication_date> ?pv_2 . ?pv_2 <pred:year> 1969 . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: American Beauty
function: FilterNum
dependencies: 0
inputs: duration
2541 second
=
function: Find
inputs: The Velvet Underground
function: FilterYear
dependencies: 2
inputs: publication date
1969
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less