Question: What is the relationship between Minnesota (the one whose FIPS 10-4 (countries and regions) is US27) to Northwest Territories?
Choices: shares border with
properties for this type
is a list of
collection
part of the series
currency
registered with
takes place in fictional universe
screenwriter
works in collection
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Minnesota" . ?e_1 <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "US27" . ?e_2 <pred:name> "Northwest Territories" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Minnesota
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
US27
function: Find
inputs: Northwest Territories
function: QueryRelation
dependencies: 1
2
Answer: shares border with