Question: How many rock bands go by weezer on Instagram or are Russian language users?
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> "rock band" .  { ?e <Instagram_username> ?pv . ?pv <pred:value> "weezer" .  } UNION { ?e <language_used> ?e_1 . ?e_1 <pred:name> "Russian" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Instagram username
weezer
function: FilterConcept
dependencies: 1
inputs: rock band
function: Find
inputs: Russian
function: Relate
dependencies: 3
inputs: language used
backward
function: FilterConcept
dependencies: 4
inputs: rock band
function: Or
dependencies: 2
5
function: Count
dependencies: 6