Wikibase/FAQ/ja

What is the difference between Wikibase and Wikidata?
 is a suite of knowledge-base software for managing linked open data, originally written for and still used by the Wikidata project.

Wikidata is the largest instance of Wikibase, a free knowledge base that anyone can edit. Its data is used by Wikipedia, by its sister projects and by anyone else who wants to make use of a large amount of open general-purpose data.

Is there a list of Wikibase instances?
Although there’s no single canonical list, on our Showcase page we highlight several notable instances. For more comprehensive information you can check out the voluntary Wikibase registry and this list of federated query endpoints.

How can I install Wikibase on my own system?
There are currently three options for installing Wikibase.


 * To install using our preconfigured Docker images, see.
 * For more information you can consult our Docker repository, or check out the containers themselves at the Docker hub.
 * You can find detailed manual installation instructions here:
 * And if you just want information about installing Wikibase alone, look here:

Should we choose a manual or a Docker install? Which is more common?
Our Docker install is easier, faster and offers a comparatively simple upgrade path. However, Docker adds a layer of administrative overhead and will require an extra set of skills to administer. Thus Docker may be more suitable for a test installation, unless your organization has a significant level of Docker expertise and experience in running and scaling Docker-based services in a permanent, production setup.

Our manual install is more complex and currently lacks a clean, unified upgrade path for all components, but it provides more flexibility and transparency for administrators and allows for easier scaling as a result. A manual install may be more suitable for a permanent, production setup.

We don’t have exact numbers, but while there are plenty of manual installs out there, many institutions start out with a Docker install.

Where can I find more info about the query service?
Here’s Wikidata’s query service manual and some SPARQL examples.

How does federation work?
Check out our federation page.

Does Wikibase ship with a web API (like api.php) for remote access?
Wikibase extends the standard MediaWiki action API with modules such as  and query modules such as. You access these modules via  like the rest of the API and you can use d:Special:ApiSandbox to explore the API. Some Wikimedia wikis run only the Wikibase client, while wikidata.org runs the full software.

How can I get data into Wikibase?
Check out our import tools page.

QuickStatements isn’t meeting our needs. What other import tools exist?
First of all, Wikimedia Deutschland is acutely aware of the need for reliable and robust import tooling for Wikibase.

Because Wikimedia Deutschland didn’t develop QuickStatements and doesn’t maintain it, we’re not in a position to address any issues or supplement its functionality. (QuickStatements was developed and is maintained by a community member, Magnus Manske.)

For an up-to-date and more thorough list, check out the import tools page. However, it’s worth noting the existence of a few more community tools:


 * OpenRefine recently added Wikibase import functionality alongside its existing reconciliation functionality.
 * For those conversant with Python, there’s WikibaseBot and the WikidataIntegrator library.

How do metaclasses work on Wikidata? How do metaclasses influence the SPARQL query service?
Some tools make a distinction between descriptors themselves and descriptors of those descriptors, but not Wikibase. Wikibase simply describes things, and the code makes no distinction between metaclasses and other classes. This is also true for SPARQL.

The practical upshot of this for your Wikibase instance is that you should stick to modelling your items and constructing your queries using "instance of" and "subclass of".

For a deep dive into such philosophical questions, check out WikiProject Ontology.

How do I set up constraints in Wikibase?
With the Wikibase Quality Constraints extension, you can add quality constraints when creating a property in Wikibase. For instance, for the image property (P18 over in Wikidata), you can constrain the image format (e.g., JPG, PNG, GIF -- here’s an example).

The instructions for setting up the extension as well as for adding and importing constraints are on our GitHub mirror. You’re free to add and alter constraints to suit your particular data set. You can also import Wikidata’s own quality constraints.

Should I always make reciprocal relationships clear in Wikibase?
That’s entirely up to you. You should base this decision entirely on the needs of your own data. There’s no downside to omitting a constraint that’s not needed; you may wish to avoid situations where a statement that’s fundamentally okay triggers an off-putting amount of constraint violations.

Why should a Wikibase’s first property be "SameAs"?
When you create a Wikibase instance, we recommend you create the "SameAs" property with the "URL" datatype as your first property (or one of the first). Then, when creating properties in your Wikibase, you’ll use the SameAs property in a statement to indicate that the property in question is the same as a property used in a different vocabulary elsewhere, such as in Wikidata, SKOS or OWL.

Example: the property you use to communicate the title of a work in your own Wikibase instance might have a "SameAs" statement that links to the equivalent property in Wikidata (P1476).

So: Why? Connecting different vocabularies by saying that property X in database A is the equivalent of property Y in database B makes exchanging data between these different databases much easier. You can ask questions of separate databases that use different vocabularies, linking the data together in spite of their differing vocabularies instead of hiding it all in a silo.

Is a Wikibase instance a knowledge graph?
The formal answer to this question is not as simple as yes or no. The Wikibase repository extension is not a knowledge graph in the semantic-web sense: it lacks queryable RDF. Wikibase instead stores data internally as JSON and makes that data available in various formats including, but not limited to, RDF.

