Question: Does Kerala, which goes by keralagovernment on Instagram, or Karnataka have the smaller urban populace?
Choices:
Odisha
Jharkhand
Maharashtra
Gujarat
Himachal Pradesh
Andhra Pradesh
West Bengal
Haryana
Kerala
Karnataka
Program:
function: Find
inputs: Kerala
function: FilterStr
dependencies: 0
inputs: Instagram username
keralagovernment
function: Find
inputs: Karnataka
function: SelectBetween
dependencies: 1
2
inputs: urban population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kerala" . ?e <Instagram_username> ?pv_1 . ?pv_1 <pred:value> "keralagovernment" . } UNION { ?e <pred:name> "Karnataka" . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kerala