Question: Does Joplin or Decatur (subreddit Decatur) occupy the smaller area?
Choices:
Decatur
Greenville
Compton
Joplin
Oakland
Columbus
Lansing
Boulder
Waukegan
Franklin
Program:
function: Find
inputs: Joplin
function: Find
inputs: Decatur
function: FilterStr
dependencies: 1
inputs: subreddit
Decatur
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joplin" . } UNION { ?e <pred:name> "Decatur" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Decatur" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Joplin