Question: How many unitary states are a part of the administrative territorial entity whose nominal GDP was less than 7700000000000 United States dollars on 1982-01-01?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e <part_of> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v < "7700000000000"^^xsd:double ) . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "1982-01-01"^^xsd:date .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
7700000000000 United States dollar
<
function: QFilterDate
dependencies: 1
inputs: point in time
1982-01-01
=
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: unitary state
function: Count
dependencies: 5
Answer: 2