Question: Which has a smaller season count: The Office, nominated for a Primetime Emmy for Outstanding Supporting Actress in a Comedy Series, or Lost in Space (native label Lost in Space)?
Choices:
Robot Chicken
American Horror Story
Phineas and Ferb
The Office
Seinfeld
Six Feet Under
Game of Thrones
Saturday Night's Main Event
Bleak House
Lost in Space
Answer: Lost in Space
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Office" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series" . } UNION { ?e <pred:name> "Lost in Space" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Lost in Space" . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Supporting Actress in a Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Office
function: And
dependencies: 1
2
function: Find
inputs: Lost in Space
function: FilterStr
dependencies: 4
inputs: native label
Lost in Space
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
less