Question: What is the number of episodes of the television series that has a publication date after 2005 or Mark Mothersbaugh as an executive producer?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } UNION { ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Mark Mothersbaugh" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2005
>
function: FilterConcept
dependencies: 1
inputs: television series episode
function: Find
inputs: Mark Mothersbaugh
function: Relate
dependencies: 3
inputs: executive producer
backward
function: FilterConcept
dependencies: 4
inputs: television series episode
function: Or
dependencies: 2
5
function: Count
dependencies: 6