Question: Which one has less duration Ramones (the one that is part of the Museum of Modern Art collection) or The Velvet Underground (the one made in English)?
Choices:
Luis Miguel
Flight of the Conchords
Dynasty
Roots
Toni Braxton
The B-52's
The Velvet Underground
Bon Jovi
Ramones
Hollywood
Program:
function: Find
inputs: Museum of Modern Art
function: Relate
dependencies: 0
inputs: collection
backward
function: Find
inputs: Ramones
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: language of work or name
backward
function: Find
inputs: The Velvet Underground
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ramones" . ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" .   } UNION { ?e <pred:name> "The Velvet Underground" . ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ramones