Question: When did the unitary state that has diplomatic relations with Slovenia (in the subject of Croatia–Slovenia relations) have a life expectancy of 76.47561 years?
Choices:
1833-09-18
2014-12-18
1776-07-04
2012-01-15
1735
2010
2018-11-05
1950-12-31
1858-12-03
1806
Answer: 2010
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "unitary state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Slovenia" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Croatia–Slovenia relations" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "76.47561"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Slovenia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Croatia–Slovenia relations
function: FilterConcept
dependencies: 2
inputs: unitary state
function: QueryAttrQualifier
dependencies: 3
inputs: life expectancy
76.47561 year
point in time