Dates

When queries: Dates

These queries retrieve date information making it possible to present this information in the form of a timeline.

We recommend going over the introduction to Wikidata and learning about the structure of Wikidata, as well as the section regarding the simplest query before proceeding.

Let’s start with a simple example: The following query shows when the albums of the singer Madonna (Q1744) were released:

After running the query, scroll to the results. Above the table, click on the arrow next to the eye. A drop-down menu will pop up. Choose “Timeline” from the menu, and WDQS will display the results on a timeline.

Another way to display the results in the timeline view is to specify it in the query itself. The code on line 2, after the hashtag sign, tells the query that the query results should be shown not as a table, but as a timeline.

You don’t need to remember the exact code for the map view: thanks to the autocompletion function of WDQS, once you type a hashtag in the query window, a drop-down menu will suggest the different display options.

Skip to content