Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
36
36
question_id
int64
36
27.5M
chunk_index
int32
0
29
embedding_text
stringlengths
37
16.8k
dense_tokens
int32
11
1.02k
sparse_tokens
int32
10
1.02k
languages
listlengths
1
5
tags
listlengths
1
5
payload_json
stringlengths
405
563
dense
list
sparse_indices
listlengths
8
447
sparse_values
listlengths
8
447
ad8edf44-d421-5543-beaa-aaa2ff35fff4
36
0
Title: Check for changes to an SQL Server table? How can I monitor an SQL Server database for changes to a table without using triggers or modifying the structure of the database in any way? My preferred programming environment is .NET and C#. I'd like to be able to support any SQL Server 2000 SP4 or newer. My appli...
309
334
[ "sql" ]
[ "sql", "sql-server", "datatable", "rdbms" ]
{"accepted_answer_id":352,"answer_count":9,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-01T12:35:56.917000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["sql"],"last_activity_date":"2023-03-14T10:41:09.997000+00:00","last_edit_date":"2016-11-30T07:50:37.517000+00:00","q...
[ -0.0125732421875, -0.0302886962890625, -0.0006623268127441406, -0.011077880859375, 0.03375244140625, -0.03424072265625, -0.0070037841796875, 0.0114898681640625, -0.0028591156005859375, 0.017120361328125, -0.035186767578125, -0.0093994140625, 0.01593017578125, -0.00652313232421875, -0.015...
[ 7, 10, 41, 47, 100, 136, 191, 384, 449, 532, 617, 831, 1193, 1774, 1884, 2053, 2811, 2965, 3311, 3576, 3647, 3917, 4078, 4263, 4343, 4527, 4904, 6755, 8060, 8305, 8575, 10321, 11249, 11675, 11907, 12047, 12601, 12765, 12983, 12996, 1438...
[ 0.00341796875, 0.0294189453125, 0.0712890625, 0.1904296875, 0.1376953125, 0.0196533203125, 0.0830078125, 0.1005859375, 0.03125, 0.004638671875, 0.08203125, 0.04150390625, 0.0849609375, 0.08203125, 0.048828125, 0.029541015625, 0.07861328125, 0.1103515625, 0.010498046875, 0.14648...
0a9de65d-f492-532f-9641-b757ce6bb985
85
0
Title: Flat file databases What are the best practices around creating flat file database structures in PHP? A lot of more matured PHP flat file frameworks out there which I attempt to implement SQL-like query syntax which is over the top for my purposes in most cases. (I would just use a database at that point). ...
87
94
[ "php", "sql" ]
[ "php", "sql", "database", "flat-file" ]
{"accepted_answer_id":154,"answer_count":11,"chunk_count":1,"chunk_index":0,"closed_date":"2015-10-22T13:43:51.340000+00:00","creation_date":"2008-08-01T14:19:52.510000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["php","sql"],"last_activity_date":"2022-03-07T02:25:38.080000+00:00","last_edit_date":"...
[ 0.011260986328125, -0.03399658203125, -0.00978851318359375, 0.0033416748046875, 0.0294342041015625, -0.01213836669921875, -0.00021898746490478516, 0.007358551025390625, -0.01389312744140625, 0.005451202392578125, -0.036590576171875, 0.01641845703125, 0.0145416259765625, -0.0206451416015625...
[ 7, 23, 41, 645, 1286, 1294, 1810, 2663, 2684, 2685, 2806, 2965, 4127, 4527, 5062, 5915, 6002, 6275, 10932, 11435, 18151, 19336, 23718, 27650, 29479, 31251, 41361, 45646, 47302, 48962, 49878, 50218, 60042, 63399, 66139, 80866, 81887, 86531, ...
[ 0.027587890625, 0.010498046875, 0.0654296875, 0.045654296875, 0.0244140625, 0.035400390625, 0.013427734375, 0.07177734375, 0.04541015625, 0.00439453125, 0.02001953125, 0.119140625, 0.0263671875, 0.0419921875, 0.09765625, 0.032958984375, 0.06982421875, 0.0281982421875, 0.025512695...
abf2356b-efc9-5904-a21d-0fc01ee65b2b
109
0
"Title: Decoding T-SQL CAST in C#/VB.NET\n\nRecently our site has been deluged with the resurgence o(...TRUNCATED)
733
896
[ "c#", "sql", "vb.net" ]
[ "c#", "sql", "vb.net", "ascii", "hex" ]
"{\"accepted_answer_id\":2585,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.0013647079467773438,-0.0172119140625,0.0011205673217773438,-0.0007009506225585938,0.018035888671(...TRUNCATED)
[4,5,6,7,8,9,10,13,15,16,18,20,22,23,25,27,38,39,47,53,54,58,64,67,70,71,74,83,87,91,98,99,100,110,1(...TRUNCATED)
[0.031982421875,0.012939453125,0.01318359375,0.011962890625,0.16015625,0.115234375,0.012451171875,0.(...TRUNCATED)
c4302bd2-1992-5fcb-8f9c-45d4776d2e01
120
0
"Title: ASP.NET Site Maps\n\nDoes anyone have experience creating SQL-based ASP.NET site-map provide(...TRUNCATED)
80
91
[ "sql" ]
[ "sql", "asp.net", "xml", "sitemap" ]
"{\"accepted_answer_id\":null,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.012237548828125,0.0117645263671875,0.0012054443359375,-0.003765106201171875,0.0165863037109375,-(...TRUNCATED)
[7,237,678,765,1181,1467,1764,2811,3871,3917,4817,5426,5570,6226,9191,10519,11090,11435,16981,17777,(...TRUNCATED)
[0.0546875,0.001953125,0.03125,0.05810546875,0.0068359375,0.0693359375,0.1474609375,0.083984375,0.05(...TRUNCATED)
c5c8d45e-09e3-58ea-829d-3bcd98bd00d5
308
0
"Title: Is there a version control system for database structure changes?\n\nI often run into the fo(...TRUNCATED)
181
193
[ "sql" ]
[ "sql", "database", "oracle-database", "version-control" ]
"{\"accepted_answer_id\":360,\"answer_count\":22,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0185394287109375,-0.020660400390625,-0.0125732421875,-0.01357269287109375,0.01464080810546875,-0.(...TRUNCATED)
[7,10,19,32,47,70,83,87,100,110,316,517,678,707,1542,1632,2071,2174,2356,2685,2965,2967,3365,3444,35(...TRUNCATED)
[0.03076171875,0.1103515625,0.0751953125,0.0078125,0.010498046875,0.00244140625,0.0771484375,0.02319(...TRUNCATED)
f54dc076-4522-5bce-b9b2-9f73b1ebcdbe
594
0
"Title: cx_Oracle: How do I iterate over a result set?\n\nThere are several ways to iterate over a r(...TRUNCATED)
36
43
[ "python", "sql" ]
[ "python", "sql", "database", "oracle-database", "cx-oracle" ]
"{\"accepted_answer_id\":595,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\":(...TRUNCATED)
[-0.00896453857421875,-0.0204315185546875,0.003696441650390625,-0.01448822021484375,0.00403976440429(...TRUNCATED)
[10,17,47,54,67,70,87,219,425,645,670,5423,8560,11030,11249,12638,16713,16750,40368,48322,48962,5235(...TRUNCATED)
[0.0211181640625,0.08984375,0.0546875,0.048583984375,0.1328125,0.005615234375,0.061767578125,0.05957(...TRUNCATED)
a510f109-b145-51c3-acc2-cb5f4a214cfe
644
0
"Title: Swap unique indexed column values in database\n\nI have a database table and one of the fiel(...TRUNCATED)
116
130
[ "sql" ]
[ "sql", "database" ]
"{\"accepted_answer_id\":665,\"answer_count\":12,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0275115966796875,-0.0187835693359375,0.01551055908203125,0.0004107952117919922,0.028350830078125,(...TRUNCATED)
[7,19,23,47,70,73,87,98,100,136,254,262,297,316,765,903,1379,1632,1810,2967,3365,3444,3714,3789,4358(...TRUNCATED)
[0.06298828125,0.0673828125,0.05029296875,0.1005859375,0.0177001953125,0.03173828125,0.0201416015625(...TRUNCATED)
156a5b2c-6d09-5da4-8bca-3676d7f4764e
1,042
0
"Title: Why doesn't SQL Full Text Indexing return results for words containing #?\n\nFor instance, m(...TRUNCATED)
111
128
[ "sql" ]
[ "sql", "sql-server", "sql-server-2005", "indexing", "full-text-search" ]
"{\"accepted_answer_id\":1061,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.01082611083984375,-0.045440673828125,0.01016998291015625,0.00958251953125,0.0274505615234375,-0.0(...TRUNCATED)
[18,41,70,83,100,214,316,468,618,1294,1884,3365,4078,4393,4488,4527,4904,5361,6159,6755,7986,9312,18(...TRUNCATED)
[0.0751953125,0.07421875,0.001953125,0.0230712890625,0.011474609375,0.039794921875,0.03515625,0.1367(...TRUNCATED)
d51ef73a-b15a-5367-abc1-18b7a7396cf8
1,108
0
"Title: How does database indexing work in reality?\n\nGiven that indexing is so important, as your (...TRUNCATED)
59
68
[ "sql" ]
[ "sql", "database", "performance", "indexing", "database-indexes" ]
"{\"accepted_answer_id\":1130,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[0.0140533447265625,-0.0021038055419921875,-0.0214691162109375,-0.0251312255859375,0.014106750488281(...TRUNCATED)
[12,19,23,32,41,47,54,83,87,99,214,221,237,238,316,450,2053,2703,2895,3365,3642,4488,4677,5423,5526,(...TRUNCATED)
[0.012939453125,0.01025390625,0.08203125,0.0159912109375,0.06689453125,0.08154296875,0.06005859375,0(...TRUNCATED)
54f66c0a-dfaa-59dd-bd4c-3d872728b874
1,156
0
"Title: How do I index a database column?\n\nHow do I index a database column in different database (...TRUNCATED)
41
48
[ "sql" ]
[ "sql", "database", "indexing" ]
"{\"accepted_answer_id\":1157,\"answer_count\":9,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED)
[-0.004856109619140625,-0.0195465087890625,-0.00905609130859375,-0.01371002197265625,0.0272979736328(...TRUNCATED)
[10,12,19,23,32,54,87,214,316,1810,2256,3365,3642,4488,10723,11249,12765,12921,14602,43240,48962,632(...TRUNCATED)
[0.0194091796875,0.0107421875,0.0625,0.039306640625,0.042236328125,0.1044921875,0.09912109375,0.1123(...TRUNCATED)
End of preview. Expand in Data Studio

Stack2Graph vector database: sql

This release contains 727602 text chunks from Stack Overflow with dense and sparse embeddings, selected by the producer's programming-language memberships. Memberships can overlap: a chunk may occur in several language datasets. These labels describe programming languages, not the natural language of the text. extra-languages, when present, contains source rows without a language match. An absent language is never replaced with an empty dataset.

Files and fields

data/vectors-*.parquet contains Zstandard-compressed tables. Each row has a stable id, question_id, chunk_index, embedding_text, model token counts, languages, tags, dense, sparse_indices, sparse_values and payload_json. The last field preserves the complete original Qdrant payload, including source snapshot identity, source dates, scores and answer flags when available. Dense values are float32 representations of the producer's stored float16 values; this does not recover precision discarded during embedding. Sparse weights preserve float32 values and uint32 token indices.

On Hugging Face, load the vectors config with datasets.load_dataset and use streaming for large releases. The dataset viewer uses only the explicitly listed Parquet files. data/dataset.tar.gz is the portable package also used by MDC: extract it to obtain the same Parquet bytes, README and publication.json. The archive is an exchange dataset, not a Qdrant binary snapshot. Import in bounded batches using each row's id, named dense/sparse vectors and decoded payload_json. Recreate collection settings deliberately for your Qdrant version.

Provenance and reproducibility

{
  "after_id": -9223372036854775808,
  "chunk_overlap": 128,
  "chunk_tokens": 1024,
  "collection": "stackoverflow_questions",
  "dense_dimension": 4096,
  "dense_model": "Qwen/Qwen3-Embedding-8B",
  "dense_revision": "1d8ad4ca9b3dd8059ad90a75d4983776a23d44af",
  "question_limit": null,
  "registry_digest": "d2a7357c04e7f47d9bb598189aeeb7db0680d6b35f0d9695d8d2e544121afb8e",
  "snapshot_digest": "56fe643952cec74b17ea13d91edc8ad95181326156177c94cce48d3fed9834b9",
  "snapshot_id": "stackexchange_20260630_sakura",
  "sparse_model": "BAAI/bge-m3",
  "sparse_revision": "5617a9f61b028005a4858fdac845db406aefb181"
}

Export identity: bc9f696c9588560e3be547879c58b96c50c64e3828495471bee43e504392ec7f. Point-ID configuration digest: d16d58c9e7b8007664e3f77b4e9f4a1689a8b8de2c6727b479595621b25e3460. Point IDs use the same snapshot/configuration/question/chunk UUID derivation as the project's Qdrant loader. publication.json lists exact file sizes, SHA-256 hashes, row count, source identity and model/chunking settings. On HF, release.json additionally verifies all managed remote files. Only locally finalized runs with matching stage/report counts are published. The uploader does not re-embed text or query a running database.

Uses and limitations

Intended for dense, sparse and hybrid retrieval, retrieval-augmented generation and reproducible search experiments. Retrieval quality depends on the pinned models and chunking configuration. Overlapping chunks and language memberships are not independent samples; split evaluations by source question to avoid leakage. Source questions can contain personal data, obsolete code, errors and biases. Source-window limits are recorded above. No retrieval benchmark or completeness beyond the recorded source window is claimed.

Attribution and licensing

Derived from Stack Overflow content. Preserve the original post/author attribution and applicable Stack Overflow licensing when redistributing or displaying source content. Question IDs and source snapshot are retained to resolve source posts. This publication declares CC BY-SA 4.0; embedding model licenses and any upstream obligations still apply. Pinned model names and revisions above identify their model cards for review.

Source and procedures: https://github.com/tha-atlas/Stack2Graph. When citing this dataset, include the dataset repository, immutable release revision, source snapshot, export identity, model revisions and the project.

Project citation: Kleybolte, Ventura and Zarcone (2026), Stack2Graph, KG-LLM at LREC26. https://doi.org/10.63317/583q4d3mwbdu.

Downloads last month
140

Collection including Mo7art/Stack2Graph_VD_sql