Question: Is there less male population in Uttarakhand (the one whose official website is http://uk.gov.in/) or Jharkhand (the one that shares border with Bihar)?
Choices:
Karnataka
Maharashtra
Odisha
Punjab
Jharkhand
Uttarakhand
Haryana
Andhra Pradesh
Himachal Pradesh
Kerala
Answer: Uttarakhand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Uttarakhand" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://uk.gov.in/" . } UNION { ?e <pred:name> "Jharkhand" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Bihar" . } ?e <male_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Uttarakhand
function: FilterStr
dependencies: 0
inputs: official website
http://uk.gov.in/
function: Find
inputs: Bihar
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Jharkhand
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: male population
less