Question: How many counties in North Carolina?
Choices: 9
10
11
12
13
14
15
16
17
18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "North Carolina" .   }
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: Count
dependencies: 2
Answer: 11