Question: Is the number of male inhabitants higher for Andhra Pradesh (official website www.ap.gov.in) or Manipur (official website manipur.gov.in)?
Choices:
Haryana
Himachal Pradesh
Punjab
Manipur
Jharkhand
Andhra Pradesh
Kerala
Maharashtra
Odisha
Karnataka
Program:
function: Find
inputs: Andhra Pradesh
function: FilterStr
dependencies: 0
inputs: official website
http://www.ap.gov.in
function: Find
inputs: Manipur
function: FilterStr
dependencies: 2
inputs: official website
http://manipur.gov.in/
function: SelectBetween
dependencies: 1
3
inputs: male population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andhra Pradesh" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ap.gov.in" . } UNION { ?e <pred:name> "Manipur" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://manipur.gov.in/" . } ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Andhra Pradesh