Question: How many subscribers are there for the subreddit Hunan belonging to the China province having the ISO 3166-2 code CN-43 whose ending date is 2017-11-23?
Choices:
1066036
1135880
50288
15325
398248
24723
149
8
921414
580515
Answer: 8
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "CN-43" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv_1 ] <end_time> ?qpv_1 . ?qpv_1 <pred:date> "2017-11-23"^^xsd:date . ?e <subreddit> ?pv . ?pv <pred:value> "Hunan" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <number_of_subscribers> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CN-43
function: QFilterDate
dependencies: 1
inputs: end time
2017-11-23
=
function: FilterConcept
dependencies: 2
inputs: province of China
function: QueryAttrQualifier
dependencies: 3
inputs: subreddit
Hunan
number of subscribers