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