Question: Which is shorter: the baroque pop Illinois, or The Beatles, clocking in at 5615 seconds?
Choices: Bedtime Stories
Metallica
Illinois
Neil Young
Friends
Led Zeppelin
The Beatles
Peter Gabriel
David Bowie
Shakira
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Illinois" . ?e <genre> ?e_1 . ?e_1 <pred:name> "baroque pop" . } UNION { ?e <pred:name> "The Beatles" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "second" . ?pv_1 <pred:value> "5615"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: baroque pop
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Illinois
function: And
dependencies: 1
2
function: Find
inputs: The Beatles
function: FilterNum
dependencies: 4
inputs: duration
5615 second
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
Answer: Illinois