Question: Which has a smaller urban population, Odisha (the one whose official website is http://www.odisha.gov.in) or Haryana (the one that is a common property of national park)?
Choices:
Gujarat
Odisha
Himachal Pradesh
Maharashtra
Punjab
Karnataka
Jharkhand
West Bengal
Kerala
Andhra Pradesh
Program:
function: Find
inputs: Odisha
function: FilterStr
dependencies: 0
inputs: official website
http://www.odisha.gov.in
function: Find
inputs: national park
function: Relate
dependencies: 2
inputs: properties for this type
forward
function: Find
inputs: Haryana
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: urban population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Odisha" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.odisha.gov.in" . } UNION { ?e <pred:name> "Haryana" . ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "national park" . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Odisha