Question: Among the human settlements established before 1806, which one has the largest area?
Choices:
Ridgewood
West Orange
Verona
Belleville
Red Bank
Princeton
Whanganui
Livingston
Exeter
Montclair
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1806
<
function: FilterConcept
dependencies: 1
inputs: human settlement
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human settlement" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1806 ) . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Exeter