Question: What is the subject of a statement that Connecticut borders Rhode Island ?
Choices:
I am
Canada–Norway relations
Connecticut–Rhode Island border
Japan–Turkey relations
San Marino–United Kingdom relations
Hungary–South Korea relations
Ohio–West Virginia border
Ghana–Ivory Coast relations
Goods and Services Tax
Kentucky–Virginia border
Answer: Connecticut–Rhode Island border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Connecticut" . ?e_2 <pred:name> "Rhode Island" . ?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: Connecticut
function: Find
inputs: Rhode Island
function: QueryRelationQualifier
dependencies: 0
1
inputs: shares border with
statement is subject of