Question: What is the subject of Lebanon (whose population is 2676593) having a diplomatic relation with Bangladesh (whose population is 117369492)?
Choices:
Bangladesh–Lebanon relations
Burkina Faso–Ghana relations
Uruguay–Venezuela relations
Israel–Syria border
Central African Republic–North Korea relations
Germany–South Africa relations
Bosnia and Herzegovina–Republic of Macedonia relations
Greece–Nigeria relations
Benin–Togo border
United States–Uzbekistan relations
Answer: Bangladesh–Lebanon relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Lebanon" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2676593"^^xsd:double . ?e_2 <pred:name> "Bangladesh" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "117369492"^^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: Lebanon
function: FilterNum
dependencies: 0
inputs: population
2676593
=
function: Find
inputs: Bangladesh
function: FilterNum
dependencies: 2
inputs: population
117369492
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: diplomatic relation
statement is subject of