Question: Among the states which is the origin country of Viking metal,which one has the largest nominal GDP per capita ?
Choices:
Bulgaria
Greece
Fiji
Tajikistan
Kosovo
Finland
Luxembourg
Cuba
Kazakhstan
Sweden
Program:
function: Find
inputs: Viking metal
function: Relate
dependencies: 0
inputs: country of origin
forward
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: nominal GDP per capita
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <country_of_origin> ?e . ?e_1 <pred:name> "Viking metal" .  ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sweden