Question: Does Coronation Street or Into the West (with 6 episodes) have more episodes?
Choices:
Dancing with the Stars
Saturday Night's Main Event
Bleak House
Seinfeld
Robot Chicken
Into the West
Game of Thrones
Coronation Street
Phineas and Ferb
Six Feet Under
Program:
function: Find
inputs: Into the West
function: FilterNum
dependencies: 0
inputs: number of episodes
6
=
function: Find
inputs: Coronation Street
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Into the West" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "6"^^xsd:double . } UNION { ?e <pred:name> "Coronation Street" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Coronation Street