Question: Which sovereign state has the largest nominal GDP per capita and has heavy metal?
Choices:
Samoa
Russian Soviet Federative Socialist Republic
Kiribati
United Kingdom
Weimar Republic
Socialist Federal Republic of Yugoslavia
Switzerland
Benin
United States of America
Cambodia
Answer: United States of America
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 <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
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: nominal GDP per capita
largest