Question: Which are has more people, Aurora (the one whose inception time is 1835) or San Luis Obispo?
Choices:
Lansing
Compton
Columbus
San Luis Obispo
Aurora
Waukegan
New Haven
Franklin
Greenville
Boulder
Program:
function: Find
inputs: Aurora
function: FilterYear
dependencies: 0
inputs: inception
1835
=
function: Find
inputs: San Luis Obispo
function: SelectBetween
dependencies: 1
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aurora" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1835 . } UNION { ?e <pred:name> "San Luis Obispo" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aurora