Question: Does Maharashtra (native label महाराष्ट्र) or Assam (ISNI 0000 0000 9745 4965) have a greater rural population?
Choices:
Punjab
Andhra Pradesh
Haryana
Odisha
Karnataka
Maharashtra
Assam
Himachal Pradesh
Kerala
Jharkhand
Program:
function: Find
inputs: Maharashtra
function: FilterStr
dependencies: 0
inputs: native label
महाराष्ट्र
function: Find
inputs: Assam
function: FilterStr
dependencies: 2
inputs: ISNI
0000 0000 9745 4965
function: SelectBetween
dependencies: 1
3
inputs: rural population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maharashtra" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "महाराष्ट्र" . } UNION { ?e <pred:name> "Assam" . ?e <ISNI> ?pv_2 . ?pv_2 <pred:value> "0000 0000 9745 4965" . } ?e <rural_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Maharashtra