Question: What is the number of television networks that have a beginning date before 1998 or originally broadcast Underbelly?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1998 ) .  } UNION { ?e_1 <original_network> ?e . ?e_1 <pred:name> "Underbelly" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1998
<
function: FilterConcept
dependencies: 1
inputs: television network
function: Find
inputs: Underbelly
function: Relate
dependencies: 3
inputs: original network
forward
function: FilterConcept
dependencies: 4
inputs: television network
function: Or
dependencies: 2
5
function: Count
dependencies: 6