Question: If we talk about a a sovereign state that has a diplomatic relation with Uruguay (the subject of this statement is El Salvador–Uruguay relations), when has its nominal GDP reached 6680269200 USD?
Choices:
1652
1975-10-01
1928
2007-06-01
1900-12-01
1955-09-24
1993-01-01
2011-06-23
2007-12-01
1990-03-26
Answer: 1993-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Uruguay" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "El Salvador–Uruguay relations" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "6680269200"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Uruguay
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
El Salvador–Uruguay relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: nominal GDP
6680269200 United States dollar
point in time