Question: For the U.S. state whose population is equal to 1889000, how many New Jersey counties are its administrative division?
Choices: 13
14
15
16
17
18
19
20
21
22
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1889000"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1889000
=
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 3
inputs: county of New Jersey
function: Count
dependencies: 4
Answer: 20