https://github.com/waldyrious/bookform
A web UI to add book data to Wikidata
https://github.com/waldyrious/bookform
Last synced: about 1 year ago
JSON representation
A web UI to add book data to Wikidata
- Host: GitHub
- URL: https://github.com/waldyrious/bookform
- Owner: waldyrious
- License: isc
- Created: 2025-05-04T07:54:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-07T15:19:41.000Z (about 1 year ago)
- Last Synced: 2025-05-14T13:25:20.303Z (about 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.mediawiki
Awesome Lists containing this project
README
== BookForm ==
This tool provides a convenient web interface to introduce data about individual books to Wikidata.
This is similar in spirit to the Cradle tool, but is specifically designed for books, and is able to create multiple items at once (for the book as a work, the specific edition, and the author).
=== How to use it ===
To use this, you need to have a Wikimedia account and be logged in.
{|
! Attention: Not ready to use
|-
| This tool is not yet ready for production use.
It is currently in development and testing.
You can try the interface out at https://waldyrious.github.io/bookform,
but do not actually use the resulting QuickStatements commands to make edits on Wikidata.
Once [https://github.com/waldyrious/bookform/milestone/1 these critical issues] are resolved,
it will be deployed in a public and well-advertised location.
|}
# Go to https://bookform.toolforge.org and fill in the form with the relevant information about the book.
# Click the "Generate QuickStatements" button and copy the resulting text.
# Go to the [https://tools.wmflabs.org/quickstatements/ QuickStatements tool] and log in with your Wikimedia account.
# Paste the QuickStatements instructions into the input box and click "Run" to execute the instructions and create the items on Wikidata.
=== How it works ===
Currently, it does not make edits directly to Wikidata;
rather, it creates QuickStatements instructions that can be copied and pasted into the QuickStatements tool.
These statements create three items on Wikidata, according to a common model for bibliographic data:
==== Author ====
{| class="wikitable"
|-
! Property !! Value
|-
! [https://www.wikidata.org/wiki/Property:P31 instance of (P31)]
| [https://www.wikidata.org/wiki/Q5 human (Q5)]
|-
! [https://www.wikidata.org/wiki/Property:P106 occupation (P106)]
| [https://www.wikidata.org/wiki/Q36180 writer (Q36180)]
|}
==== Work ====
{| class="wikitable"
! Property !! Value !! Example
|-
! [https://www.wikidata.org/wiki/Property:P31 instance of (P31)]
| colspan="2" | [https://www.wikidata.org/wiki/Q47461344 written work (Q47461344)]
|-
! [https://www.wikidata.org/wiki/Property:P1476 title (P1476)]
| <a string>
| "The Adventures of Tom Sawywer"
|-
! [https://www.wikidata.org/wiki/Property:P50 author (P50)]
| <an instance of [https://www.wikidata.org/wiki/Q5 human (Q5)]>
| [https://www.wikidata.org/wiki/Q7245 Mark Twain (Q7245)]
|}
==== Edition ====
{| class="wikitable"
|-
! Property !! Value !! Example
|-
! [https://www.wikidata.org/wiki/Property:P31 instance of (P31)]
| colspan="2" | [https://www.wikidata.org/wiki/Q3331189 version, edition or translation (Q3331189)])
|-
! [https://www.wikidata.org/wiki/Property:P577 publication date (P577)]
| <a year>
| 1876
|-
! [https://www.wikidata.org/wiki/Property:P629 edition or translation of (P629)]
| <the instance of [https://www.wikidata.org/wiki/Q47461344 written work (Q47461344)] created above>
|
|-
! [https://www.wikidata.org/wiki/Property:P212 ISBN-13 (P212)]
| <a string>
| "978-3-16-148410-0"
|}