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