Question: How many counties of Maine with the capital Bangor (capital of Penobscot County) were established before 1809 ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1809 ) . ?e <capital> ?e_1 . ?e_1 <pred:name> "Bangor" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Penobscot County" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1809
<
function: FilterConcept
dependencies: 1
inputs: county of Maine
function: Find
inputs: Penobscot County
function: Relate
dependencies: 3
inputs: capital of
backward
function: Find
inputs: Bangor
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: capital
backward
function: FilterConcept
dependencies: 7
inputs: county of Maine
function: And
dependencies: 2
8
function: Count
dependencies: 9