Question: Which show has fewer seasons, Taxi (the one that is originally aired on American Broadcasting Company) or Land of the Lost (the one whose number of episodes is 43)?
Choices:
Dancing with the Stars
Taxi
Robot Chicken
Bleak House
Game of Thrones
Saturday Night's Main Event
Six Feet Under
American Horror Story
Land of the Lost
Phineas and Ferb
Answer: Land of the Lost
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taxi" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" . } UNION { ?e <pred:name> "Land of the Lost" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "43"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Taxi
function: And
dependencies: 1
2
function: Find
inputs: Land of the Lost
function: FilterNum
dependencies: 4
inputs: number of episodes
43
=
function: SelectBetween
dependencies: 3
5
inputs: number of seasons
less