Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
large_stringlengths
8
11
question_id
large_stringlengths
5
8
language
large_stringclasses
1 value
chunk_index
int64
0
5
chunk_text
large_stringlengths
164
2.47k
sparse_text
large_stringlengths
112
2.93k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
9
230
sparse_values
listlengths
9
230
export_source
large_stringclasses
1 value
66496248_c3
66496248
cobol
3
WS-GRAND-GPA, WS-PRO-STUDENT, WS-GRAND-PRO-STUDENT, WS-PRO-GPA-NUM, WS-DIG-STUDENT, WS-DIG-GPA-NUM, WS-GRAND-DIG-STUDENT, WS-GRAND-NES-STUDENT, WS-NES-STUDENT, WS-NES-GPA-NUM, WS-OTHER, WS-CURRENT-DATE-DATA, WS-CURRENT-DATE, RUN-YEAR, RUN-MONTH, RUN-DAY, HEADING-LINE-1, SPACES, HL-1-DATE, MONTH-2, DAY-2
WS-GRAND-GPA, WS-PRO-STUDENT, WS-GRAND-PRO-STUDENT, WS-PRO-GPA-NUM, WS-DIG-STUDENT, WS-DIG-GPA-NUM, WS-GRAND-DIG-STUDENT, WS-GRAND-NES-STUDENT, WS-NES-STUDENT, WS-NES-GPA-NUM, WS-OTHER, WS-CURRENT-DATE-DATA, WS-CURRENT-DATE, RUN-YEAR, RUN-MONTH, RUN-DAY, HEADING-LINE-1, SPACES, HL-1-DATE, MONTH-2, DAY-2
[ -0.0031280517578125, -0.0030975341796875, -0.021484375, 0.0037078857421875, -0.00156402587890625, 0.01275634765625, -0.00150299072265625, -0.00921630859375, 0.00408935546875, 0.0634765625, -0.000751495361328125, 0.0003299713134765625, -0.00439453125, -0.02490234375, -0.0294189453125, 0...
[ 6, 52143, 9, 81439, 25013, 32566, 284, 4, 47970, 94432, 397, 20157, 109020, 117262, 36321, 224750, 121063, 31076, 35746, 17758, 130747, 1723, 127427, 82707, 67141, 27544, 156906, 57339, 5759, 47654, 69247, 48599, 174307, 5428 ]
[ 0.08905029296875, 0.27734375, 0.0958251953125, 0.170166015625, 0.1395263671875, 0.20458984375, 0.2017822265625, 0.1109619140625, 0.2138671875, 0.17041015625, 0.10498046875, 0.1094970703125, 0.19482421875, 0.1717529296875, 0.1588134765625, 0.1612548828125, 0.07611083984375, 0.094116...
embed
29395343_c2
29395343
cobol
2
E, Abnormal, GET, Data, Management, IRX0565E, SG0, LOGON, WRNG.LEN.RECORD, QSAM, IEC020I, BWS858, SYS15089.T170858.RA000.SG0.R0278041, DCB, EROPT, ABE, INVALID, SYNAD, EXIT, SPECIFIED, IRX0250E, System, IRX0255E, Abend, EXECIO, MVS, ADDRESS, TSO, Here, ALLOC, SHR, REUSE, DSORG, BLKSIZE, SPACE, TRACKS, RECFM, DIR
E, Abnormal, GET, Data, Management, IRX0565E, SG0, LOGON, WRNG.LEN.RECORD, QSAM, IEC020I, BWS858, SYS15089.T170858.RA000.SG0.R0278041, DCB, EROPT, ABE, INVALID, SYNAD, EXIT, SPECIFIED, IRX0250E, System, IRX0255E, Abend, EXECIO, MVS, ADDRESS, TSO, Here, ALLOC, SHR, REUSE, DSORG, BLKSIZE, SPACE, TRACKS, RECFM, DIR
[ 0.00494384765625, 0.015625, -0.021484375, -0.00494384765625, 0.00909423828125, 0.0086669921875, 0.0048828125, 0.0208740234375, 0.00830078125, 0.02587890625, 0.0184326171875, 0.013916015625, -0.0167236328125, -0.007476806640625, 0.000637054443359375, -0.0107421875, 0.006103515625, -...
[ 241, 4, 3157, 33176, 79794, 11809, 25924, 32863, 1542, 8194, 12424, 647, 101436, 2389, 22215, 139933, 8066, 47214, 441, 36639, 2396, 92614, 126109, 113266, 568, 52143, 174923, 159, 26947, 19236, 18949, 5, 618, 43243, 12280, 9508, 74322, 8894,...
[ 0.2108154296875, 0.070556640625, 0.1722412109375, 0.259765625, 0.22119140625, 0.1929931640625, 0.23193359375, 0.162353515625, 0.1956787109375, 0.1539306640625, 0.2198486328125, 0.160400390625, 0.103271484375, 0.137939453125, 0.10760498046875, 0.1888427734375, 0.1234130859375, 0.107...
embed
12622372_c0
12622372
cobol
0
Title: COBOL to C++ data conversion Problem title: COBOL to C++ data conversion Tags: cobol, c%2B%2B Problem: COBOL to C++ data conversion I have requirement in which i need to convert - MOVE HIGH-VALUES TO W005-TEMP1. MOVE LOW-VALUES TO W005-TEMP2. How can i code these two in C++ ? Thanks Akshay Code signals: COBOL
COBOL to C++ data conversion COBOL to C++ data conversion cobol c%2B%2B COBOL COBOL to C++ data conversion I have requirement in which i need to convert - MOVE HIGH-VALUES TO W005-TEMP1. MOVE LOW-VALUES TO W005-TEMP2. How can i code these two in C++ ? Thanks Akshay
[ 0.0240478515625, 0.00927734375, -0.021484375, -0.00164031982421875, -0.01214599609375, 0.01495361328125, 0.0111083984375, 0.0146484375, 0.00201416015625, 0.03857421875, -0.001678466796875, 0.0166015625, 0.0096435546875, 0.002197265625, -0.005218505859375, -0.01104736328125, -0.003036...
[ 8244, 98335, 47, 313, 37223, 2053, 142477, 552, 7296, 501, 571, 765, 64209, 674, 3871, 96760, 276, 125901, 572, 95954, 9, 61152, 1062, 6706, 9926, 601, 130171, 94885, 683, 418, 6, 143141, 5442, 11249, 831, 17, 18151, 6097, 6626, 23, 247...
[ 0.151123046875, 0.291748046875, 0.171630859375, 0.128662109375, 0.319091796875, 0.1937255859375, 0.1925048828125, 0.0914306640625, 0.253662109375, 0.056396484375, 0.01666259765625, 0.00762939453125, 0.1517333984375, 0.057342529296875, 0.07373046875, 0.2135009765625, 0.0865478515625, ...
embed
9489992_c0
9489992
cobol
0
"Title: mainframe practice on Mac machine\nProblem title: mainframe practice on Mac machine\nTags: d(...TRUNCATED)
"mainframe practice on Mac machine mainframe practice on Mac machine db2 mainframe jcl cobol Mac db2(...TRUNCATED)
[0.025634765625,0.0194091796875,-0.003997802734375,0.051513671875,-0.0106201171875,0.01361083984375,(...TRUNCATED)
[5201,160328,41361,98,4727,36279,40041,304,1647,34937,552,7296,2071,2685,10,3917,47,4527,3444,7,9688(...TRUNCATED)
[0.1700439453125,0.3291015625,0.2587890625,0.1494140625,0.2479248046875,0.1884765625,0.1904296875,0.(...TRUNCATED)
embed
58367437_c3
58367437
cobol
3
"ARK, F03-REPT-RECORD, WORKING-STORAGE, W01-EOF-SWITCH, W01-MARK-EOF, VALUE, W01-SUBJ-EOF, W02-TEST-(...TRUNCATED)
"ARK, F03-REPT-RECORD, WORKING-STORAGE, W01-EOF-SWITCH, W01-MARK-EOF, VALUE, W01-SUBJ-EOF, W02-TEST-(...TRUNCATED)
[0.00909423828125,-0.0128173828125,-0.0228271484375,0.00830078125,0.0003795623779296875,-0.000204086(...TRUNCATED)
[6,142833,4,563,9513,9,165547,618,11766,441,36639,231355,23186,27010,75930,601,6746,647,82341,38969,(...TRUNCATED)
[0.037384033203125,0.260986328125,0.044708251953125,0.0799560546875,0.2366943359375,0.01701354980468(...TRUNCATED)
embed
25891775_c3
25891775
cobol
3
"ORAGE, VALUE, TCF, RFC, PTF, EOFSW, INPUTZ, SPACES, LALAGYANZZ, LALAGYAN1, LALAGYAN2, LALAGYAN3, CT(...TRUNCATED)
"ORAGE, VALUE, TCF, RFC, PTF, EOFSW, INPUTZ, SPACES, LALAGYANZZ, LALAGYAN1, LALAGYAN2, LALAGYAN3, CT(...TRUNCATED)
[0.0216064453125,0.0018463134765625,-0.027587890625,0.0213623046875,0.00921630859375,-0.001075744628(...TRUNCATED)
[33172,75930,4,55991,37066,384,84683,627,27529,436,30992,241,82341,89023,5881,124599,1511,47654,6924(...TRUNCATED)
[0.2374267578125,0.2391357421875,0.07244873046875,0.26708984375,0.1846923828125,0.086181640625,0.258(...TRUNCATED)
embed
33246178_c3
33246178
cobol
3
", WS-3-OUT, WS-4-OUT, WS-5-OUT, WS-6-OUT, WS-7-OUT, WS-TOTAL-LINE-OUT, WS-TOTAL-OUT, LINES, WS-HEAD(...TRUNCATED)
", WS-3-OUT, WS-4-OUT, WS-5-OUT, WS-6-OUT, WS-7-OUT, WS-TOTAL-LINE-OUT, WS-TOTAL-OUT, LINES, WS-HEAD(...TRUNCATED)
[-0.005706787109375,0.00787353515625,-0.0216064453125,0.01080322265625,0.01165771484375,0.0090942382(...TRUNCATED)
[6,4,52143,8316,9,52001,11565,10342,13545,16709,8727,30487,57339,130028,294,19412,284,18044,391,1775(...TRUNCATED)
[0.07989501953125,0.0904541015625,0.259765625,0.188232421875,0.060821533203125,0.2548828125,0.165649(...TRUNCATED)
embed
33953660_c0
33953660
cobol
0
"Title: COBOL - Calling program\nProblem title: COBOL - Calling program\nTags: cobol\nProblem: COBOL(...TRUNCATED)
"COBOL - Calling program COBOL - Calling program cobol COBOL Calling COBOL - Calling program Cobol -(...TRUNCATED)
[0.006439208984375,0.017333984375,-0.01708984375,0.0299072265625,-0.0184326171875,0.0191650390625,0.(...TRUNCATED)
[8244,98335,20,26265,214,1528,552,7296,1311,9655,5,87,765,59121,1614,9,18749,678,50491,2071,442,7722(...TRUNCATED)
[0.134765625,0.268798828125,0.0299530029296875,0.1822509765625,0.127197265625,0.2000732421875,0.1024(...TRUNCATED)
embed
8032539_c0
8032539
cobol
0
"Title: Date function in COBOL\nProblem title: Date function in COBOL\nTags: cobol, date\nProblem: D(...TRUNCATED)
"Date function in COBOL Date function in COBOL cobol date Date COBOL Date function in COBOL In my pr(...TRUNCATED)
[0.02001953125,0.00144195556640625,-0.022705078125,0.0255126953125,-0.0057373046875,0.01226806640625(...TRUNCATED)
[25512,32354,23,8244,98335,552,7296,5622,13452,74481,1363,1884,903,137474,13794,151117,997,190,27985(...TRUNCATED)
[0.2484130859375,0.2261962890625,0.0792236328125,0.117431640625,0.251220703125,0.0743408203125,0.206(...TRUNCATED)
embed
4144944_c0
4144944
cobol
0
"Title: Parser for COBOL written in JAVA\nProblem title: Parser for COBOL written in JAVA\nTags: cob(...TRUNCATED)
"Parser for COBOL written in JAVA Parser for COBOL written in JAVA cobol java Parser COBOL JAVA Pars(...TRUNCATED)
[0.01153564453125,0.0152587890625,-0.01031494140625,0.03173828125,-0.0164794921875,0.0208740234375,0(...TRUNCATED)
[2392,2189,100,8244,98335,59121,23,189950,552,7296,79,330,6,87,6165,76,12765,33022,26499,47,13763,16(...TRUNCATED)
[0.15869140625,0.2152099609375,0.119873046875,0.1422119140625,0.260009765625,0.141357421875,0.086914(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Cobol StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Cobol-specific vector shard of the Stack2Graph StackOverflow retrieval corpus. Each Hugging Face dataset repository contains exactly one language dataset.

It is optimized for dense+sparse retrieval, Qdrant restoration, and embedding-based RAG experiments.

It is used in the Stack2Graph project as the vector counterpart to the language-scoped RDF knowledge graph shards.

See the Stack2Graph repository for more details: https://github.com/tha-atlas/Stack2Graph

2. Repository Layout

dataset_manifest.json
question_metadata_*.parquet
chunk_records_*.parquet
question_records_*.parquet
  • dataset_manifest.json: language-scoped manifest for this dataset shard.
  • question_metadata_*.parquet: per-question metadata and retrieval bookkeeping.
  • chunk_records_*.parquet: chunk-level vector rows when parent-child indexing is enabled.
  • question_records_*.parquet: question-level vector rows when chunking is disabled or exported alongside chunk data.

3. Data Model And Coverage

The dataset is derived from Stack Overflow questions selected for the Cobol programming language. It contains the structured records needed to rebuild the Stack2Graph Qdrant collection for that language.

Coverage scope:

  • records are retained when they match the Stack2Graph supported language-tag set
  • this repository contains only the Cobol shard
  • the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode

4. Recommended Preprocessing

  1. Read dataset_manifest.json first and use it as the source of truth for included Parquet files.
  2. Load all Parquet shards for this repository into your vector indexing pipeline.
  3. Rebuild or restore the Qdrant collection stackoverflow_cobol_vector.
  4. Preserve attribution and license metadata during downstream export.

5. Automatic Download And Vector DB Setup

You do not need to regenerate embeddings from GraphDB to use this dataset.

In the Stack2Graph repository, you can use the automation script python -m experiment.load_hf_datasets_into_services --skip-kg to download dataset artifacts and prepare the vector database service state automatically.

Typical workflow:

  1. Clone and configure Stack2Graph (.env with HF token and service paths).
  2. Clone and configure Stack2Graph (.env with HF token and service paths).
  3. Start required local services:
docker compose up -d
  1. Run the loader script:
python -m experiment.load_hf_datasets_into_services --skip-kg

For manual usage without automation, directly ingest the listed Parquet files into your vector database.

6. Quality Notes And Caveats

  • A Stack Overflow question may belong to multiple language shards when tagged with multiple languages.
  • Embeddings and sparse representations depend on the configured export pipeline and model versions.
  • As with community-generated data, content may include noise, bias, and temporal drift.

7. Intended Use

  • semantic retrieval and reranking
  • RAG and hybrid retriever experiments
  • vector database benchmarking and diagnostics
  • language-scoped developer tooling research

8. Limitations

  • Not a complete mirror of all Stack Overflow content.
  • Not all export modes include the same row types or chunk layouts.
  • Best used together with the Stack2Graph retrieval pipeline and Qdrant-compatible tooling.

9. Licensing And Attribution

This dataset inherits Stack Overflow source licensing and attribution requirements. Ensure compliant attribution and redistribution practices in all derived artifacts.

10. Suggested Citation

If you use this dataset, cite the Stack2Graph work:

  • Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering
Downloads last month
28