Question: Which area is bigger, Chihuahua (the one whose subreddit is cuu) or Catalonia?
Choices:
Greater Poland Voivodeship
Lublin Voivodeship
Chiapas
England
Podlaskie Voivodeship
New South Wales
Chihuahua
Punjab
Minas Gerais
Catalonia
Program:
function: Find
inputs: Chihuahua
function: FilterStr
dependencies: 0
inputs: subreddit
cuu
function: Find
inputs: Catalonia
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chihuahua" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "cuu" . } UNION { ?e <pred:name> "Catalonia" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chihuahua