Question: Does American Masters or Spider-Man with 3 seasons have less seasons?
Choices:
American Horror Story
American Masters
Six Feet Under
Bleak House
Spider-Man
Seinfeld
Dancing with the Stars
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Answer: Spider-Man
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Masters" . } UNION { ?e <pred:name> "Spider-Man" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: American Masters
function: Find
inputs: Spider-Man
function: FilterNum
dependencies: 1
inputs: number of seasons
3
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
less