Question: When did a county of North Carolina, named after James Madison (the one that is the member of political party Democratic-Republican Party), reach the population of 21,022 people ?
Choices:
1684
2011-08-09
2013-07-01
2255
2002-08-01
1614
2018-06-06
2016-02-13
2007-03-01
2010-11-01
Answer: 2013-07-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "James Madison" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Democratic-Republican Party" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "21022"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Democratic-Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: James Madison
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of North Carolina
function: QueryAttrQualifier
dependencies: 5
inputs: population
21022
point in time