Question: Among the independent cities that are administrative divisions of Virginia (demonym is Virginian), which has the largest area?
Choices:
Staunton
Lynchburg
Lexington
Petersburg
Suffolk
Hampton
Winchester
Virginia Beach
Alexandria
Richmond
Program:
function: Find
inputs: Virginia
function: FilterStr
dependencies: 0
inputs: demonym
Virginian
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: independent city
function: SelectAmong
dependencies: 3
inputs: area
largest
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 <demonym> ?pv_1 . ?pv_1 <pred:value> "Virginian" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Virginia Beach