Question: How many television stations have the Instagram username cbsnews or a subsidiary called TriStar Pictures?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "cbsnews" .  } UNION { ?e <subsidiary> ?e_1 . ?e_1 <pred:name> "TriStar Pictures" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
cbsnews
function: FilterConcept
dependencies: 1
inputs: television station
function: Find
inputs: TriStar Pictures
function: Relate
dependencies: 3
inputs: subsidiary
backward
function: FilterConcept
dependencies: 4
inputs: television station
function: Or
dependencies: 2
5
function: Count
dependencies: 6