Question: Tell me the subject of the statement Denmark has a diplomatic relation with Finland
Choices:
France–Turkey relations
Benin–Togo border
liturgical colour
Azerbaijan–Switzerland relations
Denmark–Finland relations
Denmark–Kenya relations
Maryland–Virginia border
Lebanon–Mexico relations
Guinea-Bissau–United States relations
Azerbaijan–Denmark relations
Answer: Denmark–Finland relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Denmark" . ?e_2 <pred:name> "Finland" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Denmark
function: Find
inputs: Finland
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
statement is subject of