DOI: 10.6084/m9.figshare.27234222
title: Automatically Generated Chemical KG

description: Abstract - In 2020, nearly 3 million scientific and engineering papers were published worldwide (White, K. Publications Output: U.S. Trends And International Comparisons). The vastness of the literature that already exists, the increasing rate of appearance of new publications, and the timely translation of artificial intelligence methods into scientific and engineering communities have ushered in the development of automated methods for mining and extracting information from technical documents. However, domain-specific approaches for extracting knowledge graph representations from semantic information remain limited. In this paper, we develop a natural language processing (NLP) approach to extract knowledge graphs resulting in a semantically structured network (SSN) that can be queried. After a detailed exposition of the modeling method, the approach is demonstrated specifically for the synthetic chemistry of organic molecules from the text of approximately 100,000 full-length patents. In this paper, we focus specifically on characterizing the knowledge graph to develop insights into the linguistic patterns and trends within the data and to establish objective graph characteristics that may enable comparisons among other text-based knowledge graphs across domains. Graph characterization is performed for network motif structures, assortativity, and eigenvector centrality. The structural information provided by the measures reveals language tendencies commonly employed by authors in the text discourse for chemical reactions. These include observations of the prevalence of descriptions of specific compound names, that common solvents and drying agents cut across large numbers of chemical synthesis approaches, and that power-law trends clearly emerge in the limit of larger corpora. The findings provide important quantitative characterizations of knowledge graphs for use in validation in large data settings.DOI of publication: 10.1021/acs.jcim.4c01904Description of data and formatting: This data represents the chemical network information extracted as a result of the efforts described within the corresponding paper. There are 2 files present in this repo. The <i>small_SSKG_sample.json </i>file is just a small snapshot of the larger file for use in unit testing. The <i>Full_SSKG.json </i>file is the complete graph extracted from the patent literature. The files are in JSON format and are intended to be loaded within Python as dictionaries. The <i>Full_SSKG.json </i>file is approximately 11GB in size when extracted. import json<br>with open('path/to/KGfile.json', 'r') as fp:data = json.load(fp)<br>ents = data["entities"] # this is a list of dictionary type items<br>rels = data["relations"] # this is a list of dictionary type itemsprint(ents[0])<br>print(rels[0])<br>Recommended visualization software: Cytoscape<br>The open source Cytoscape program was found to produce the most easily read graphics and was least likely to crash.<br><br>02/05/2025 Note: The full KG file should be uploaded within a week. <br>02/11/2025 Note: Full_SSKG.json is uploaded. <br><br><br>