Question: How many news pieces are the one that first appeared before 1952 or  whose number of episodes surpasses 70 ?
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> "news" .  { ?e <date_of_first_performance> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1952 ) .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "70"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of first performance
1952
<
function: FilterConcept
dependencies: 1
inputs: news
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
70
>
function: FilterConcept
dependencies: 4
inputs: news
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3