Question: When was 12963788 the number of people living in a sovereign state whose demonym   is  Afghaan (the involved part of this statement is male) ?
Choices: 1833-09-19
1973-12-01
1557-01-01
2011-01-16
1671
1981
2001-02-15
1830
1964-04-13
2010-06-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Afghaan" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> "male" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "12963788"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Afghaan
function: QFilterStr
dependencies: 1
inputs: applies to part
male
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: population
12963788
point in time
Answer: 1981