Question: Which one, Smallville or The Fall (the one whose number of seasons is 3), has less duration?
Choices:
Dancing with the Stars
Saturday Night's Main Event
Seinfeld
Robot Chicken
Smallville
American Horror Story
The Fall
Six Feet Under
Phineas and Ferb
Game of Thrones
Answer: Smallville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Smallville" . } UNION { ?e <pred:name> "The Fall" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Smallville
function: Find
inputs: The Fall
function: FilterNum
dependencies: 1
inputs: number of seasons
3
=
function: SelectBetween
dependencies: 0
2
inputs: duration
less