Question: Which one, Kerala (the one whose official website is https://kerala.gov.in) or Odisha (the one whose subreddit is Odisha), has greater rural population?
Choices:
Andhra Pradesh
West Bengal
Himachal Pradesh
Maharashtra
Jharkhand
Odisha
Karnataka
Haryana
Kerala
Gujarat
Program:
function: Find
inputs: Kerala
function: FilterStr
dependencies: 0
inputs: official website
https://kerala.gov.in
function: Find
inputs: Odisha
function: FilterStr
dependencies: 2
inputs: subreddit
Odisha
function: SelectBetween
dependencies: 1
3
inputs: rural population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kerala" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "https://kerala.gov.in" . } UNION { ?e <pred:name> "Odisha" . ?e <subreddit> ?pv_2 . ?pv_2 <pred:value> "Odisha" . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Odisha