wikidata-from-article
/wikidata-from-article
Compare an article with its Wikidata item and draft the statements the item is missing (birth/death dates and places, occupation, teachers/students, works) with references to the article's own sources, as a linted QuickStatements batch. Also reports infobox-vs-Wikidata conflicts. Use when the user wants to enrich a Wikidata item from an article, or create an item for an article that has none.
- Author
- muzaffar-murodovich ↗
- Repository
- wiki-agent-kit ↗
- Licence
- MIT
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Compare an article with its Wikidata item and draft the statements the item is missing (birth/death dates and places, occupation, teachers/students, works) with references to the article's own sources, as a linted QuickStatements batch. Also reports infobox-vs-Wikidata conflicts. Use when the user wants to enrich a Wikidata item from an article, or create an item for an article that has none.
Arguments
/wikidata-from-article <article title> [site]
Original author description
Compare an article with its Wikidata item and draft the statements the item is missing (birth/death dates and places, occupation, teachers/students, works) with references to the article's own sources, as a linted QuickStatements batch. Also reports infobox-vs-Wikidata conflicts. Use when the user wants to enrich a Wikidata item from an article, or create an item for an article that has none.
How it works
SKILL.md has no level-two headings · 20 lines, 314 words
SKILL.md preview
--- name: wikidata-from-article description: Compare an article with its Wikidata item and draft the statements the item is missing (birth/death dates and places, occupation, teachers/students, works) with references to the article's own sources, as a linted QuickStatements batch. Also reports infobox-vs-Wikidata conflicts. Use when the user wants to enrich a Wikidata item from an article, or create an item for an article that has none. argument-hint: "<article title> [site]" --- # Enrich Wikidata from an article Article: $ARGUMENTS. Default site: `en`. 1. Call `fetch_page(title, site, save_to=…)` to get the wikitext and the `qid`. - **If there is no item:** run `wd_search` on the title and its main alternative names, and show the user the candidates. Most "missing" items exist under another label. Draft a `CREATE` batch only if the user confirms that none of them match. 2. Call `wd_entity(qid, "en|<user lang>")` to see what the item already says. 3. Call `wd_infobox_check(title, site)` to find years where the article and the item disagree. Report these first. They are errors on one side or the other, and only a human with the sources can say which. 4. Read the infobox and the lead. For each fact the item lacks, find the value as a Wikidata item, using `wd_search` and checking the description. Never guess a QID. - Typical properties: P569/P570 (dates), P19/P20 (places), P106 (occupation), P1066/P802 (student of / student), P800 (notable work), P140 (religion), P27 (citizenship), P1412 (languages). 5. Draft QuickStatements V1, one statement per line. - **Every line carries a source.** Use `S143` (imported from Wikimedia project) with the wiki's item, e.g. `Q328` for English Wikipedia, plus `S4656` with the permanent URL. - Better still, when the article cites a reliable source for that fact, use `S248` with that source's item, if it has one. - **Dates** use `+YYYY-MM-DDT00:00:00Z/precision`: 9 = year, 10 = month, 11 = day. A Hijri date is not a Gregorian date. Leave out anything the article gives only in the Hijri calendar, unless it also states the Gregorian equivalent. 6. Lint the batch with `wd_check_quickstatements`, fix it, and lint again. 7. Hand over the batch, what each line asserts in plain words, and the instructions for running it in QuickStatements. The human runs it. Do not add a statement the article does not support. "Probably" is not a value.
Versions
The database has no other skills named wikidata-from-article.
Database snapshot: 13.11.2026 · package version dea8f56afd85 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 86wikidata-labels
Fill missing Wikidata labels and descriptions in one language for a set of items — the items linked from an article, a translation job, or a list of QIDs — as a linted QuickStatements batch the human runs. Use when the user wants Wikidata labels/descriptions in their language,… - 100wikidata-knowledge
Query Wikidata for structured knowledge using SPARQL and entity search. Use when: (1) finding structured facts about entities (people, places, organizations), (2) querying relationships between entities, (3) cross-referencing external identifiers (Wikipedia, VIAF, GND, ORCID),… - 100wiki-lookup
Looks up Wikipedia in any language and Wikidata without a key, through the official APIs with a User-Agent that Wikimedia accepts (fetching wikipedia.org with an empty one gets HTTP 403) - search titles, an article's lead with its revision id for citing, full plain text or one… - 90translate-article
Translate a Wikipedia (or other wiki) article into another language's wiki with links, categories, templates and references mapped through Wikidata, then hand the human a checked draft and an attribution edit summary. Use when the user asks to translate an article, create an…