Question: Are there more episodes in Damages or the 45 minute In the Heat of the Night?
Choices:
In the Heat of the Night
Six Feet Under
American Horror Story
Saturday Night's Main Event
Seinfeld
Game of Thrones
Robot Chicken
Dancing with the Stars
Phineas and Ferb
Damages
Answer: In the Heat of the Night
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Damages" . } UNION { ?e <pred:name> "In the Heat of the Night" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "45"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Damages
function: Find
inputs: In the Heat of the Night
function: FilterNum
dependencies: 1
inputs: duration
45 minute
=
function: SelectBetween
dependencies: 0
2
inputs: number of episodes
greater