Question: When did the nominal GDP of a sovereign state, whose age of presidential candidacy is over 23.6 years, reach 1,382,764,027,113.82 USD ?
Choices:
2015-01-01
2002-06-01
1766
2008-03-12
1968
1817-01-01
2007-10-01
1955-09-24
2002-03-20
1912
Answer: 2015-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <age_of_candidacy> ?pv_1 . ?pv_1 <pred:unit> "years old" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "23.6"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <age_of_candidacy> ; <pred:fact_t> ?pv_1 ] <applies_to_part> ?qpv_1 . ?qpv_1 <pred:value> "president" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "1382764027113.82"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: age of candidacy
23.6 years old
>
function: QFilterStr
dependencies: 1
inputs: applies to part
president
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: nominal GDP
1382764027113.82 United States dollar
point in time