Question: How many TV series have under 20 seasons or have art direction by Brian Cox (born as Brian Denis Cox) ?
Choices:
320
321
322
323
324
325
326
327
328
329
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
20
<
function: FilterConcept
dependencies: 1
inputs: television series
function: Find
inputs: Brian Cox
function: FilterStr
dependencies: 3
inputs: birth name
Brian Denis Cox
function: Relate
dependencies: 4
inputs: art director
backward
function: FilterConcept
dependencies: 5
inputs: television series
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" .  { ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "20"^^xsd:double ) .  } UNION { ?e <art_director> ?e_1 . ?e_1 <pred:name> "Brian Cox" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Brian Denis Cox" .  } }
Answer: 326