Wikibase stores data in JSON instead of RDF because Wikibase’s data model is considerably more complex than a simple triple -- users may add references, qualifiers and ranks.

However, the suite of tools that support Wikibase does make Wikibase a knowledge graph, because tools such as the SPARQL query service constitute an RDF-based graph store.

Wikibase users can design their own data model. Are there downsides to this?
Wikibase’s flexibility gives users the ability and freedom to model their data collection in any way that suits their needs. But because Wikibase lacks a preexisting ontology (e.g., CIDOC-CRM, Bibframe or any other of the many existing options), interoperability becomes more difficult. By “interoperability” we mean the ability for separate systems and data collections to interact with one another.

So while every Wikibase user is free to employ their own domain-relevant model, there’s no guarantee that that model will have any cross-domain interoperability, making querying across instances of Wikibase more difficult.

However, Wikibase instances that use the Wikibase Manifest extension make it possible at least for users of other Wikibases to discover the mappings of that instance and providing some hope and clues as to how to interoperate.

Where can I find the source code?
Check out our developer resources.

Who maintains Wikibase?
The Wikibase extension is primarily maintained by the engineering teams of Wikimedia Deutschland.

and provide a software suite including not only the Wikibase extension to MediaWiki but also accompanying software like Elasticsearch, QuickStatements and the Wikidata Query Service. Other than Wikibase and the WDQS front end, Wikimedia Deutschland doesn't maintain any of these components.

Why hasn't a particular bugfix been applied to Wikibase?
Wikimedia Deutschland is dedicated to providing critical security fixes to all the Wikibase Suite components as they become available. But due to limited resources, Wikimedia Deutschland can't commit to adding any given new functionality or applying fixes to non-critical bugs in the software we don't maintain. Requests of that kind are best directed to the maintainers of each software component.

How should I report security issues in Wikibase?
Follow the instructions on the page.

How do permissions work in Wikibase?
See for a detailed explanation and a helpful table.

How can I customize the logo?
You can add your own logo by adding a  line to your. For specific instructions, check out the corresponding entry in the MediaWiki FAQ.

Can I link to content in my Wikibase’s local media repository?
While Wikibase doesn’t yet offer this functionality natively, there’s a community-developed extension that allows linking to local media in statements instead of media files on Wikimedia Commons. As with all community code, WMDE can’t provide official support for this extension. We hope someday to include similar functionality in the Wikibase core software.

Some of the data in our collection cannot be made public for copyright reasons. Can we hide certain items and properties in our Wikibase instance?
No, Wikibase currently offers no feature allowing users to hide particular items or properties.

A possible workaround would be to set up and maintain two separate Wikibase instances, one that holds the data that can be made public, and a second that holds the data that must remain private.

技術的な問題点
We cover many technical topics in our maintenance guide, the GitHub repository for our Docker images and our manual install documentation. Below you'll find help on some specific issues reported by users of Wikibase.

Docker
View open issues in our issue tracker:


 * Phabricator issues for wikibase-release-pipeline

Why doesn't the query service update?
Background

Wikibase's WDQS updater will refuse to ingest updates older than 30 days.

But when you start Wikibase's WDQS updater for the first time, the timestamp of the most recent edit is set to 30 days. So if you start a new instance of Wikibase with the query service and its updater, and you then stop the updater without making an edit, you guarantee that the updater will never again ingest an update.

 Avoiding the problem 

To avoid this problem, simply make a trivial edit after starting your query service & updater for the first time; also avoid gaps in updates longer than 30 days.

 Fixing the problem 

But if you find yourself in this situation already, you can fix it by stopping the updater and restarting it with the following flag: (that's four-digit year, two-digit month and day, and hours, minutes and seconds on a 24-hour clock)

The complete invocation should look something like this:

See this Phabricator ticket and this Blazegraph thread for more detail.

A less manual solution is underway; see this Phabricator ticket for more.

There are very few languages I can set labels for in a new item.
Make sure you have installed.

What measures can I take to protect my Wikibase instance against spam?

 * - The MediaWiki manual for combating spam

In particular:


 * - The rate limits setting
 * Patrolling
 * Patrolling

How can I ask more detailed questions about Wikibase?
Join the mailing list or seek help on the community Telegram channel.

Where can I report issues or problems with Wikibase?
You’re welcome to raise an issue on our Phabricator instance, where you can log in with your Wikimedia unified account or a Wikitech developer account.

For issues with the Docker install, tag your issue with Wikibase release strategy for optimal visibility.

Before you do, you may want to review the bug report guidelines.

How can I get third-party technical support for my Wikibase instance?
Take a look at the third-party consultants list. (This is a public wiki page; inclusion of a given provider doesn’t constitute an official endorsement by the Wikibase team.)

How can I get more questions and answers added to this FAQ?
If you have a question and answer that you think other Wikibase users might benefit from seeing here, please add it - just as you would edit any wiki page. (You may see further edits from one or more technical writers who will be keeping the page tidy and its categories and style consistent, but don't let that deter you!)

To begin a discussion about a question (and answer) that's not yet ready for print, visit the talk page.

If you have a question that is still seeking an answer, see the previous entries in this very Further help section.