Question: Butler County, population 183862, is related in what way to Westmoreland County, which borders Cambria County?
Choices: operator
shares border with
used by
academic degree
month of the year
appears in the form of
participant of
software engine
does not have part
drafted by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Butler County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "183862"^^xsd:double . ?e_2 <pred:name> "Westmoreland County" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Cambria County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Butler County
function: FilterNum
dependencies: 0
inputs: population
183862
=
function: Find
inputs: Cambria County
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Westmoreland County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: shares border with