Question: Which has fewer people, Alexandria (the one whose inception time is 1818) or St. Joseph (the one whose subreddit is St_Joseph)?
Choices: Waukegan
St. Joseph
Alexandria
New Haven
Franklin
Lansing
Boulder
Greenville
Oakland
Columbus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexandria" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1818 . } UNION { ?e <pred:name> "St. Joseph" . ?e <subreddit> ?pv_2 . ?pv_2 <pred:value> "St_Joseph" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alexandria
function: FilterYear
dependencies: 0
inputs: inception
1818
=
function: Find
inputs: St. Joseph
function: FilterStr
dependencies: 2
inputs: subreddit
St_Joseph
function: SelectBetween
dependencies: 1
3
inputs: population
less
Answer: St. Joseph