Question: Does Key West or Jackson (whose year of establishment is 1829) have the larger population?
Choices:
Compton
Franklin
Waukegan
Greenville
Jackson
Boulder
New Haven
Lansing
Oakland
Columbus
Program:
function: Find
inputs: Key West
function: Find
inputs: Jackson
function: FilterYear
dependencies: 1
inputs: inception
1829
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Key West" . } UNION { ?e <pred:name> "Jackson" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1829 . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jackson