Question: Do the Ramones (the one that uses the language English) or The Velvet Underground (the one whose duration is 2576 second) have less duration?
Choices:
Ramones
Hollywood
Luis Miguel
Toni Braxton
Flight of the Conchords
Dynasty
Bon Jovi
The B-52's
Roots
The Velvet Underground
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Ramones
function: And
dependencies: 1
2
function: Find
inputs: The Velvet Underground
function: FilterNum
dependencies: 4
inputs: duration
2576 second
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ramones" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "The Velvet Underground" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> "2576"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ramones