Question: How many television channels are owned by BBC or whose Instagram username is nickelodeon?
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 channel" .  { ?e <owned_by> ?e_1 . ?e_1 <pred:name> "BBC" .  } UNION { ?e <Instagram_username> ?pv . ?pv <pred:value> "nickelodeon" .  } }
Program:
function: Find
inputs: BBC
function: Relate
dependencies: 0
inputs: owned by
backward
function: FilterConcept
dependencies: 1
inputs: television channel
function: FindAll
function: FilterStr
dependencies: 3
inputs: Instagram username
nickelodeon
function: FilterConcept
dependencies: 4
inputs: television channel
function: Or
dependencies: 2
5
function: Count
dependencies: 6