Wikidata:WikidataComplete

From Wikidata
Jump to navigation Jump to search

WikidataComplete is a gadget which shows the missing properties and provides meaningful suggestions to complete for an entity. The gadget extracts facts from text and offers users for validation.

Motivation[edit]

The WikidataComplete gadget aims to regularly update information on the Wikidata with providing true information from text sources (such as Knowledge Bases) with the feature for supplying correct information by manually approving or rejecting the fact. So in a community driven which do thousands of edits on the data every day we need to update the Knowledge base regularly such as Wikidata.

Impact[edit]

It would provide a great impact by regular updation of Knowledge bases and people will be able to create more precise edits to the Wikidata. It's intended for the serious user base who love Wikidata editing and reading.

How it Works[edit]

Frontend[edit]

The gadget is written in JavaScript and CSS. The data shown from the dataset is through fetching the data from the WikidataComplete API.

Backend for Knowledge Base[edit]

The backend for the data abstraction can be seen here.

Backend for integration of facts on Wikidata[edit]

The facts are integrated by the use of Wikidata APIs. So we call the following APIs for the integration:

  • Wbcreateclaim: For creating a new claim for an item
  • Wbsetreference: Adding a reference for the fact.
  • WikidataComplete API: For accepting and rejecting the fact.

If the fact is approved, then the wbcreateclaim is called for creating a new property with its data. After that, wbreference sets two references for Wikipedia link and quotation. If the fact is accepted, then the fact is integrated to Wikidata and updated at the Knowledge base as the accepted fact in WikidataComplete KB. If the fact is rejected, it sends a request to WikidataComplete for the fact has been rejected.

Installation[edit]

Add the following line to Special:MyPage/common.js to activate the gadget (or to m:Special:MyPage/global.js if you maintain a global.js file):

mw.loader.load('//www.wikidata.org/w/index.php?title=User:Data-Complete-Gadget/WikidataComplete.js&action=raw&ctype=text/javascript');

Contact Details of Project Maintainers[edit]

  • Dennis Diefenbach: dennis.diefenbach@googlemail.com
  • Andreas Both: andreas.both@hs-anhalt.de
  • Aleksandr Perevalov: aleksandr.perevalov@hs-anhalt.de
  • Kunpeng Guo: gabin.guo@gmail.com
  • Dhairya Khanna: dhairya3124@gmail.com

More Information[edit]

Source Code[edit]

The source code can be seen at our GitHub repository for contributing to the gadget. Do not hesitate to contribute or fork the source code.