Question: Of Rugrats (run-time 25 minutes) or Missing (run-time 45 minutes), which has the lower season count?
Choices:
Missing
Seinfeld
Dancing with the Stars
Bleak House
Robot Chicken
Rugrats
Game of Thrones
American Horror Story
Six Feet Under
Saturday Night's Main Event
Answer: Missing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rugrats" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "25"^^xsd:double . } UNION { ?e <pred:name> "Missing" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "45"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rugrats
function: FilterNum
dependencies: 0
inputs: duration
25 minute
=
function: Find
inputs: Missing
function: FilterNum
dependencies: 2
inputs: duration
45 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of seasons
less