Question: Which one, Barcelona (the one whose duration is 2396 second) or Dynasty (the one whose inception time is 1979-01-01), has less duration?
Choices:
The B-52's
Kraftwerk
American Beauty
Barcelona
Hollywood
Roots
Luis Miguel
Flight of the Conchords
Toni Braxton
Dynasty
Program:
function: Find
inputs: Barcelona
function: FilterNum
dependencies: 0
inputs: duration
2396 second
=
function: Find
inputs: Dynasty
function: FilterDate
dependencies: 2
inputs: inception
1979-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barcelona" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> "2396"^^xsd:double . } UNION { ?e <pred:name> "Dynasty" . ?e <inception> ?pv_2 . ?pv_2 <pred:date> "1979-01-01"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dynasty