遇见数据集

Mo7art/Stack2Graph_KG

收藏
Hugging Face2026-05-19 更新2026-05-31 收录
官方服务:

资源简介:

该数据集包含Stack2Graph的知识图谱组件,以语言特定的N-Triples分片形式存储。它是Stack2Graph向量数据集的结构化对应物,适用于QLever/SPARQL工作流,而不是逐行的表格使用。知识图谱从Stack Overflow数据生成,经过SQL导入后,保留问题、答案、评论、标签、投票聚合和问题间链接的结构关系。根文件schema.nt包含加载到默认图中的模式三元组,语言实例三元组映射到以原始支持编程语言标签(如http://stackoverflow.com/python)为键的命名图中,用于QLever索引。QLever命名图是规范的语言房间。默认图是命名图数据加上schema.nt的便捷视图,因此总语言知识图谱大小应使用GRAPH ?g { ?s ?p ?o }测量;对于语言范围查询,使用GRAPH <http://stackoverflow.com/{language}> { ... }。仅保留匹配项目支持的语言标签集的问题。数据集主要用于下载、提取并导入到RDF图存储中进行检索和分析工作流,特别适用于系统重建和基于检索的实验。

This dataset contains the knowledge-graph component of Stack2Graph as language-specific N-Triples shards. It is the structured counterpart to the Stack2Graph vector dataset and is intended for QLever/SPARQL workflows rather than row-wise tabular use. The graph is generated from Stack Overflow data after SQL ingestion and keeps structural relations between questions, answers, comments, tags, vote aggregates, and question-to-question links. The root `schema.nt` contains schema triples loaded into the default graph. Language instance triples are mapped to named graphs keyed by the original supported programming-language tag during QLever indexing, for example `http://stackoverflow.com/python`. QLever named graphs are the canonical language rooms. The default graph is a distinct-SPO convenience view over named graph data plus `schema.nt`, so total language KG size should be measured with `GRAPH ?g { ?s ?p ?o }`; use `GRAPH <http://stackoverflow.com/{language}> { ... }` for language-scoped queries. Questions are only retained when they match the supported language-tag set used by the project. The dataset is meant to be downloaded, extracted, and imported into an RDF-capable graph store for retrieval and analysis workflows, and is primarily intended for system reconstruction and retrieval-based experiments.

提供机构:
Mo7art
二维码
社区交流群
二维码
科研交流群
商业服务