Question: Columbia County, population 47172, has what relationship with Greene County that borders Albany County?
Choices:
risk factor
cast member
sports season of league or competition
sport
continent
native language
famous people
shares border with
opposite of
child astronomical body
Program:
function: Find
inputs: Columbia County
function: FilterNum
dependencies: 0
inputs: population
47172
=
function: Find
inputs: Albany County
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Greene County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Columbia County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "47172"^^xsd:double . ?e_2 <pred:name> "Greene County" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Albany County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with