Question: The Twitter handle FreeformTV or Snapchat handle freeform belong to how many TV stations?
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 station" .  { ?e <Twitter_username> ?pv . ?pv <pred:value> "FreeformTV" .  } UNION { ?e <Snapchat_username> ?pv . ?pv <pred:value> "freeform" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
FreeformTV
function: FilterConcept
dependencies: 1
inputs: television station
function: FindAll
function: FilterStr
dependencies: 3
inputs: Snapchat username
freeform
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6