Question: What is the connection between Westmoreland County (the one whose population is 362437) to Greensburg?
Choices:
update method
capital
league
contains settlement
officeholder
godparent
subject has role
airline hub
office held by head of government
genre
Program:
function: Find
inputs: Westmoreland County
function: FilterNum
dependencies: 0
inputs: population
362437
=
function: Find
inputs: Greensburg
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Westmoreland County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "362437"^^xsd:double . ?e_2 <pred:name> "Greensburg" . ?e_1 ?p ?e_2 .  }
Answer: capital