Question: Which has more people in urban areas, Arunachal Pradesh (urban population of 317369) or Haryana (situated next to Delhi)?
Choices: Odisha
West Bengal
Andhra Pradesh
Punjab
Arunachal Pradesh
Maharashtra
Karnataka
Himachal Pradesh
Kerala
Haryana
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arunachal Pradesh" . ?e <urban_population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "317369"^^xsd:double . } UNION { ?e <pred:name> "Haryana" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Delhi" . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Arunachal Pradesh
function: FilterNum
dependencies: 0
inputs: urban population
317369
=
function: Find
inputs: Delhi
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Haryana
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: urban population
greater
Answer: Haryana