Question: Does the lower season count belong to The Good Wife or to the 56-episode Oz?
Choices:
Seinfeld
Game of Thrones
Saturday Night's Main Event
Six Feet Under
Phineas and Ferb
Robot Chicken
American Horror Story
Bleak House
Oz
The Good Wife
Answer: Oz
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Good Wife" . } UNION { ?e <pred:name> "Oz" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "56"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Good Wife
function: Find
inputs: Oz
function: FilterNum
dependencies: 1
inputs: number of episodes
56
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
less