Question: Which area has more people, Decatur (the one whose subreddit is Decatur) or Odessa (the one whose official website is http://www.odessa-tx.gov/)?
Choices:
Lansing
Odessa
Waukegan
Franklin
New Haven
Greenville
Compton
Decatur
Columbus
Boulder
Answer: Odessa
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Decatur" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Decatur" . } UNION { ?e <pred:name> "Odessa" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.odessa-tx.gov/" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Decatur
function: FilterStr
dependencies: 0
inputs: subreddit
Decatur
function: Find
inputs: Odessa
function: FilterStr
dependencies: 2
inputs: official website
http://www.odessa-tx.gov/
function: SelectBetween
dependencies: 1
3
inputs: population
greater