Question: How many miniseries have 410 episodes or received a Peabody Award?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" .  { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "410"^^xsd:double .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Peabody Award" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
410
=
function: FilterConcept
dependencies: 1
inputs: miniseries
function: Find
inputs: Peabody Award
function: Relate
dependencies: 3
inputs: award received
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4