Question: How is Shelby County whose population is 45632 related to Jefferson County which has the captital Louisville?
Choices: owner of
shares border with
notable work
place of birth
mother
medical treatment
located on astronomical location
legal form
permanent resident of
replaced by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shelby County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "45632"^^xsd:double . ?e_2 <pred:name> "Jefferson County" . ?e_2 <capital> ?e_3 . ?e_3 <pred:name> "Louisville" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shelby County
function: FilterNum
dependencies: 0
inputs: population
45632
=
function: Find
inputs: Louisville
function: Relate
dependencies: 2
inputs: capital
backward
function: Find
inputs: Jefferson County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: shares border with