Question: What is the subject of this statement: "Malaysia has a diplomatic relation with Romania (the one whose total fertility rate is 1.3)"?
Choices:
France–Luxembourg border
Republic of the Congo–Taiwan relations
Melilla border fence
Czech Republic–Libya relations
Myanmar–Thailand border
Malaysia–Romania relations
Australia–South Africa relations
Bangladesh–Philippines relations
Canada–Poland relations
South Sudan–Sudan relations
Program:
function: Find
inputs: Malaysia
function: Find
inputs: Romania
function: FilterNum
dependencies: 1
inputs: total fertility rate
1.3
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Malaysia" . ?e_2 <pred:name> "Romania" . ?e_2 <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1.3"^^xsd:double . ?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 .  }
Answer: Malaysia–Romania relations