Question: Which of the New York counties, that partially contains the Adirondack Mountains, has the smallest area?
Choices:
Clinton County
Franklin County
Herkimer County
Essex County
Saratoga County
Jefferson County
Warren County
Washington County
Niagara County
St. Lawrence County
Program:
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 0
inputs: partially contains
backward
function: FilterConcept
dependencies: 1
inputs: county of New York
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Saratoga County