Question: How many subscribers are there for the Twitter username Toulouse that belongs to the large city whose postal code is 31500?
Choices:
41267
4196
6294660
199525
1355840
102390404
693986
446683
8308396
4475237
Answer: 199525
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "31500" . ?e <Twitter_username> ?pv . ?pv <pred:value> "Toulouse" . [ <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: postal code
31500
function: FilterConcept
dependencies: 1
inputs: big city
function: QueryAttrQualifier
dependencies: 2
inputs: Twitter username
Toulouse
number of subscribers