Question: What is the connection between Montana (the one that shares border with Alberta) to contiguous United States?
Choices: member of
part of
head of state
soundtrack album
captain
director of photography
dedicated to
designed to carry
interests
officially opened by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Montana" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Alberta" . ?e_2 <pred:name> "contiguous United States" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Alberta
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Montana
function: And
dependencies: 1
2
function: Find
inputs: contiguous United States
function: QueryRelation
dependencies: 3
4
Answer: part of