Question: How many cable channels were either established after 1988 or on 1981-08-01?
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> "cable channel" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1988 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:date> "1981-08-01"^^xsd:date .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1988
>
function: FilterConcept
dependencies: 1
inputs: cable channel
function: FindAll
function: FilterDate
dependencies: 3
inputs: inception
1981-08-01
=
function: FilterConcept
dependencies: 4
inputs: cable channel
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3