Question: Which area is larger, Utah (the one whose subreddit is Utah) or South Dakota?
Choices:
Massachusetts
South Dakota
Colorado
Florida
Utah
Iowa
Illinois
New Mexico
New Jersey
California
Answer: Utah
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Utah" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Utah" . } UNION { ?e <pred:name> "South Dakota" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Utah
function: FilterStr
dependencies: 0
inputs: subreddit
Utah
function: Find
inputs: South Dakota
function: SelectBetween
dependencies: 1
2
inputs: area
greater