Question: What is the topic of the statement that California (that partially contains Sierra Nevada) shares a border with Oregon (whose FIPS 5-2 alpha code for US states is OR)?
Choices:
Bahrain–Taiwan relations
Democratic Republic of the Congo–Zambia border
Morocco–Netherlands relations
Cuba–Taiwan relations
Taiwan–Tunisia relations
Canada–Switzerland relations
California–Oregon border
Portugal–Spain relations
India–Mozambique relations
Côte d'Ivoire–Germany relations
Program:
function: Find
inputs: Sierra Nevada
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Find
inputs: Oregon
function: FilterStr
dependencies: 4
inputs: FIPS 5-2 alpha code (US states)
OR
function: QueryRelationQualifier
dependencies: 3
5
inputs: shares border with
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "California" . ?e_1 <partially_contains> ?e_3 . ?e_3 <pred:name> "Sierra Nevada" . ?e_2 <pred:name> "Oregon" . ?e_2 <FIPS_5-2_alpha_code_(US_states)> ?pv . ?pv <pred:value> "OR" . ?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 .  }
Answer: California–Oregon border