Question: How many Wisconsin counties in the United States have Jefferson County which was founded in 1836?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Wisconsin" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Jefferson County" . ?e_2 <inception> ?pv . ?pv <pred:year> 1836 .   }
Program:
function: Find
inputs: Jefferson County
function: FilterYear
dependencies: 0
inputs: inception
1836
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Wisconsin
function: Count
dependencies: 5