Question: What is the role of ID, the short name of the United States state that shares a border with Wyoming (which is a part of the contiguous United States) in the subject of Idaho–Wyoming border?
Choices:
United States Postal Service abbreviation
private school
Justice League Heroes
LAU 1
three-phase electric power
executive producer
X2
storyteller
territorial collectivity of France
first language
Answer: United States Postal Service abbreviation
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Wyoming" . ?e_1 <part_of> ?e_2 . ?e_2 <pred:name> "contiguous United States" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Idaho–Wyoming border" . ?e <short_name> ?pv . ?pv <pred:value> "ID" . [ <pred:fact_h> ?e ; <pred:fact_r> <short_name> ; <pred:fact_t> ?pv ] <object_has_role> ?qpv .  }
Program:
function: Find
inputs: contiguous United States
function: Relate
dependencies: 0
inputs: part of
backward
function: Find
inputs: Wyoming
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: QFilterStr
dependencies: 4
inputs: statement is subject of
Idaho–Wyoming border
function: FilterConcept
dependencies: 5
inputs: state of the United States
function: QueryAttrQualifier
dependencies: 6
inputs: short name
ID
object has role