Question: Which state in the United States bordering North Carolina has the smallest percent of water area?
Choices:
Colorado
Florida
Georgia
Illinois
California
Tennessee
Iowa
Virginia
Massachusetts
South Carolina
Program:
function: Find
inputs: North Carolina
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: SelectAmong
dependencies: 2
inputs: water as percent of area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "North Carolina" .  ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tennessee