Question: Which one is shorter, Luther (the one whose duration is 60 minute) or Superman (the one whose start time is 10th December 1988)?
Choices:
Phineas and Ferb
Superman
American Horror Story
Robot Chicken
Luther
Six Feet Under
Bleak House
Game of Thrones
Saturday Night's Main Event
Seinfeld
Answer: Superman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luther" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "60"^^xsd:double . } UNION { ?e <pred:name> "Superman" . ?e <start_time> ?pv_2 . ?pv_2 <pred:date> "1988-12-10"^^xsd:date . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Luther
function: FilterNum
dependencies: 0
inputs: duration
60 minute
=
function: Find
inputs: Superman
function: FilterDate
dependencies: 2
inputs: start time
1988-12-10
=
function: SelectBetween
dependencies: 1
3
inputs: duration
less