Question: The sovereign state with a population of 85450000 in 1906 is the home country of how many nonprofits?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "nonprofit organization" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "85450000"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1906 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
85450000
=
function: QFilterYear
dependencies: 1
inputs: point in time
1906
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: nonprofit organization
function: Count
dependencies: 5