Question: Which area is smaller, Scarborough (the one whose subreddit is Scarborough) or Monterrey?
Choices:
Scarborough
Kilkenny
Abidjan
Santo Domingo
Bergen
Trieste
Cork
Kingston
Monterrey
Chihuahua
Answer: Scarborough
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scarborough" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Scarborough" . } UNION { ?e <pred:name> "Monterrey" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Scarborough
function: FilterStr
dependencies: 0
inputs: subreddit
Scarborough
function: Find
inputs: Monterrey
function: SelectBetween
dependencies: 1
2
inputs: area
less