Question: How is Butler County in Pennsylvania related to Mercer County where there are 114234 people living?
Choices:
shares border with
archives at
doctoral advisor
father
named after
godparent
next higher rank
work location
participant of
narrator
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Butler County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Pennsylvania" . ?e_2 <pred:name> "Mercer County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "114234"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Butler County
function: And
dependencies: 1
2
function: Find
inputs: Mercer County
function: FilterNum
dependencies: 4
inputs: population
114234
=
function: QueryRelation
dependencies: 3
5