Question: How many animated series originally aired on Fox Broadcasting Company or ended before 2013?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" .  { ?e <original_network> ?e_1 . ?e_1 <pred:name> "Fox Broadcasting Company" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2013 ) .  } }
Program:
function: Find
inputs: Fox Broadcasting Company
function: Relate
dependencies: 0
inputs: original network
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
2013
<
function: FilterConcept
dependencies: 4
inputs: animated series
function: Or
dependencies: 2
5
function: Count
dependencies: 6