MediaWiki:Apihelp-wbsetclaim-example-2

Set the claim with the given ID to property P1 with a string value of ' City ' and move the claim to the topmost position within the entity's subgroup of claims that feature the main snak property P1. In addition, move the whole subgroup to the top of all subgroups aggregated by property.