Histropedia - Wikidata Query Timeline (beta)

Generate interactive timelines from live Wikidata SPARQL queries

Enter a SPARQL query:


Event density:


 Click to process the query and render the timeline

merge duplicate results?

Map variables (optional)

Choose which query variables are used for the basic timeline data, colour code and filtering options. Leave any/all fields blank for auto detection.

NOTE: Enter variable names without the preceding question mark (e.g. personLabel not ?personLabel)



Start date:

Start date precision:


End date:

End date precision:



Colour codes and filters

Colour code by:

Max no. of groups:

Filter by:

Share this Query and Timeline

Links are very long, a link shortener will come soon. To make things easier we reccomend copy the url to the clipboard and shortening it at tiny URL

Choose one of the export options, then copy the output below.

The JSON output can be loaded directly into any HistropediaJS timeline.

The Histropedia Sheets output can be pasted into a Google Spreadsheet for use with the Histropedia Sheets tool. This allows you to edit the timeline data in any desired way, or add custom events not available on Wikidata.

Any data used as a colour code or filter option will be included in the export.

If your query contains variables named "item", "itemDescription" or "wikipedia", then these will also be included automatically.