Question: How many New Jersey counties are an administrative division of New Jersey?
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:name> "New Jersey" .   }
Program:
function: Find
inputs: New Jersey
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: county of New Jersey
function: Count
dependencies: 2
Answer: 20