50% developed

WikidataMap user guide/Printable version

From Wikibooks, open books for an open world
Jump to navigation Jump to search

WikidataMap user guide

The current, editable version of this book is available in Wikibooks, the open-content textbooks collection, at

Permission is granted to copy, distribute, and/or modify this document under the terms of the Creative Commons Attribution-ShareAlike 3.0 License.

What WDM can do for you

What is Wikidata Map?[edit | edit source]

In short the Wikidata Map (WDM) App works like a search engine with additional functions.

WDM enables searching, local storing and processing of data which is contained in the Wikidata project.

In WDM mode you can search Wikidata items, (lexemes) words and properties.

In browser mode you can search with search engine startpage.

In db mode you can search and update entries.Those entries can be exported as xml file.

What is Wikidata?[edit | edit source]

Wikidata is the central place for all Wikipedia and Wikimedia information.

There is nearly nothing on earth which is not referenced in Wikidata. Items / tags which are missing can be added or updated there according to the rules.

Future usage[edit | edit source]

WDM (Wikidata Map) will enrich this data further and will get further functions for coding and translation.

Privacy[edit | edit source]

Our WDM server is currently located in Europe. Normally your queries do not leave traces besides at the Wikidata server and in our logs.

Getting started

Getting started

How to start ...[edit | edit source]

For WDM Wikidata mode (which is default) please check internet connectivity.

Then simply enter your tag/word in any language and activate the green <send> arrow.

WDM: How to query or send

Note that input can be multiline (consisting of multiple lines) also.

The default results are so called Wikidata items and look like this:

WDM: results from Wikidata for item "universe"

A maximum of 50 results from Wikidata is possible.

Say you want to save item "universe" with default priority (which is "H"):

Simply activate the <download> button of the entry.

WDM: signalling a successful save for an entry

The <grey> color of the <download> button now signals the <store> action.

Say you are further interested in the Item "universe":

1) Simply select the link icon under the <action> combobox.

WDM: how to change action for all entries

As result <action> buttons of all entries switch into <open link> action mode.

2) Then activate <action> button of this entry.

WDM: activate <open link> for entry - here wikidata

Clicking on the <action> button of the "universe" entry opens Wikidata details in the local browser.

WDM: Wikidata entry Q1 opened

When logged in in Wikidata you also see your notice alarms.

With the <edit> pencil you can for example improve translations.

You can further scroll down in the Wikidata information for example to see images:

WDM: details of an Wikidata entry

To return to WDM use the <back> arrow:

WDM: how to return from browser

What WDM can do for you · Local search and edit in database

Wikidata queries

Here the three search types are selectable:

  1. item
  2. word / lexeme
  3. property

1) searches regular items in Wikidata

2) searches for words / lexemes in Wikidata

3) searches for properties in Wikidata

WDM types

Browser queries

query with search engine startpage ...

WDM browser search

result of query ...

screenshot of Android app wikidataMap for browser search hello in year 2021

then the search tag can be saved by switching to the "save" action ...

saving a browser search tag in app wikidataMap

via the database and switching to open action the search can be recalled.

note that the search in the db is possible via % symbol.

recall search in the wikidatamap database

Local search and edit in database

Local search and edit in database ...[edit | edit source]

The WDM database mode can always be used: when internet is or is not connected.

1) Switch the WDM mode to the db icon.

WDM: switch to local DB

2) activate <send> button for your keyword or wildcard (univ%)

WDM: search in local DB
WDM: local search result for "universe"

The result signaling the saved entry if you saved it before.

The entry contains your selected Priority, the label, the description, the timestamp of the save.

Activating the <open link> on the entry opens the link for the entry.

Entering % shows all your stored entries. Entering a% shows all entries starting with a.

Soon with the next update of the app the entries will come in alfa order.

To delete an entry select the <delete> action on the right and then activate the delete on the entry

WDM: delete entry in local DB

To save a value for an entry ...

1) first search for the entry

2) then enter value like this

The result looks like this.

Getting started · Requirements for Ankit

Export DB or Import XML file

Menu: Export / Import[edit | edit source]

Menu: Export & Import and link to website of creators

If for example WDM export gets activated a XML file gets created with all your entries from the local DB,

With an installed filemanager from Playstore like Total Commander you can inspect or adapt the file.

For the import it is currently important to know that the data gets loaded on top of existing entries in the local db.

If you want to start clean when you import then you first have to delete existing entries in db.

Format of WikidatMap XML[edit | edit source]




   <wd_desc>water frozen into the solid state</wd_desc>



   <timestamp>06 Sep. 2021 19:56:12</timestamp>


        <value>Peters water</value>




   <wd_desc>part of a naming scheme for individuals, used in many cultures worldwide</wd_desc>

   <wd_label>family name</wd_label>


   <timestamp>15 Sep. 2021 08:32:45</timestamp>





   <query_text>,,l test</query_text>

   <wd_desc>English, verb</wd_desc>



   <timestamp>17 Sep. 2021 20:41:52</timestamp>




Java functions

Default function for entries:

if (r.inEntry) { r.popup(r.rE.getWdLabel());} 

r is the variable for the beanshell root class.

Requirements for Ankit

Java functions[edit | edit source]

Default function for execution on entries:

if (r.inEntry) { r.popup(r.rE.getWdLabel());}  //r.prefix("");

The "execute" action is defined as green send arrow icon. Local search and edit in database