Question: How many news shows have either more than 30 seasons or have a Snapchat name of gma?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of seasons
30
>
function: FilterConcept
dependencies: 1
inputs: news
function: FindAll
function: FilterStr
dependencies: 3
inputs: Snapchat username
gma
function: FilterConcept
dependencies: 4
inputs: news
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" .  { ?e <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "30"^^xsd:double ) .  } UNION { ?e <Snapchat_username> ?pv . ?pv <pred:value> "gma" .  } }
Answer: 2