Question: Which counties of Ireland share the border of the county of Ireland Its area is equal to 2027.0 square kilometers?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ireland" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Ireland" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "2027.0"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
2027.0 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: county of Ireland
function: Relate
dependencies: 2
inputs: shares border with
backward
function: FilterConcept
dependencies: 3
inputs: county of Ireland
function: Count
dependencies: 4