Skip to content

About

Generate Wikidata property statistics dashboards, to be used by Wikiprojects.

Topics

Resources

Code of conduct

Contributing

Stars

14 stars

Watchers

3 watching

Forks

Latest commit

 

History

748 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inteGraality

maintenance-status Python Version from PEP 621 TOML License: MIT OpenSSF Best Practices

Toolforge Issues

A tool that generates dashboards of property coverage for a given part of Wikidata.

Wikidata editors configure a dashboard by placing {{Property dashboard}} on a Wikidata (or Commons) page, defining an item selection, a grouping dimension, and properties to track. A bot (User:InteGraalityBot) then periodically uses SPARQL to query the coverage for each property, and updates the table on-wiki (or users can trigger an update manually).

Each cell in the dashboard links (via 🔍) to a live query showing exactly which items have or lack a given property — making it easy to find and fix gaps.

Live instance: https://integraality.toolforge.org/

Documentation

How to get help and report issues

Development

Technical overview

A cron job periodically loops through all dashboard pages, runs SPARQL queries (via WDQS or QLever) to compute property coverage, and writes results back as wikitext tables. A Flask web app handles on-demand updates and generates the SPARQL queries behind the 🔍 links. Both use pywikibot to read template configs from wiki pages and write results back. Redis caches parsed configs to speed up the query endpoint.

Running locally

mise install   # Install uv, pre-commit (uv manages Python)
mise run up    # Flask app on localhost:5000, Redis, writes to docker_pages/ (or: `docker compose up -d`)
mise run test  # Run tests (or: `uv run pytest`)

See CONTRIBUTING.md for prerequisites and more options (running without Docker, functional tests, etc.).

Project layout

├── integraality/           # Python package (app, bot, tests)
├── bin/                    # Shell scripts for Toolforge jobs
├── conf/                   # Dockerfile
├── docker-compose.yml
└── pyproject.toml

Credits

Built and maintained by Jean-Frédéric.

Based on an original idea by Maarten Dammers.

License

MIT

About

Generate Wikidata property statistics dashboards, to be used by Wikiprojects.

Topics

Resources

Code of conduct

Contributing

Stars

14 stars

Watchers

3 watching

Forks

Used by

Contributors

Languages