Question: What is the relation between Andhra Pradesh (the one whose Indian census area code (2001) is 37) and Odisha (the one whose ISO 3166-2 code is IN-OR)?
Choices:
next higher rank
lowest point
language used
shares border with
notable people with this condition
penalty
license
based on
native language
sports season of league or competition
Program:
function: Find
inputs: Andhra Pradesh
function: FilterStr
dependencies: 0
inputs: Indian census area code (2001)
37
function: Find
inputs: Odisha
function: FilterStr
dependencies: 2
inputs: ISO 3166-2 code
IN-OR
function: QueryRelation
dependencies: 1
3
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andhra Pradesh" . ?e_1 <Indian_census_area_code_(2001)> ?pv . ?pv <pred:value> "37" . ?e_2 <pred:name> "Odisha" . ?e_2 <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "IN-OR" . ?e_1 ?p ?e_2 .  }
Answer: shares border with