Question: Greene County that borders Rensselaer County is related in what way to New York, population 19795791?
Choices:
capital
located in the administrative territorial entity
month of the year
noble title
located on terrain feature
heritage designation
convicted of
airline hub
author
tributary
Program:
function: Find
inputs: Rensselaer County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Greene County
function: And
dependencies: 1
2
function: Find
inputs: New York
function: FilterNum
dependencies: 4
inputs: population
19795791
=
function: QueryRelation
dependencies: 3
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Greene County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Rensselaer County" . ?e_2 <pred:name> "New York" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "19795791"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: located in the administrative territorial entity