Question: Which states shares borders with Ohio and West Virginia ?
Choices:
India–Panama relations
68th Academy Awards
Indonesia–Nigeria relations
Mexico–Senegal relations
Australia–Brazil relations
Germany–Myanmar relations
Finland–Nicaragua relations
Ohio–West Virginia border
Afghanistan–Norway relations
Russia–Ukraine relations
Answer: Ohio–West Virginia border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ohio" . ?e_2 <pred:name> "West Virginia" . ?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: Ohio
function: Find
inputs: West Virginia
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of