Question: Which has fewer episodes, Edge of Darkness (the one whose duration is 55 minute) or CBS Schoolbreak Special?
Choices:
The Stand
George Washington
Edge of Darkness
The Civil War
The Pacific
Battlestar Galactica
Emma
The Ten Commandments
CBS Schoolbreak Special
The Diary of Anne Frank
Program:
function: Find
inputs: Edge of Darkness
function: FilterNum
dependencies: 0
inputs: duration
55 minute
=
function: Find
inputs: CBS Schoolbreak Special
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Edge of Darkness" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "55"^^xsd:double . } UNION { ?e <pred:name> "CBS Schoolbreak Special" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Edge of Darkness