Question: Which has more urban population, Rajasthan whose ISNI is 0000 0001 2223 0016 or Uttarakhand whose rural population is 7036954?
Choices:
Haryana
Jharkhand
Odisha
Andhra Pradesh
Karnataka
Himachal Pradesh
Rajasthan
Punjab
Uttarakhand
Kerala
Program:
function: Find
inputs: Rajasthan
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2223 0016
function: Find
inputs: Uttarakhand
function: FilterNum
dependencies: 2
inputs: rural population
7036954
=
function: SelectBetween
dependencies: 1
3
inputs: urban population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rajasthan" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 2223 0016" . } UNION { ?e <pred:name> "Uttarakhand" . ?e <rural_population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "7036954"^^xsd:double . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rajasthan