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