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