Question: What are the number of counties of Wisconsin that shares border with Jefferson County (the one whose area is 1509 square kilometre) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Wisconsin" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Jefferson County" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "1509"^^xsd:double .   }
Program:
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 0
inputs: area
1509 square kilometre
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Wisconsin
function: Count
dependencies: 3
Answer: 2