Question: What is the subject of Ireland (whose population is 4588252) having a diplomatic relation with Zambia?
Choices:
Germany–United Arab Emirates relations
18th Academy Awards
Ireland–Zambia relations
China–Cyprus relations
Haiti–United States border
Israel–Nicaragua relations
Russia–Zimbabwe relations
Mongolia–Taiwan relations
Equatorial Guinea–Gabon border
China–Kazakhstan relations
Answer: Ireland–Zambia relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ireland" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "4588252"^^xsd:double . ?e_2 <pred:name> "Zambia" . ?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: Ireland
function: FilterNum
dependencies: 0
inputs: population
4588252
=
function: Find
inputs: Zambia
function: QueryRelationQualifier
dependencies: 1
2
inputs: diplomatic relation
statement is subject of