Question: What is the connection between Mercer County (whose population is 116125) and Butler County (that is an administrative division of Pennsylvania)?
Choices: shares border with
league
country of citizenship
official religion
spouse
head coach
performer
connects with
inspired by
symptoms
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mercer County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "116125"^^xsd:double . ?e_2 <pred:name> "Butler County" . ?e_3 <contains_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Pennsylvania" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mercer County
function: FilterNum
dependencies: 0
inputs: population
116125
=
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Butler County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: shares border with