Question: tell me about the relationship between Allegheny County (which has a population of 48804), to Cattaraugus County
Choices:
diplomatic relation
shares border with
language of work or name
said to be the same as
spouse
home venue
film release region
participant of
publisher
series spin-off
Program:
function: Find
inputs: Allegany County
function: FilterNum
dependencies: 0
inputs: population
48804
=
function: Find
inputs: Cattaraugus County
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Allegany County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "48804"^^xsd:double . ?e_2 <pred:name> "Cattaraugus County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with