Question: Among the independent cities located in Virginia (the one whose short name is VA),which one has the smallest area ?
Choices:
Fredericksburg
Alexandria
Fairfax
Portsmouth
Lexington
Virginia Beach
Petersburg
Falls Church
Suffolk
Norfolk
Program:
function: Find
inputs: Virginia
function: FilterStr
dependencies: 0
inputs: short name
VA
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: independent city
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Virginia" . ?e_1 <short_name> ?pv_1 . ?pv_1 <pred:value> "VA" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Falls Church