Question: Which has the smallest area among the independent cities that are an administrative division of Virginia whose FIPS 10-4 (countries and regions) is US51?
Choices:
Richmond
Staunton
Virginia Beach
Chesapeake
Williamsburg
Hampton
Falls Church
Winchester
Portsmouth
Fredericksburg
Answer: Falls Church
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Virginia" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "US51" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Virginia
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
US51
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: independent city
function: SelectAmong
dependencies: 3
inputs: area
smallest