Question: What is the FIPS 10-4 (countries and regions) of Minnesota (the one that shares border with North Dakota)?
Choices: IT18
MX06
US31
US27
GL
VT
FM
JA19
US29
IT07
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Minnesota" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "North Dakota" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Program:
function: Find
inputs: North Dakota
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Minnesota
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
Answer: US27