Find the Wikidata element corresponding to an entity we know in DBPedia

Suppose we are interested in an entity in DBPedia, for example: (associated web page

which describes the Caranavalet Museum.

We want to automatically find a possible entity in Wikidata describing the same entity.

In DBPedia, an entity is always associated with the Wikipedia page that was used to generate the DBPedia entity. This page is designated by the value associated with the property which makes it possible to give provenance information of the entity.

Here, the value is:

By following this link, we can retrieve the corresponding Wikipedia page (and, by the way, all the original text). What will interest us is a tag with the id “t-wikibase”, if present, it’s a link to a Wikidata entity corresponding to the page. This link is in the href property of the <a> tag contained in the element with id “t-wikibase”.


Its good. We found the Wikidata entity searched for:

This entry was posted in Non classé. Bookmark the permalink.