Question: How is South Dakota related to Montana whose Dewey Decimal Classification is 2--786?
Choices:
airline hub
narrator
highest judicial authority
studies
registered with
medical treatment
owned by
shares border with
position held
has effect
Program:
function: Find
inputs: South Dakota
function: Find
inputs: Montana
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--786
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "South Dakota" . ?e_2 <pred:name> "Montana" . ?e_2 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--786" . ?e_1 ?p ?e_2 .  }
Answer: shares border with