Question: What i the area of the city of New York that is located in Warren County (the one that shares border with Saratoga County)?
Choices:
151.4 square kilometre
61.249403 square kilometre
7400.43 square kilometre
70.247084 square kilometre
38394.0 square kilometre
127.220892 square kilometre
101.309132 square kilometre
28.835907 square kilometre
73.6 square kilometre
10.331523 square kilometre
Program:
function: Find
inputs: Saratoga County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Warren County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of New York
function: QueryAttr
dependencies: 5
inputs: area
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of New York" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Warren County" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Saratoga County" .  ?e <area> ?pv .  }
Answer: 10.331523 square kilometre