Question: Does Fresno, with its first written record in 1872, or Mount Vernon, population 31743, have more inhabitants?
Choices: Lansing
Oakland
Mount Vernon
Fresno
New Haven
Waukegan
Compton
Boulder
Franklin
Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fresno" . ?e <time_of_earliest_written_record> ?pv_1 . ?pv_1 <pred:year> 1872 . } UNION { ?e <pred:name> "Mount Vernon" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "31743"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fresno
function: FilterYear
dependencies: 0
inputs: time of earliest written record
1872
=
function: Find
inputs: Mount Vernon
function: FilterNum
dependencies: 2
inputs: population
31743
=
function: SelectBetween
dependencies: 1
3
inputs: population
greater
Answer: Fresno