Wikidata-based Topic Models

This experimental tool is hosted on Toolforge. No guarantees are made that it will be maintained. No additional personal data is collected by this tool per the Cloud Services Terms of Use.

Wikidata Topic Classification

This first experimental API provides topic predictions for Wikipedia articles based on their Wikidata items.

Because it relies on Wikidata items, it is language-neutral and works for any Wikipedia article (with a Wikidata item).

Because it relies on Wikidata items, it has little data to go on with sparse Wikidata items.

Querying the API

Example: Toni Morrison (Q72334)

Or provide your own Wikidata ID:

Q



Wikipedia Topic Classification

This second experimental API provides topic predictions for Wikipedia articles based on their links to other Wikipedia articles (outlinks only).

It represents these links as Wikidata items -- e.g., a link to en:Menhaden is represented as Q218526.

Because it relies on Wikidata items, it is language-neutral and works for any Wikipedia article. However, unlike the above purely-Wikidata model, this model uses an article's links and will give different predictions depending on the language version of the article.

Because it relies on outlinks, it may have little data to go on for new articles that have few links or links to rarely-linked items.

Querying the API

Example: Toni Morrison (enwiki)

Or provide your own Wikipedia language and article title:

lang
title