Question: Are there less episodes in The Contender with 50 episodes or in Deadwood?
Choices:
Game of Thrones
Deadwood
American Horror Story
Six Feet Under
Robot Chicken
Seinfeld
Bleak House
Saturday Night's Main Event
Phineas and Ferb
The Contender
Program:
function: Find
inputs: The Contender
function: FilterNum
dependencies: 0
inputs: number of episodes
50
=
function: Find
inputs: Deadwood
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Contender" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "50"^^xsd:double . } UNION { ?e <pred:name> "Deadwood" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Deadwood