Question: Does The Shield or The Missing (2 seasons) have fewer episodes?
Choices:
The Shield
Robot Chicken
Six Feet Under
Bleak House
American Horror Story
Phineas and Ferb
Saturday Night's Main Event
Game of Thrones
Dancing with the Stars
The Missing
Program:
function: Find
inputs: The Shield
function: Find
inputs: The Missing
function: FilterNum
dependencies: 1
inputs: number of seasons
2
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Shield" . } UNION { ?e <pred:name> "The Missing" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Missing