Question: What administrative territorial entity borders Boulder County to the south ?
Choices:
Delaware County
Kent County
Jefferson County
Washoe County
Cass County
African Union
Weld County
Orange County
The Bronx
Lee County
Answer: Jefferson County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Boulder County" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <direction_relative_to_location> ?qpv . ?qpv <pred:value> "south" .  }
Program:
function: Find
inputs: Boulder County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: QFilterStr
dependencies: 1
inputs: direction relative to location
south
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: What
dependencies: 3