Thanks Laurence for all the info.

Regarding the license is not a problem, we just want to use it as a library to access wikibase.

We are working on a project to move the data from PhiloBiblon (, based on a proprietary database) to the Factgrid wikibase (, and the second part is to create a new customized site to search, show and edit items of Philobiblon doing queries to Factgrid wikibase. This site will be implemented using node.js and Vue.

In this case it seems more appropriate to use wikibase-sdk and wikibase-edit libraries, any suggestions will be well appreciated.

Best regards,
Josep Maria Formentí

On Tue, Oct 12, 2021 at 2:24 PM Laurence Parry <> wrote:
I'm probably not the best to answer this question (perhaps others who are active in this area could chime in?), but to start the ball rolling:

a) Consider the licencing.

Would your use of the official API code be considered more than mere aggregation? If so, the resulting work is likely to be under the GPL. If this is not acceptable to you, you probably want the MIT-licensed wikibase-sdk/-edit.

b) Does one offer functionality that others don't, which is of use to you?

I *suspect* the official API is oriented primarily towards tasks performed by the UI and other components developed by WMDE. That may mean it is available as part of a MediaWiki site, but it may not cover the use-case you require, or deliver it in a way that you'd like to consume it.

wikibase-sdk seems to support "simplify" functionality as shown in - conversely, if you want to edit, you need instead (but maybe you don't?). Similarly, it looks to have features for returning JSON from SPARQL, if you have a query service. As this is not part of the MediaWiki side of things, it looks like this is not covered in the official API. Some of this is covered in its grant application -

If you can share some aspect of your use-case and/or the expected execution environment (a gadget on a site? A node.js web-app accessing Wikidata remotely? Video game client?) it might help people offer more specific advice.

Best regards,
Laurence 'GreenReaper' Parry

From: jm <>
Sent: Monday, October 11, 2021 8:39:57 PM
To: <>
Subject: [Wikibase] Looking for a Javascript client
Hi all,

I'm looking for a javascript client to connect to a wikibase. I've found:
1) Official wikibase javascript client:
2) Wikibase sdk:

Which is more recommended? or another library?
Wikibaseug mailing list --
To unsubscribe send an email to