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