|
--- |
|
dataset_info: |
|
features: |
|
- name: wiki_title |
|
dtype: string |
|
- name: popularity |
|
dtype: int64 |
|
- name: qid |
|
dtype: string |
|
splits: |
|
- name: en |
|
num_bytes: 1049005 |
|
num_examples: 26270 |
|
download_size: 819673 |
|
dataset_size: 1049005 |
|
configs: |
|
- config_name: default |
|
data_files: |
|
- split: en |
|
path: data/en-* |
|
license: mit |
|
language: |
|
- en |
|
tags: |
|
- Wikipedia |
|
- Entity |
|
- QID |
|
- Popularity |
|
- Knowledge |
|
--- |
|
|
|
|
|
|
|
# Entity Popularity Dataset |
|
|
|
This dataset contains information for about 26,000 entities, including the Wikipedia article title, QID, and the annual article view count for the year 2021. |
|
The annual article view count can be considered as an indicator of the popularity of a entity. |
|
|
|
|
|
|
|
|
|
## Languages |
|
This dataset is composed in English. |
|
|
|
|
|
|
|
## Dataset Structure |
|
|
|
```python |
|
from datasets import load_dataset |
|
|
|
dataset = load_dataset("masaki-sakata/entity_popularity")["en"] |
|
|
|
print(dataset) |
|
# Dataset({ |
|
# features: ['wiki_title', 'popularity', 'qid'], |
|
# num_rows: 26270 |
|
# }) |
|
|
|
``` |
|
|
|
Each line in the dataset has the following attributes: |
|
|
|
- `wiki_title`: The title of the Wikipedia page. |
|
- `popularity`: The popularity score. This value represents the annual page views for the Wikipedia article corresponding to the `wiki_title`, obtained using the Wikipedia API for the year 2021. |
|
- `qid`: The unique identifier of the item in [Wikidata](https://www.wikidata.org/wiki/Wikidata:Main_Page). |
|
|
|
Here is an example: |
|
|
|
```json |
|
{"wiki_title":"FC Barcelona","popularity":5389420.0,"qid":"Q7156"} |
|
``` |