Question: How many people subscribe to the user BeloHorizonte on Twitter, an account which represents the city with a demonym of Belo-horizontino?
Choices:
252294
3632
191768
10227
9506860
2370349
663086
312
247167
205380
Answer: 10227
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Belo-horizontino" . ?e <Twitter_username> ?pv . ?pv <pred:value> "BeloHorizonte" . [ <pred:fact_h> ?e ; <pred:fact_r> <Twitter_username> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Belo-horizontino
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrQualifier
dependencies: 2
inputs: Twitter username
BeloHorizonte
number of subscribers