Question: What is the time point of the republic that has a diplomatic relation with Indonesia (the subject of this statement is Indonesia–Ukraine relations), its life expectancy is 68.27561 year.
Choices:
1793
1958-03-26
2012-12-01
2002-07-03
2005-05-18
2002
2016-08-01
2012-03-31
1771-01-01
2005-08-01
Answer: 2002
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Indonesia" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Indonesia–Ukraine relations" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "68.27561"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Indonesia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Indonesia–Ukraine relations
function: FilterConcept
dependencies: 2
inputs: republic
function: QueryAttrQualifier
dependencies: 3
inputs: life expectancy
68.27561 year
point in time