Wikibase/FAQ/fr

Généralités


Quelle est la différence entre Wikibase et 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.



Existe-t-il une liste des instances Wikibase ?
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.

Installation


Comment installer Wikibase sur son propre système ?
Il existe actuellement trois options pour installer 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:



Faut-il choisir une installation manuelle ou par Docker ? quel est la plus utilisée ?
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.

Fonctionnalités


Qu'a-t-on installé sur mon instance Wikibase ?
Depending on whether you installed Wikibase manually or using our Docker images, or if you're using wikibase.cloud, the extensions and templates installed on your Wikibase can differ significantly. Your best bet is to take a look for yourself:


 * Installed templates:
 * Installed extensions:



Où peut-on trouver d'autres informations à propos du service des requêtes ?
Here’s Wikidata’s query service manual and some SPARQL examples.



Comment fonctionne la fédération ?
Check out our federation page.



Est-ce que Wikibase dispose d'une API web (telle que api.php) pour l'accès à distance ?
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.

Importation


Comment trouver les données dans Wikibase ?
Check out our import tools page.



QuickStatements ne répond pas à nos besoins, existe-t-il d'autres outils pour importer ?
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.



Modélisation des données


Comment fonctionnent les métaclasses dans Wikidata ? Comment influencent-elles le service des requêtes SPARQL ?
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.



Comment définir les contraintes dans 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.



Doit-on toujours spécifier clairement les relations réciproques dans 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.



Pourquoi la première propriété de Wikibase doit être 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.



Est-ce qu'une instance Wikibase est un graphe de connaissance ?
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.

<span id="Wikibase_users_can_design_their_own_data_model._Are_there_downsides_to_this?">

Les utilisateurs Wikibase peuvent définir leur propre modèle de données. Y-a-t-il des inconvénients à cela ?
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.

<span id="Source_code">

Code source
<span id="Where_can_I_find_the_source_code?">

Où peut-on trouver le code source ?
Check out our developer resources.

<span id="Who_maintains_Wikibase?">

Qui maintient 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.

<span id="Why_hasn&#039;t_a_particular_bugfix_been_applied_to_Wikibase?">

Pourquoi une correction de bogue donnée n'a-t-elle pas été appliquée dans 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.

<span id="How_should_I_report_security_issues_in_Wikibase?">

Comment rapporter les problèmes de sécurité dans Wikibase ?
Suivez les instructions sur la page.

Administration
<span id="How_do_permissions_work_in_Wikibase?">

Comment fonctionnent les droits dans Wikibase ?
See for a detailed explanation and a helpful table.

<span id="How_can_I_customize_the_logo?">

Comment personnaliser le 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.

<span id="Can_I_link_to_content_in_my_Wikibase’s_local_media_repository?">

Peut-on lier le contenu du dépôt de média local Wikibase ?
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.

<span id="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?">

Certaines données ne peuvent être publiques à cause des droits d'auteur. Est-il possible de masquer des éléments ou des proriétés dans l'instance Wikibase ?
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.

<span id="Technical_issues">

Problèmes techniques
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

<span id="Query_service">

Service des requêtes
<span id="Why_doesn&#039;t_the_query_service_update?">

Pourquoi le service de requête ne met pas à jour ?
Contexte

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.

Eviter le problème

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.

Corriger le problème

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.

<span id="There_are_very_few_languages_I_can_set_labels_for_in_a_new_item.">

Il n'existe que très peu de langues pour lesquelles il est possible de définir des libellés pour un nouvel élément
Make sure you have installed.

<span id="What_measures_can_I_take_to_protect_my_Wikibase_instance_against_spam?">

Quelles mesures prendre pour protéger une instance Wikibase du vandalisme ?

 * - The MediaWiki manual for combating spam

In particular:


 * - The rate limits setting
 * Patrolling
 * Patrolling

<span id="Further_help">

Aide complémentaire
<span id="How_can_I_ask_more_detailed_questions_about_Wikibase?">

Comment poser des questions plus détaillées sur Wikibase ?
Join the mailing list or seek help on the community Telegram channel.

<span id="Where_can_I_report_issues_or_problems_with_Wikibase?">

A qui faire remonter les erreurs et les problèmes de 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.

<span id="How_can_I_get_third-party_technical_support_for_my_Wikibase_instance?">

Comment obtenir un support technique tiers pour votre instance Wikibase ?
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.)

<span id="How_can_I_get_more_questions_and_answers_added_to_this_FAQ?">

Comment faire pour ajouter des questions / réponses à cette 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.