Question: When did the state that has a diplomatic relation with Greece (according to Cuba–Greece relations) reach a population of 10503898?
Choices: 2018-12-13
2016-04-24
2002-07-03
2006-01-01
1966-04-18
1989
1979-12-01
1951-03-29
1811
2005-06-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Greece" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Cuba–Greece relations" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "10503898"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Greece
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Cuba–Greece relations
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttrQualifier
dependencies: 3
inputs: population
10503898
point in time
Answer: 1989