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
Program:
function: Find
inputs: Stockton
function: Find
inputs: Waterloo
function: FilterStr
dependencies: 1
inputs: subreddit
WaterlooIowa
function: SelectBetween
dependencies: 0
2
inputs: area
greater
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
Answer: Stockton