Question: What is the subject of Greece having a diplomatic relation with Lebanon (whose life expectancy is 74.934 years)?
Choices:
Angola–Zimbabwe relations
Greece–Lebanon relations
Chile–United Kingdom relations
Austria–Ukraine relations
Philippines–Taiwan relations
France–Suriname border
Dominican Republic–United States relations
Kansas–Nebraska border
Germany–Ecuador relations
Israel–Lithuania relations
Answer: Greece–Lebanon relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Greece" . ?e_2 <pred:name> "Lebanon" . ?e_2 <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "74.934"^^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: Greece
function: Find
inputs: Lebanon
function: FilterNum
dependencies: 1
inputs: life expectancy
74.934 year
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of