Question: Does Stockton or Waterloo (the one whose subreddit is WaterlooIowa) have the greater area?
Choices: Stockton
Boulder
Columbus
Waterloo
Waukegan
Oakland
Greenville
Lansing
New Haven
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stockton" . } UNION { ?e <pred:name> "Waterloo" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "WaterlooIowa" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stockton
function: Find
inputs: Waterloo
function: FilterStr
dependencies: 1
inputs: subreddit
WaterlooIowa
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Stockton