Question: How many television networks have the Giphy username of pbs or a Twitter username of PBS?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television network" .  { ?e <Giphy_username> ?pv . ?pv <pred:value> "pbs" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "PBS" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Giphy username
pbs
function: FilterConcept
dependencies: 1
inputs: television network
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
PBS
function: FilterConcept
dependencies: 4
inputs: television network
function: Or
dependencies: 2
5
function: Count
dependencies: 6