Wikidata:PAWS

From Wikidata
Jump to navigation Jump to search

PAWS is a JupyterHub deployment for technical work around Wikimedia projects. It can also be used to edit Wikidata — see the recent changes made this way.

PAWS allow users to run :

SPARQL Jupyter notebook

[edit]

SPARQL notebook provides a notebook interface which allows to run SPARQL queries directly in the notebook.

Why use SPARQL notebook ?

[edit]

Using SPARQL notebook, you can have in the same document some text explaining what you're looking for, the source code of your SPARQL queries and the outcome of the queries. You can share the notebook using the "public link" or the "Voilà" option.

So, this is a very handy tool if you want to :

  • explore Wikidata using a set of SPARQL queries
  • tell a story using SPARQL queries

How to use SPARQL notebook ?

[edit]
List of available services you can choose.
%endpoint https://query.wikidata.org/bigdata/namespace/wdq/sparql
%format any
%display table
%show 10
%lang en
In the interface, you can put text in markdown cells and SPARQL queries in coding cells.


Examples

[edit]


R notebooks

[edit]

R is a programming language designed to deal with data. R notebooks allow to manipulate the data you retrieve from wikidata. You can use WikidataQueryServiceR and tidywikidatar libraries.

Examples

[edit]