Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support for adding references to Wikidata.org statments. #157

Open
ElanHR opened this issue May 13, 2020 · 2 comments
Open

Comments

@ElanHR
Copy link

ElanHR commented May 13, 2020

Similar to Wikipedia passages, individual Wikidata statements are often missing proper references and could benefit from a similar workflow.

I would be happy to try and implement this but would love any pointers of how/where to add this given the existing codebase. :)

@eggpi
Copy link
Owner

eggpi commented May 15, 2020

Hey Elan, thanks! This sounds like a good feature and it will be awesome if you get a chance to contribute :)

Your first step should probably be the CONTRIBUTING.md file, which will tell you how to set up a local CH for development.

Very broadly speaking, the way CH works is:

  1. Expand a certain category to find all articles with {{cn}} tags.
  2. Parse all articles to extract snippets, write the page ids and snippets to a database.
  3. Load all the categories for the articles, write those into the database too.

This is all driven by cron jobs in the scripts/ directory. I don't know much about Wikidata but conceptually I'd start by trying to figure out what the three steps above mean in this case: is there a way to get all unsourced statements on Wikidata? How do we present a statement to the user? Are there interesting groupings (like categories) of statements that we might want to load?

@lydiapintscher
Copy link

If we want to focus on statements that are most in need of a citation the it probably makes sense to look at the "citation needed"-constraint. The date of birth property for example has one: https://www.wikidata.org/wiki/Property:P569#P569$960c1d3c-4198-6f97-ee00-899f149c0a7e
Any statement with that property that doesn't have a reference then triggers a constraint violation warning like on the Item about me here: https://www.wikidata.org/wiki/Q18016466#P569

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants