https://github.com/wikidata/sqid
A tool to analyse, browse and query Wikidata
https://github.com/wikidata/sqid
wikidata
Last synced: 12 months ago
JSON representation
A tool to analyse, browse and query Wikidata
- Host: GitHub
- URL: https://github.com/wikidata/sqid
- Owner: Wikidata
- License: apache-2.0
- Created: 2016-02-03T18:39:37.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T09:52:57.000Z (over 1 year ago)
- Last Synced: 2025-04-03T23:48:37.780Z (12 months ago)
- Topics: wikidata
- Language: TypeScript
- Homepage: http://tools.wmflabs.org/sqid/
- Size: 46.8 MB
- Stars: 84
- Watchers: 25
- Forks: 17
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SQID
(a.k.a. Wikidata Class Browser)
This repository contains the code for the [SQID Wikidata Browser](http://tools.wmflabs.org/sqid/).
You can use the application online without installing anything.
## Submitting comments, bug reports, feature requests
Use the [SQID Issues](https://github.com/Wikidata/SQID/issues) page on
github to report issues and to find out if your issue is already known or even being worked on.
## Installation
You do not normally need to install this yourself, since it is a Web application that you can use in your browser. Developers who want to change the code should have a local copy that runs though. This is farily easy:
* Download the files. To install dependencies, run `npm install`. For local development, use `npm run serve`, which will start a local web server serving the application. For production builds, use `npm run build` and make the `dist/` directory available using your local web server.
* Get some data. You can copy the example json data files from [src/data/exampleData](src/data/exampleData) to [src/data/](src/data) to get started. You can update these files by running `sqid-helper` under [helpers/rust](helpers/rust) from this directory, but this will not recreate all statistics. You can also [download the most recently updated json files](http://tools-static.wmflabs.org/sqid/data/).
* Optionally recreate all statistics. This is also done using `sqid-helper`, by specifing `--only=process-dump` and providing arguments as directed by the help message.
## Deployment on Wikimedia Toolforge
An ansible playbook for deployment on Toolforge is available in [helpers/ansible](helpers/ansible), run `ansible-playbook -i production site.yml` to build the java helper package and the app bundle, and deploy them to Toolforge. Use `ansible-playbook -i production site.yml --tags all,clean` to also force a clean rebuild.
## License
The code in this repository is released under the [Apache 2.0](LICENSE) license. External libraries used may have their own licensing terms.