Question: Which area is smaller, Jammu and Kashmir or Uttarakhand (the one whose Indian census area code (2001) is 05)?
Choices:
Jharkhand
Uttarakhand
Punjab
Himachal Pradesh
Maharashtra
Kerala
Andhra Pradesh
Jammu and Kashmir
Karnataka
Odisha
Answer: Uttarakhand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jammu and Kashmir" . } UNION { ?e <pred:name> "Uttarakhand" . ?e <Indian_census_area_code_(2001)> ?pv_1 . ?pv_1 <pred:value> "05" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jammu and Kashmir
function: Find
inputs: Uttarakhand
function: FilterStr
dependencies: 1
inputs: Indian census area code (2001)
05
function: SelectBetween
dependencies: 0
2
inputs: area
less