Question: How many television stations are either owned by CBS Corporation or began before 1974?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1974 ) .  } UNION { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "CBS Corporation" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1974
<
function: FilterConcept
dependencies: 1
inputs: television station
function: Find
inputs: CBS Corporation
function: Relate
dependencies: 3
inputs: owned by
backward
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6