Question: Which state bordered by the People's Republic of China possesses the greatest total reserves amount?
Choices:
Cuba
Greece
Kazakhstan
Sweden
Kosovo
Tajikistan
Bulgaria
Fiji
Lithuania
Finland
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: total reserves
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .  ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kazakhstan