Question: What is the subject of a statement 'Idaho (the one that shares border with Washington) shares border with Wyoming (the one that contains the administrative division Park County)' ?
Choices: Senegal–Taiwan relations
Israel–Turkey relations
Central African Republic–China relations
Australia–Malaysia relations
Czechoslovakia
Kosovo–Slovakia relations
South Korea–Ukraine relations
Germany–Venezuela relations
Idaho–Wyoming border
Republic of Macedonia–Turkey relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Idaho" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Washington" . ?e_2 <pred:name> "Wyoming" . ?e_2 <contains_administrative_territorial_entity> ?e_4 . ?e_4 <pred:name> "Park County" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Washington
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Idaho
function: And
dependencies: 1
2
function: Find
inputs: Park County
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
backward
function: Find
inputs: Wyoming
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: shares border with
statement is subject of
Answer: Idaho–Wyoming border