Question: How many France regions border Lower Normandy and border Brittany whose population is 3293850?
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> "region of France" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Lower Normandy" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> "Brittany" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3293850"^^xsd:double .  }
Program:
function: Find
inputs: Lower Normandy
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: region of France
function: Find
inputs: Brittany
function: FilterNum
dependencies: 3
inputs: population
3293850
=
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: region of France
function: And
dependencies: 2
6
function: Count
dependencies: 7