Question: What United States city shares a border with Hancock County (whose population is 72520)?
Choices:
New Haven
Compton
Waukegan
Franklin
Oakland
Bakersfield
Columbus
Indianapolis
Columbia
Boulder
Answer: Indianapolis
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Hancock County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "72520"^^xsd:double .   }
Program:
function: Find
inputs: Hancock County
function: FilterNum
dependencies: 0
inputs: population
72520
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3