Question: What neighborhood in Queens has the smallest population?
Choices:
Pacific Palisades
Sherman Oaks
Monte Carlo
Studio City
Jamaica
Astoria
Flushing
Woodland Hills
Roxbury
Encino
Program:
function: Find
inputs: Queens
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: neighborhood
function: SelectAmong
dependencies: 2
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "neighborhood" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Queens" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Flushing