Files changed (3) hide show
  1. .gitattributes +0 -2
  2. README.md +34 -104
  3. dblp-discovery-dataset.py +0 -189
.gitattributes CHANGED
@@ -52,5 +52,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
52
  *.jpg filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
- authors.tsv filter=lfs diff=lfs merge=lfs -text
56
- papers.tsv filter=lfs diff=lfs merge=lfs -text
 
52
  *.jpg filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
 
 
README.md CHANGED
@@ -24,16 +24,8 @@ tags:
24
  task_categories:
25
  - other
26
  task_ids: []
27
- paperswithcode_id: d3
28
- dataset_info:
29
- - config_name: papers
30
- download_size: 15876152
31
- dataset_size: 15876152
32
- - config_name: authors
33
- download_size: 1177888
34
- dataset_size: 1177888
35
  ---
36
- # Dataset Card for DBLP Discovery Dataset (D3)
37
  ## Table of Contents
38
  - [Table of Contents](#table-of-contents)
39
  - [Dataset Description](#dataset-description)
@@ -59,114 +51,52 @@ dataset_info:
59
  - [Citation Information](#citation-information)
60
  - [Contributions](#contributions)
61
  ## Dataset Description
62
- - **Repository:** https://github.com/jpwahle/lrec22-d3-dataset
63
- - **Paper:** https://aclanthology.org/2022.lrec-1.283/
64
- - **Total size:** 8.71 GB
 
 
65
  ### Dataset Summary
66
- DBLP is the largest open-access repository of scientific articles on computer science and provides metadata associated with publications, authors, and venues. We retrieved more than 6 million publications from DBLP and extracted pertinent metadata (e.g., abstracts, author affiliations, citations) from the publication texts to create the DBLP Discovery Dataset (D3). D3 can be used to identify trends in research activity, productivity, focus, bias, accessibility, and impact of computer science research. We present an initial analysis focused on the volume of computer science research (e.g., number of papers, authors, research activity), trends in topics of interest, and citation patterns. Our findings show that computer science is a growing research field (15% annually), with an active and collaborative researcher community. While papers in recent years present more bibliographical entries in comparison to previous decades, the average number of citations has been declining. Investigating papers’ abstracts reveals that recent topic trends are clearly reflected in D3. Finally, we list further applications of D3 and pose supplemental research questions. The D3 dataset, our findings, and source code are publicly available for research purposes.
67
  ### Supported Tasks and Leaderboards
68
  [More Information Needed]
69
  ### Languages
70
- English
71
  ## Dataset Structure
72
  ### Data Instances
73
- Total size: 8.71 GB
74
- Papers size: 8.13 GB
75
- Authors size: 0.58 GB
76
  ### Data Fields
77
- #### Papers
78
- | Feature | Description |
79
- | --- | --- |
80
- | `corpusid` | The unique identifier of the paper. |
81
- | `externalids` | The same paper in other repositories (e.g., DOI, ACL). |
82
- | `title` | The title of the paper. |
83
- | `authors` | The authors of the paper with their `authorid` and `name`. |
84
- | `venue` | The venue of the paper. |
85
- | `year` | The year of the paper publication. |
86
- | `publicationdate` | A more precise publication date of the paper. |
87
- | `abstract` | The abstract of the paper. |
88
- | `outgoingcitations` | The number of references of the paper. |
89
- | `ingoingcitations` | The number of citations of the paper. |
90
- | `isopenaccess` | Whether the paper is open access. |
91
- | `influentialcitationcount` | The number of influential citations of the paper according to SemanticScholar. |
92
- | `s2fieldsofstudy` | The fields of study of the paper according to SemanticScholar. |
93
- | `publicationtypes` | The publication types of the paper. |
94
- | `journal` | The journal of the paper. |
95
- | `updated` | The last time the paper was updated. |
96
- | `url` | A url to the paper in SemanticScholar. |
97
-
98
- #### Authors
99
- | Feature | Description |
100
- | --- | --- |
101
- | `authorid` | The unique identifier of the author. |
102
- | `externalids` | The same author in other repositories (e.g., ACL, PubMed). This can include `ORCID` |
103
- | `name` | The name of the author. |
104
- | `affiliations` | The affiliations of the author. |
105
- | `homepage` | The homepage of the author. |
106
- | `papercount` | The number of papers the author has written. |
107
- | `citationcount` | The number of citations the author has received. |
108
- | `hindex` | The h-index of the author. |
109
- | `updated` | The last time the author was updated. |
110
- | `email` | The email of the author. |
111
- | `s2url` | A url to the author in SemanticScholar. |
112
  ### Data Splits
113
- - `papers`
114
- - `authors`
115
  ## Dataset Creation
116
  ### Curation Rationale
117
- Providing a resource to analyze the state of computer science research statistically and semantically.
118
  ### Source Data
119
  #### Initial Data Collection and Normalization
120
- DBLP and from v2.0 SemanticScholar
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  ## Additional Information
122
  ### Dataset Curators
123
- [Jan Philip Wahle](https://jpwahle.com/)
124
  ### Licensing Information
125
- The DBLP Discovery Dataset is released under the CC BY-NC 4.0. By using this corpus, you are agreeing to its usage terms.
126
  ### Citation Information
127
- If you use the dataset in any way, please cite:
128
- ```bib
129
- @inproceedings{Wahle2022c,
130
- title = {D3: A Massive Dataset of Scholarly Metadata for Analyzing the State of Computer Science Research},
131
- author = {Wahle, Jan Philip and Ruas, Terry and Mohammad, Saif M. and Gipp, Bela},
132
- year = {2022},
133
- month = {July},
134
- booktitle = {Proceedings of The 13th Language Resources and Evaluation Conference},
135
- publisher = {European Language Resources Association},
136
- address = {Marseille, France},
137
- doi = {},
138
- }
139
- ```
140
- Also make sure to cite the following papers if you use SemanticScholar data:
141
- ```bib
142
- @inproceedings{ammar-etal-2018-construction,
143
- title = "Construction of the Literature Graph in Semantic Scholar",
144
- author = "Ammar, Waleed and
145
- Groeneveld, Dirk and
146
- Bhagavatula, Chandra and
147
- Beltagy, Iz",
148
- booktitle = "Proceedings of the 2018 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 3 (Industry Papers)",
149
- month = jun,
150
- year = "2018",
151
- address = "New Orleans - Louisiana",
152
- publisher = "Association for Computational Linguistics",
153
- url = "https://aclanthology.org/N18-3011",
154
- doi = "10.18653/v1/N18-3011",
155
- pages = "84--91",
156
- }
157
- ```
158
- ```bib
159
- @inproceedings{lo-wang-2020-s2orc,
160
- title = "{S}2{ORC}: The Semantic Scholar Open Research Corpus",
161
- author = "Lo, Kyle and Wang, Lucy Lu and Neumann, Mark and Kinney, Rodney and Weld, Daniel",
162
- booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
163
- month = jul,
164
- year = "2020",
165
- address = "Online",
166
- publisher = "Association for Computational Linguistics",
167
- url = "https://www.aclweb.org/anthology/2020.acl-main.447",
168
- doi = "10.18653/v1/2020.acl-main.447",
169
- pages = "4969--4983"
170
- }
171
- ```### Contributions
172
- Thanks to [@jpwahle](https://github.com/jpwahle) for adding this dataset.
 
24
  task_categories:
25
  - other
26
  task_ids: []
 
 
 
 
 
 
 
 
27
  ---
28
+ # Dataset Card for [Dataset Name]
29
  ## Table of Contents
30
  - [Table of Contents](#table-of-contents)
31
  - [Dataset Description](#dataset-description)
 
51
  - [Citation Information](#citation-information)
52
  - [Contributions](#contributions)
53
  ## Dataset Description
54
+ - **Homepage:**
55
+ - **Repository:**
56
+ - **Paper:**
57
+ - **Leaderboard:**
58
+ - **Point of Contact:**
59
  ### Dataset Summary
60
+ [More Information Needed]
61
  ### Supported Tasks and Leaderboards
62
  [More Information Needed]
63
  ### Languages
64
+ [More Information Needed]
65
  ## Dataset Structure
66
  ### Data Instances
67
+ [More Information Needed]
 
 
68
  ### Data Fields
69
+ [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  ### Data Splits
71
+ [More Information Needed]
 
72
  ## Dataset Creation
73
  ### Curation Rationale
74
+ [More Information Needed]
75
  ### Source Data
76
  #### Initial Data Collection and Normalization
77
+ [More Information Needed]
78
+ #### Who are the source language producers?
79
+ [More Information Needed]
80
+ ### Annotations
81
+ #### Annotation process
82
+ [More Information Needed]
83
+ #### Who are the annotators?
84
+ [More Information Needed]
85
+ ### Personal and Sensitive Information
86
+ [More Information Needed]
87
+ ## Considerations for Using the Data
88
+ ### Social Impact of Dataset
89
+ [More Information Needed]
90
+ ### Discussion of Biases
91
+ [More Information Needed]
92
+ ### Other Known Limitations
93
+ [More Information Needed]
94
  ## Additional Information
95
  ### Dataset Curators
96
+ [More Information Needed]
97
  ### Licensing Information
98
+ [More Information Needed]
99
  ### Citation Information
100
+ [More Information Needed]
101
+ ### Contributions
102
+ Thanks to [@github-username](https://github.com/<github-username>) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dblp-discovery-dataset.py DELETED
@@ -1,189 +0,0 @@
1
- # coding=utf-8
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- # Lint as: python3
16
- """D3: A Massive Dataset of Scholarly Metadata for Analyzing Computer Science Research"""
17
-
18
- import json
19
- import os
20
- from typing import Any, Dict, Generator, List, Optional, Tuple, Union
21
-
22
- import datasets
23
- from datasets.tasks import TextClassification
24
- from lxml import etree
25
-
26
- logger = datasets.logging.get_logger(__name__)
27
-
28
-
29
- _CITATION = """\
30
- @inproceedings{wahle-etal-2022-d3,
31
- title = "D3: A Massive Dataset of Scholarly Metadata for Analyzing the State of Computer Science Research",
32
- author = "Wahle, Jan Philip and
33
- Ruas, Terry and
34
- Mohammad, Saif and
35
- Gipp, Bela",
36
- booktitle = "Proceedings of the Thirteenth Language Resources and Evaluation Conference",
37
- month = jun,
38
- year = "2022",
39
- address = "Marseille, France",
40
- publisher = "European Language Resources Association",
41
- url = "https://aclanthology.org/2022.lrec-1.283",
42
- pages = "2642--2651",
43
- abstract = "DBLP is the largest open-access repository of scientific articles on computer science and provides metadata associated with publications, authors, and venues. We retrieved more than 6 million publications from DBLP and extracted pertinent metadata (e.g., abstracts, author affiliations, citations) from the publication texts to create the DBLP Discovery Dataset (D3). D3 can be used to identify trends in research activity, productivity, focus, bias, accessibility, and impact of computer science research. We present an initial analysis focused on the volume of computer science research (e.g., number of papers, authors, research activity), trends in topics of interest, and citation patterns. Our findings show that computer science is a growing research field (15{\%} annually), with an active and collaborative researcher community. While papers in recent years present more bibliographical entries in comparison to previous decades, the average number of citations has been declining. Investigating papers{'} abstracts reveals that recent topic trends are clearly reflected in D3. Finally, we list further applications of D3 and pose supplemental research questions. The D3 dataset, our findings, and source code are publicly available for research purposes.",
44
- }
45
- """
46
-
47
- _DESCRIPTION = """This repository provides metadata to papers from DBLP."""
48
-
49
- _HOMEPAGE = "https://github.com/jpwahle/lrec22-d3-dataset"
50
-
51
- _LICENSE = (
52
- "DBLP Discovery Dataset (D3) is licensed under a Creative Commons"
53
- " Attribution-NonCommercial-ShareAlike 4.0 International License."
54
- )
55
-
56
- _URLS = [
57
- "https://zenodo.org/record/7071698/files/2022-11-30-authors.jsonl.gz?download=1"
58
- "https://zenodo.org/record/7071698/files/2022-11-30-papers.jsonl.gz?download=1",
59
- ]
60
-
61
-
62
- class D3Config(datasets.BuilderConfig):
63
- """BuilderConfig for GLUE."""
64
-
65
- def __init__(
66
- self,
67
- features,
68
- data_url,
69
- data_dir,
70
- **kwargs,
71
- ):
72
- super(D3Config, self).__init__(
73
- version=datasets.Version("2.0.0", ""), **kwargs
74
- )
75
- self.features = features
76
- self.data_url = data_url
77
- self.data_dir = data_dir
78
-
79
-
80
- class D3(datasets.GeneratorBasedBuilder):
81
- """D3 dataset."""
82
-
83
- BUILDER_CONFIGS = [
84
- D3Config(
85
- name="papers",
86
- features={
87
- "corpusid": datasets.Value("int64"),
88
- "title": datasets.Value("string"),
89
- "authors": datasets.Sequence(
90
- {
91
- "authorId": datasets.Value("int64"),
92
- "name": datasets.Value("string"),
93
- }
94
- ),
95
- "venue": datasets.Value("string"),
96
- "year": datasets.Value("int16"),
97
- "publicationdate": datasets.Value("string"),
98
- "abstract": datasets.Value("string"),
99
- "referencecount": datasets.Value("int64"),
100
- "citationcount": datasets.Value("int64"),
101
- "isopenaccess": datasets.Value("bool"),
102
- "influentialcitationcount": datasets.Value("int64"),
103
- "s2fieldsofstudy": datasets.Sequence(
104
- {
105
- "category": datasets.Value("string"),
106
- "source": datasets.Value("string"),
107
- }
108
- ),
109
- "publicationtypes": datasets.Sequence(
110
- datasets.Value("string")
111
- ),
112
- "journal": datasets.Value("string"),
113
- "updated": datasets.Value("string"),
114
- "url": datasets.Value("string"),
115
- "externalids": {
116
- "ACL": datasets.Value("string"),
117
- "DBLP": datasets.Value("string"),
118
- "ArXiv": datasets.Value("string"),
119
- "MAG": datasets.Value("string"),
120
- "CorpusId": datasets.Value("string"),
121
- "PubMed": datasets.Value("string"),
122
- "DOI": datasets.Value("string"),
123
- "PubMedCentral": datasets.Value("string"),
124
- },
125
- "syntactic": datasets.Sequence(datasets.Value("string")),
126
- "semantic": datasets.Sequence(datasets.Value("string")),
127
- "union": datasets.Sequence(datasets.Value("string")),
128
- "enhanced": datasets.Sequence(datasets.Value("string"))
129
- },
130
- data_url="https://zenodo.org/record/7071698/files/2022-11-30-papers.jsonl.gz?download=1",
131
- data_dir="papers",
132
- ),
133
- D3Config(
134
- name="authors",
135
- features={
136
- "authorid": datasets.Value("int64"),
137
- "name": datasets.Value("string"),
138
- "homepage": datasets.Value("string"),
139
- "papercount": datasets.Value("int64"),
140
- "citationcount": datasets.Value("int64"),
141
- "hindex": datasets.Value("int64"),
142
- "aliases": datasets.Sequence(datasets.Value("string")),
143
- "affiliations": datasets.Sequence(datasets.Value("string")),
144
- "updated": datasets.Value("string"),
145
- "s2url": datasets.Value("string"),
146
- "externalids": {
147
- "DBLP": datasets.Value("string"),
148
- "ORCID": datasets.Value("string"),
149
- }
150
- },
151
- data_url="https://zenodo.org/record/7071698/files/2022-11-30-authors.jsonl.gz?download=1",
152
- data_dir="authors",
153
- ),
154
- ]
155
-
156
- def _info(self):
157
- features = datasets.Features(self.config.features)
158
-
159
- return datasets.DatasetInfo(
160
- description=_DESCRIPTION,
161
- features=features,
162
- homepage=_HOMEPAGE,
163
- license=_LICENSE,
164
- citation=_CITATION,
165
- )
166
-
167
- def _split_generators(self, dl_manager):
168
- data_file = dl_manager.download_and_extract(self.config.data_url)
169
- return [
170
- datasets.SplitGenerator(
171
- name=datasets.Split.TRAIN,
172
- gen_kwargs={
173
- "filepaths": dl_manager.iter_files(data_file),
174
- "split": "train",
175
- },
176
- ),
177
- ]
178
-
179
- def _generate_examples(self, filepaths, split):
180
- """Yields examples."""
181
- for train_files in filepaths:
182
- with open(train_files, encoding="utf-8") as f:
183
- for id_, row in enumerate(f):
184
- data = json.loads(row)
185
- # For none open access papers, the abstract is not in the dataset
186
- # Replace it with an empty string
187
- if "abstract" not in data and self.config.name == "papers":
188
- data["abstract"] = ""
189
- yield id_, data