Question: What is the subject of the statement that Australia (that has a diplomatic relationship with Laos) has a diplomatic relationship with Finland?
Choices: Lithuania–Poland relations
Nigeria–United States relations
Brazil–Chile relations
Israel–Serbia relations
Australia–Finland relations
Algeria–Morocco border
Lesotho–United States relations
Germany-Ethiopia relations
Panama Canal fence
Colombia–Panama border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Australia" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> "Laos" . ?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: Laos
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Find
inputs: Finland
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
statement is subject of
Answer: Australia–Finland relations