bolun0206 KGraph commited on
Commit
2a86c5f
·
0 Parent(s):

Duplicate from KGraph/FB15k-237

Browse files

Co-authored-by: YHLong <KGraph@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ftz filter=lfs diff=lfs merge=lfs -text
6
+ *.gz filter=lfs diff=lfs merge=lfs -text
7
+ *.h5 filter=lfs diff=lfs merge=lfs -text
8
+ *.joblib filter=lfs diff=lfs merge=lfs -text
9
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tflite filter=lfs diff=lfs merge=lfs -text
29
+ *.tgz filter=lfs diff=lfs merge=lfs -text
30
+ *.wasm filter=lfs diff=lfs merge=lfs -text
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ # Audio files - uncompressed
36
+ *.pcm filter=lfs diff=lfs merge=lfs -text
37
+ *.sam filter=lfs diff=lfs merge=lfs -text
38
+ *.raw filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - compressed
40
+ *.aac filter=lfs diff=lfs merge=lfs -text
41
+ *.flac filter=lfs diff=lfs merge=lfs -text
42
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
43
+ *.ogg filter=lfs diff=lfs merge=lfs -text
44
+ *.wav filter=lfs diff=lfs merge=lfs -text
45
+ # Image files - uncompressed
46
+ *.bmp filter=lfs diff=lfs merge=lfs -text
47
+ *.gif filter=lfs diff=lfs merge=lfs -text
48
+ *.png filter=lfs diff=lfs merge=lfs -text
49
+ *.tiff filter=lfs diff=lfs merge=lfs -text
50
+ # Image files - compressed
51
+ *.jpg filter=lfs diff=lfs merge=lfs -text
52
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
53
+ *.webp filter=lfs diff=lfs merge=lfs -text
54
+ FB15k_mid2description.txt filter=lfs diff=lfs merge=lfs -text
55
+ train.txt filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - found
4
+ - crowdsourced
5
+ language:
6
+ - en
7
+ language_creators: []
8
+ license:
9
+ - cc-by-4.0
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: FB15k-237
13
+ size_categories:
14
+ - 100K<n<1M
15
+ source_datasets:
16
+ - original
17
+ tags:
18
+ - knowledge graph
19
+ - knowledge
20
+ - link prediction
21
+ - link
22
+ task_categories:
23
+ - other
24
+ task_ids: []
25
+ ---
26
+
27
+ # Dataset Card for FB15k-237
28
+
29
+ ## Table of Contents
30
+ - [Dataset Card for FB15k-237](#dataset-card-for-fb15k-237)
31
+ - [Table of Contents](#table-of-contents)
32
+ - [Dataset Description](#dataset-description)
33
+ - [Dataset Summary](#dataset-summary)
34
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
35
+ - [Languages](#languages)
36
+ - [Dataset Structure](#dataset-structure)
37
+ - [Data Instances](#data-instances)
38
+ - [Data Fields](#data-fields)
39
+ - [Data Splits](#data-splits)
40
+ - [Dataset Creation](#dataset-creation)
41
+ - [Curation Rationale](#curation-rationale)
42
+ - [Source Data](#source-data)
43
+ - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
44
+ - [Who are the source language producers?](#who-are-the-source-language-producers)
45
+ - [Annotations](#annotations)
46
+ - [Annotation process](#annotation-process)
47
+ - [Who are the annotators?](#who-are-the-annotators)
48
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
49
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
50
+ - [Social Impact of Dataset](#social-impact-of-dataset)
51
+ - [Discussion of Biases](#discussion-of-biases)
52
+ - [Other Known Limitations](#other-known-limitations)
53
+ - [Additional Information](#additional-information)
54
+ - [Dataset Curators](#dataset-curators)
55
+ - [Licensing Information](#licensing-information)
56
+ - [Citation Information](#citation-information)
57
+ - [Contributions](#contributions)
58
+
59
+ ## Dataset Description
60
+
61
+ - **Homepage:** [https://deepai.org/dataset/fb15k-237](https://deepai.org/dataset/fb15k-237)
62
+ - **Repository:**
63
+ - **Paper:** [More Information Needed](https://paperswithcode.com/dataset/fb15k-237)
64
+ - **Leaderboard:**
65
+ - **Point of Contact:**
66
+
67
+ ### Dataset Summary
68
+
69
+ FB15k-237 is a link prediction dataset created from FB15k. While FB15k consists of 1,345 relations, 14,951 entities, and 592,213 triples, many triples are inverses that cause leakage from the training to testing and validation splits. FB15k-237 was created by Toutanova and Chen (2015) to ensure that the testing and evaluation datasets do not have inverse relation test leakage. In summary, FB15k-237 dataset contains 310,079 triples with 14,505 entities and 237 relation types.
70
+
71
+ ### Supported Tasks and Leaderboards
72
+
73
+ Supported Tasks: link prediction task on knowledge graphs.
74
+
75
+ Leaderboads:
76
+ [More Information Needed](https://paperswithcode.com/sota/link-prediction-on-fb15k-237)
77
+
78
+ ### Languages
79
+
80
+ [More Information Needed]
81
+
82
+ ## Dataset Structure
83
+
84
+ ### Data Instances
85
+
86
+ [More Information Needed]
87
+
88
+ ### Data Fields
89
+
90
+ [More Information Needed]
91
+
92
+ ### Data Splits
93
+
94
+ [More Information Needed]
95
+
96
+ ## Dataset Creation
97
+
98
+ ### Curation Rationale
99
+
100
+ [More Information Needed]
101
+
102
+ ### Source Data
103
+
104
+ #### Initial Data Collection and Normalization
105
+
106
+ [More Information Needed]
107
+
108
+ #### Who are the source language producers?
109
+
110
+ [More Information Needed]
111
+
112
+ ### Annotations
113
+
114
+ #### Annotation process
115
+
116
+ [More Information Needed]
117
+
118
+ #### Who are the annotators?
119
+
120
+ [More Information Needed]
121
+
122
+ ### Personal and Sensitive Information
123
+
124
+ [More Information Needed]
125
+
126
+ ## Considerations for Using the Data
127
+
128
+ ### Social Impact of Dataset
129
+
130
+ [More Information Needed]
131
+
132
+ ### Discussion of Biases
133
+
134
+ [More Information Needed]
135
+
136
+ ### Other Known Limitations
137
+
138
+ [More Information Needed]
139
+
140
+ ## Additional Information
141
+
142
+ ### Dataset Curators
143
+
144
+ [More Information Needed]
145
+
146
+ ### Licensing Information
147
+
148
+ [More Information Needed]
149
+
150
+ ### Citation Information
151
+
152
+ ```
153
+ @inproceedings{schlichtkrull2018modeling,
154
+ title={Modeling relational data with graph convolutional networks},
155
+ author={Schlichtkrull, Michael and Kipf, Thomas N and Bloem, Peter and Berg, Rianne van den and Titov, Ivan and Welling, Max},
156
+ booktitle={European semantic web conference},
157
+ pages={593--607},
158
+ year={2018},
159
+ organization={Springer}
160
+ }
161
+ ```
162
+
163
+ ### Contributions
164
+
165
+ Thanks to [@pp413](https://github.com/pp413) for adding this dataset.
data/FB15k_mid2description.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0530d81b97d76538a19f09626eb654563120c9777e8ce67c0f7facf29f801c9f
3
+ size 13152112
data/FB15k_mid2name.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/MSR-LA_Data_Full Rights_FB15K-237 Knowledge Base Completion Dataset (2650).docx ADDED
Binary file (38.5 kB). View file
 
data/README.txt ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FB15K-237 Knowledge Base Completion Dataset
2
+
3
+ This dataset contains knowledge base relation triples and textual mentions of Freebase entity pairs, as used in the work published in [1] and [2].
4
+ The knowledge base triples are a subset of the FB15K set [3], originally derived from Freebase. The textual mentions are derived from 200 million sentences from the ClueWeb12 [5] corpus coupled with Freebase entity mention annotations [4].
5
+
6
+
7
+ FILE FORMAT DETAILS
8
+
9
+ The files train.txt, valid.txt, and test.text contain the training, development, and test set knowledge base triples used in both [1] and [2].
10
+ The file text_cvsc.txt contains the textual triples used in [2] and the file text_emnlp.txt contains the textual triples used in [1].
11
+
12
+ The knowledge base triples contain lines like this:
13
+
14
+ /m/0grwj /people/person/profession /m/05sxg2
15
+
16
+ The format is:
17
+
18
+ mid1 relation mid2
19
+
20
+ The separator is a tab character; the mids are Freebase ids of entities, and the relation is a single or a two-hop relation from Freebase, where an intermediate complex value type entity has been collapsed out.
21
+
22
+ The textual mentions files have lines like this:
23
+
24
+ /m/02qkt [XXX]:<-nn>:fact:<-pobj>:in:<-prep>:game:<-nsubj>:'s:<ccomp>:pivot:<nsubj>:[YYY] /m/05sb1 3
25
+
26
+ This indicates the mids of two Freebase entities, together with a fully lexicalized dependency path between the entities. The last element in the tuple is the number of occurrences of the specified entity pair with the given dependency path in sentences from ClueWeb12.
27
+ The dependency paths are specified as sequences of words (like the word "fact" above) and labeled dependency links (like <nsubj> above). The direction of traversal of a dependency arc is indicated by whether there is a - sign in front of the arc label "e.g." <-nsubj> vs <nsubj>.
28
+
29
+
30
+ REFERENCES
31
+
32
+ [1] Kristina Toutanova, Danqi Chen, Patrick Pantel, Hoifung Poon, Pallavi Choudhury, and Michael Gamon. Representing text for joint embedding of text and knowledge bases. In Proceedings of EMNLP 2015.
33
+ [2] Kristina Toutanova and Danqi Chen. Observed versus latent features for knowledge base and text inference. In Proceedings of the 3rd Workshop on Continuous Vector Space Models and Their Compositionality 2015.
34
+ [3] Antoine Bordes, Nicolas Usunier, Alberto Garcia Duran, Jason Weston, and Oksana Yakhnenko. Translating embeddings for modeling multirelational data. In Advances in Neural Information Processing Systems (NIPS) 2013.
35
+ [4] Evgeniy Gabrilovich, Michael Ringgaard, and Amarnag Subramanya. FACC1: Freebase annotation of ClueWeb corpora, Version 1 (release date 2013-06-26, format version 1, correction level 0). http://lemurproject.org/clueweb12/FACC1/
36
+ [5] http://lemurproject.org/clueweb12/
37
+
38
+
39
+ CONTACT
40
+
41
+ Please contact Kristina Toutanova kristout@microsoft.com if you have questions about the dataset.
data/test.txt ADDED
The diff for this file is too large to render. See raw diff
 
data/train.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e4c2782169af21e9743f3b1d200886f5d595bf6bc504ec1351720949c5cdfae
3
+ size 21277292
data/valid.txt ADDED
The diff for this file is too large to render. See raw diff