Question: What is the subject of the statement that Africa (that is the continent where Algeria is located) has a diplomatic relationship with the People's Republic of China?
Choices:
Indonesia–Taiwan relations
Russia and the United Nations
China–Zimbabwe relations
Morocco–Netherlands relations
Greece–Mexico relations
Kazakhstan–Turkey relations
Israel–Poland relations
Greece–Peru relations
Chile–China relations
Africa–China relations
Answer: Africa–China relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Africa" . ?e_3 <continent> ?e_1 . ?e_3 <pred:name> "Algeria" . ?e_2 <pred:name> "People's Republic of China" . ?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: Algeria
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Africa
function: And
dependencies: 1
2
function: Find
inputs: People's Republic of China
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
statement is subject of