Question: How many states are an administrative division of the administrative territorial entity whose nominal GDP is 16416670356766.4 United States dollars on the date 2015-01-01?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <contains_administrative_territorial_entity> ?e . ?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> "16416670356766.4"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2015-01-01"^^xsd:date .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
16416670356766.4 United States dollar
=
function: QFilterDate
dependencies: 1
inputs: point in time
2015-01-01
=
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: state
function: Count
dependencies: 5