Question: the {statement is subject of} for {Minnesota} has {shares border with} as {North Dakota} ?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1527 p:P47 ?s . ?s ps:P47 wd:Q1207 . ?s pq:P805 ?value}