Question: What is the subject of this statement "Iraq has a diplomatic relation with Egypt, whose population is 59307778"?
Choices:
Saint Lucia–United States relations
India–Kuwait relations
Mozambique–Tanzania border
France–United States relations
Japan–Trinidad and Tobago relations
Bulgaria–Romania relations
Pakistan–United Arab Emirates relations
Armenia–Israel relations
Egypt–Iraq relations
Australia–Fiji relations
Answer: Egypt–Iraq relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Iraq" . ?e_2 <pred:name> "Egypt" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "59307778"^^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 .  }
Program:
function: Find
inputs: Iraq
function: Find
inputs: Egypt
function: FilterNum
dependencies: 1
inputs: population
59307778
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of