Question: Of states with a nominal per person gross domestic product under 69,000 USD, which has the highest GDP (PPP)?
Choices:
Lithuania
Fiji
Sweden
Saint Vincent and the Grenadines
Jamaica
Saint Kitts and Nevis
Gabon
Trinidad and Tobago
Malta
Greece
Answer: Sweden
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <nominal_GDP_per_capita> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "69000"^^xsd:double ) . ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP per capita
69000 United States dollar
<
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: GDP (PPP)
largest