Question: For the sovereign state whose PPP GDP per capita is equal to 3031 Geary–Khamis dollars (the point in time of this statement is 2014-01-01), how many natural languages are from its origin?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "natural language" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <PPP_GDP_per_capita> ?pv . ?pv <pred:unit> "Geary–Khamis dollar" . ?pv <pred:value> "3031"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <PPP_GDP_per_capita> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2014-01-01"^^xsd:date .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: PPP GDP per capita
3031 Geary–Khamis dollar
=
function: QFilterDate
dependencies: 1
inputs: point in time
2014-01-01
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: natural language
function: Count
dependencies: 5