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