Question: Were there more seasons in Egypt (which had one season) or CBS Schoolbreak Special?
Choices:
Egypt
CBS Schoolbreak Special
Game of Thrones
Seinfeld
Robot Chicken
Phineas and Ferb
Saturday Night's Main Event
Six Feet Under
Bleak House
American Horror Story
Program:
function: Find
inputs: Egypt
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: CBS Schoolbreak Special
function: SelectBetween
dependencies: 1
2
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Egypt" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "CBS Schoolbreak Special" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: CBS Schoolbreak Special