Question: What human settlement sharing a border with Verona, that has a 335 foot elevation above sea level, has the largest population?
Choices:
Ridgewood
West Orange
Whanganui
Wexford
Princeton
Belleville
Red Bank
Livingston
North Hollywood
Verona
Program:
function: Find
inputs: Verona
function: FilterNum
dependencies: 0
inputs: elevation above sea level
335 foot
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: human settlement
function: SelectAmong
dependencies: 3
inputs: population
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Verona" . ?e_1 <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "foot" . ?pv_1 <pred:value> "335"^^xsd:double . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: West Orange