遇见数据集

CodeOntology OpenJDK8 Dataset

收藏
Figshare2018-03-07 更新2026-04-29 收录
官方服务:

资源简介:

Dataset extracted from the source code of OpenJDK 8: http://openjdk.java.net/, generated by using the CodeOntology parser.This dataset is a breakdown in 4 different files of the dataset at: https://doi.org/10.5281/zenodo.579977structuralInformation.nt - Structural information on source code: 1981108 triplesannotations.nt - DBpedia links: 309688 triplessourceCodeLiterals.nt - Actual source code as literals: 134757 triplescomments.nt - Literal Comments: 105881 triplesThe dataset includes different kinds of triples: structural information extracted from source code, DBpedia links generated from javadoc comments, actual source code as literals and literal comments.Background:The associated publication describes the development of CodeOntology as a community-shared software framework supporting expressive queries over source code. This dataset is the product of the CodeOntology parser, which is able to analyze Java source code and serialize it into RDF triples, applied to the source code of OpenJDK 8, gathering a structured dataset consisting of more than 2 million RDF triples. CodeOntology allows the generation of Linked Data from any Java project, thereby enabling the execution of highly expressive queries over source code, by means of a powerful language like SPARQL.A tutorial video is available at https://youtu.be/bd6pvUDy8kAMore information at the CodeOntology website: http://codeontology.org/

本数据集提取自OpenJDK 8的源代码,源码来源地址为http://openjdk.java.net/,由CodeOntology解析器(CodeOntology parser)生成。该数据集是原数据集(https://doi.org/10.5281/zenodo.579977)拆分为4个文件后的版本,各文件详情如下: - structuralInformation.nt:源代码结构信息文件,包含1981108条RDF三元组(RDF triples) - annotations.nt:DBpedia链接(DBpedia)文件,包含309688条RDF三元组 - sourceCodeLiterals.nt:以字面量形式存储的实际源代码文件,包含134757条RDF三元组 - comments.nt:字面量形式注释文件,包含105881条RDF三元组 本数据集涵盖四类RDF三元组:从源代码中提取的结构信息、从Javadoc注释(Javadoc comments)生成的DBpedia链接、以字面量形式存储的实际源代码,以及字面量形式的项目注释。 背景:相关学术出版物详细介绍了CodeOntology框架的开发过程:该框架是一款社区共享的软件工具,支持对源代码进行高表现力查询。本数据集正是将CodeOntology解析器应用于OpenJDK 8源代码后的产物——该解析器可分析Java源代码并将其序列化为RDF三元组,最终构建出包含超200万条RDF三元组的结构化数据集。CodeOntology支持从任意Java项目生成关联数据(Linked Data),从而可借助SPARQL查询语言(SPARQL)这类强大的查询工具,对源代码执行高表现力的查询操作。 本数据集配套的教程视频可通过https://youtu.be/bd6pvUDy8kA观看,更多相关信息可访问CodeOntology官方网站:http://codeontology.org/

创建时间:
2018-03-07
二维码
社区交流群
二维码
科研交流群
商业服务