Question: Is the run-time longer for Ramones, in the Museum of Modern Art collection, or Bon Jovi, published on 1984-01-21?
Choices:
Roots
Ramones
Bon Jovi
Hollywood
American Beauty
Kraftwerk
Toni Braxton
The B-52's
Dynasty
Flight of the Conchords
Answer: Bon Jovi
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ramones" . ?e <collection> ?e_1 . ?e_1 <pred:name> "Museum of Modern Art" . } UNION { ?e <pred:name> "Bon Jovi" . ?e <publication_date> ?pv_1 . ?pv_1 <pred:date> "1984-01-21"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
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: Bon Jovi
function: FilterDate
dependencies: 4
inputs: publication date
1984-01-21
=
function: SelectBetween
dependencies: 3
5
inputs: duration
greater