Question: Which show has fewer episodes, The Twilight Zone (the one whose number of seasons is 1) or The Hitchhiker's Guide to the Galaxy (the one whose official website is http://www.bbc.co.uk/cult/hitchhikers/)?
Choices:
American Horror Story
The Hitchhiker's Guide to the Galaxy
Six Feet Under
Phineas and Ferb
Bleak House
Saturday Night's Main Event
Robot Chicken
The Twilight Zone
Seinfeld
Dancing with the Stars
Program:
function: Find
inputs: The Twilight Zone
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: The Hitchhiker's Guide to the Galaxy
function: FilterStr
dependencies: 2
inputs: official website
http://www.bbc.co.uk/cult/hitchhikers/
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Twilight Zone" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "The Hitchhiker's Guide to the Galaxy" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.bbc.co.uk/cult/hitchhikers/" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Hitchhiker's Guide to the Galaxy