Question: Which sovereign state that has heavy metal has the largest GDP (PPP)?
Choices:
Russian Soviet Federative Socialist Republic
Benin
United States of America
Cambodia
Socialist Federal Republic of Yugoslavia
United Kingdom
Samoa
Switzerland
Kiribati
South Sudan
Program:
function: Find
inputs: heavy metal
function: Relate
dependencies: 0
inputs: indigenous to
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: SelectAmong
dependencies: 2
inputs: GDP (PPP)
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e_1 <indigenous_to> ?e . ?e_1 <pred:name> "heavy metal" .  ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: United States of America