User:RobLa/sandbox/wikidata
Appearance
< User:RobLa | sandbox
Using #invoke:wd on Wikipedia
[edit]It is possible to use Wikidata as a compliance database for electoral methods.
For example, wikidata:Q5168347 is the Wikidata item for "Copeland's method". Below is a set of queries for Q5168347
- Title for Q5168347: Copeland's method
- First value for wikidata:Property:P5009 ("complies with"): monotonicity criterion
- Multiple properties for wikidata:Property:P5009 ("complies with"): monotonicity criterion, Condorcet criterion, Majority criterion
- Multiple properties for wikidata:Property:P5009 ("complies with") w/edit option: monotonicity criterion, Condorcet criterion, Majority criterion
See "edit source" to see the markup.
More instructions for #invoke:wd (the "Wd" Lua module) on Wikipedia can be found at Module:Wd
Fuller list of electoral methods
[edit]Here's a few electoral methods from the first few rows of Comparison of electoral systems#Compliance_of_selected_single-winner_methods, along with #invoke:wd calls for "complies with"
- Approval: monotonicity criterion
- Borda: monotonicity criterion
- Bucklin: monotonicity criterion
- Copeland: monotonicity criterion, Condorcet criterion, Majority criterion
NOTE - append ?action=purge
to the URL of this page to update the list above from Wikidata.