File size: 4,189 Bytes
b7a602d
6470ed1
 
 
 
b7a602d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6470ed1
 
 
 
b7a602d
 
6470ed1
b7a602d
6470ed1
 
 
 
 
 
b7a602d
6470ed1
b7a602d
6470ed1
 
bb30ad9
 
6470ed1
 
 
 
 
 
 
 
 
 
 
b7a602d
 
 
bb30ad9
 
 
 
 
 
 
 
 
5df1cf6
 
 
 
bb30ad9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b7a602d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
language:
- en
size_categories:
- 100K<n<1M
dataset_info:
  features:
  - name: text
    dtype: string
  - name: id
    dtype: int64
  - name: triplets
    list:
    - name: object
      struct:
      - name: surfaceform
        dtype: string
      - name: uri
        dtype: string
    - name: predicate
      struct:
      - name: surfaceform
        dtype: string
      - name: uri
        dtype: string
    - name: subject
      struct:
      - name: surfaceform
        dtype: string
      - name: uri
        dtype: string
  - name: entities
    list:
    - name: surfaceform
      dtype: string
    - name: uri
      dtype: string
  - name: relations
    list:
    - name: surfaceform
      dtype: string
    - name: uri
      dtype: string
  - name: linearized_fully_expanded
    dtype: string
  - name: linearized_subject_collapsed
    dtype: string
  splits:
  - name: train
    num_bytes: 117206023
    num_examples: 223538
  - name: test
    num_bytes: 15597162
    num_examples: 29620
  - name: stratified_test_1K
    num_bytes: 608393
    num_examples: 1000
  - name: val
    num_bytes: 522524
    num_examples: 980
  download_size: 61105204
  dataset_size: 133934102
tags:
- wikipedia
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
  - split: stratified_test_1K
    path: data/stratified_test_1K-*
  - split: val
    path: data/val-*
---
# Dataset Card for "wiki-nre"

## Feature

The Wiki-NRE dataset displays a significant skew in its relations distribution: the top 10 relations constitute 92\% of the triplets, with the top 3 alone accounting for 69\%.
We have created `stratified_test_1K` whcih was downscaled from test set to 1,000 samples with balanced distribution of relations 

![image/png](https://cdn-uploads.huggingface.co/production/uploads/5fce0cfeb3dbf216ad31836a/G5niCayvz28i_-O3TKYHf.png)

![image/png](https://cdn-uploads.huggingface.co/production/uploads/5fce0cfeb3dbf216ad31836a/tm7VEUM1DHwsll4JwixWn.png)

## Catalog[Optional]

A corresponding catalog(a list of subset of entities and relations) can be found here: https://huggingface.co/datasets/saibo/wikinre_catalog

## Source

```bibtex
@inproceedings{trisedya-etal-2019-neural,
    title = "Neural Relation Extraction for Knowledge Base Enrichment",
    author = "Trisedya, Bayu Distiawan  and
      Weikum, Gerhard  and
      Qi, Jianzhong  and
      Zhang, Rui",
    editor = "Korhonen, Anna  and
      Traum, David  and
      M{\`a}rquez, Llu{\'\i}s",
    booktitle = "Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics",
    month = jul,
    year = "2019",
    address = "Florence, Italy",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/P19-1023",
    doi = "10.18653/v1/P19-1023",
    pages = "229--240",
    abstract = "We study relation extraction for knowledge base (KB) enrichment. Specifically, we aim to extract entities and their relationships from sentences in the form of triples and map the elements of the extracted triples to an existing KB in an end-to-end manner. Previous studies focus on the extraction itself and rely on Named Entity Disambiguation (NED) to map triples into the KB space. This way, NED errors may cause extraction errors that affect the overall precision and recall. To address this problem, we propose an end-to-end relation extraction model for KB enrichment based on a neural encoder-decoder model. We collect high-quality training data by distant supervision with co-reference resolution and paraphrase detection. We propose an n-gram based attention model that captures multi-word entity names in a sentence. Our model employs jointly learned word and entity embeddings to support named entity disambiguation. Finally, our model uses a modified beam search and a triple classifier to help generate high-quality triples. Our model outperforms state-of-the-art baselines by 15.51{\%} and 8.38{\%} in terms of F1 score on two real-world datasets.",
}
```


[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)