Question: Which neighborhood, which is the administrative division of Queens, has the highest population ?
Choices:
Sherman Oaks
Monte Carlo
Encino
Pacific Palisades
Flushing
Northridge
Astoria
Woodland Hills
Jamaica
Roxbury
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
largest
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 DESC(?v) LIMIT 1
Answer: Jamaica