Question: Which American city is located in the administrative territorial entity that shares a southern border with Jefferson County  (the one whose population is 545476)?
Choices:
New Haven
Columbus
Franklin
Waukegan
Joliet
Boulder
Fort Worth
Oakland
Lansing
South Bend
Answer: Boulder
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Jefferson County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "545476"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv . ?qpv <pred:value> "south" .   }
Program:
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 0
inputs: population
545476
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: QFilterStr
dependencies: 2
inputs: direction relative to location
south
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: What
dependencies: 6