Question: How many television programs were created by Mary-Ellis Bunim or whose end time is not in 2007?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television program" .  { ?e <creator> ?e_1 . ?e_1 <pred:name> "Mary-Ellis Bunim" .  } UNION { ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  } }
Program:
function: Find
inputs: Mary-Ellis Bunim
function: Relate
dependencies: 0
inputs: creator
backward
function: FilterConcept
dependencies: 1
inputs: television program
function: FindAll
function: FilterYear
dependencies: 3
inputs: end time
2007
!=
function: FilterConcept
dependencies: 4
inputs: television program
function: Or
dependencies: 2
5
function: Count
dependencies: 6