Wikidata:Tools/Wikidata for Web

From Wikidata
Jump to navigation Jump to search
Translate this page; This page contains changes. Please contact a translation admin to mark them for translation.
Douglas Adams on Wikipedia with Wikidata for Firefox

Wikidata for Web (Q99894727) (also known as Wikidata for Firefox) is a browser extension for Mozilla Firefox that displays data from Wikidata on various websites, enhancing the information you are already looking at, and also allows extraction of data from these websites.

The Getty Museum's page on Leonardo da Vinci being enhanced by information from Wikidata

The source code is available on Github.

How it works

[edit]

Wikidata for Firefox matches external IDs from URLs you visit, with the Wikidata API, and displays the Wikidata entity in a sidebar. If the ID is not yet found in Wikidata, it offers to search the entity on Wikidata and also save it.

For example if you were looking at Tim Berners-Lee's Twitter profile in your browser, Wikidata for Web (using the URL match pattern (P8966) it has stored for twitter), recognises the URL is for twitter and it contains Tim's Twitter handle timberners_lee, and that in turn is part of Tim Berners-Lee (Q80) entry on Wikidata, if there wasn't an entry you are then presented the option of creating a new wikidata record or (ideally) linking it with an existing one

Data mining

[edit]

It is also possible to extract data from links found in the current page and save them in Wikidata with appropriate reference statements.

The add a statement feature highlights links within the current page that are associated to a Wikidata entity. These links can be used to create statements between the item of the current page and the item of the linked page.

If the statement-to-be was already present, a reference will be added to the existing statement.

Tutorials

[edit]