Question: Which area is larger, Adelaide (the one whose Twitter username is CityofAdelaide) or Mashhad?
Choices:
Kilkenny
Kingston
Mashhad
Bergen
Adelaide
Chihuahua
Cork
Santo Domingo
Abidjan
Dundee
Answer: Adelaide
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adelaide" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "CityofAdelaide" . } UNION { ?e <pred:name> "Mashhad" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Adelaide
function: FilterStr
dependencies: 0
inputs: Twitter username
CityofAdelaide
function: Find
inputs: Mashhad
function: SelectBetween
dependencies: 1
2
inputs: area
greater