Question: What is the administrative territorial entity that borders Norfolk County and whose area is less than 880000 square kilometres?
Choices:
St. Louis County
Merrimack County
Providence County
Suffolk County
canton of Bern
El Paso County
Middlesex County
Plymouth County
Douglas County
Franklin County
Answer: Providence County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Norfolk County" .  ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "880000"^^xsd:double ) .  }
Program:
function: Find
inputs: Norfolk County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
880000 square kilometre
<
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: What
dependencies: 6