Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

Wikibase/FAQ

From mediawiki.org
This page is a translated version of the page Wikibase/FAQ and the translation is 35% complete.
Cette foire aux questions concernant Wikibase est un document vivant. Les membres de la communauté sont invités à y contribuer. Voir le paragraphe correspondant pour plus d'informations.

Généralités

Quelle est la différence entre Wikibase et Wikidata ?

Wikibase 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.

Fonctionnalités

Qu'a-t-on installé sur mon instance Wikibase ?

Depending on whether you installed Wikibase 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: <your Wikibase URL>/wiki/Special:AllPages?from=&to=&namespace=10
  • Installed extensions: <your Wikibase URL>/wiki/Special:Version#mw-version-ext

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 action=wbsetsitelink and query modules such as action=query&prop=pageterms. You access these modules via api.php 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:

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.

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.

Code source

Où peut-on trouver le code source ?

Qui maintient Wikibase ?

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

Wikibase/Suite and Wikibase/Docker 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.

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.

Comment rapporter les problèmes de sécurité dans Wikibase ?

Suivez les instructions sur la page Rapporter des bogues de sécurité .

Administration

Comment fonctionnent les droits dans Wikibase ?

See Wikibase/Permissions for a detailed explanation and a helpful table.

Comment personnaliser le logo ?

You can add your own logo by adding a $wgLogo line to your LocalSettings.php. For specific instructions, check out the corresponding entry in the MediaWiki FAQ.

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.

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.

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:

Service des requêtes

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: --start YYYYMMDDHHMMSS (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:

docker exec cluster_name_wdqs_1 bash -c '/wdqs/runUpdate.sh -h http://${WDQS_HOST}:${WDQS_PORT} -- --wikibaseUrl ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --conceptUri ${WIKIBASE_SCHEME}://${WIKIBASE_HOST} --entityNamespaces ${WDQS_ENTITY_NAMESPACES} --init --start 20210315120000'

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

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 Extension:UniversalLanguageSelector .

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

In particular:

Aide complémentaire

Comment poser des questions plus détaillées sur 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.

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.)

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.