Question: When did a sovereign state with the capital Tripoli (the one that is the twinned administrative body of Belo Horizonte) reach its nominal GDP of 28,901,836,158.1921 USD?
Choices:
2006-12-01
1990-01-01
1914-01-01
1930
2011-10-01
1661
2016-08-09
2015-06-30
2009-05-31
2015-08-31
Answer: 1990-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Tripoli" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Belo Horizonte" .  ?e <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "28901836158.1921"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Belo Horizonte
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Tripoli
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 5
inputs: nominal GDP
28901836158.1921 United States dollar
point in time