{ "schema_version": "country-laws-ir-graphrag/v1", "layout_family": "skillcenter-huggingface-release/v3", "packager_version": "0.5.0", "primary_key": "entry_cid", "dataset_id": "endomorphosis/ipfs_greece_laws", "dataset_repo_id": "justicedao/ipfs_greece_laws_ir", "dataset_revision": "1d49dab3967466c6bfc5660d239246bf49a24840", "country": { "slug": "greece", "repo": "endomorphosis/ipfs_greece_laws", "name": "Greece", "indexable": true, "skip_reason": null, "local_source_dir": "/storage/hf_cache/country-laws-ir/expand-packs/greece", "source_revision": "1d49dab3967466c6bfc5660d239246bf49a24840" }, "disclaimer": "Research snapshot. Not legal advice. The official gazette / authentic source prevails.", "bm25": { "k1": 1.2, "b": 0.75, "title_weight": 5.0, "body_weight": 1.0, "average_document_length": 141.4914410537086, "tokenizer": "hf-graphrag-bm25-tokens/v1", "max_query_terms": 64, "posting_rows_per_record": 4096, "terms_per_shard": 4096 }, "counts": { "bm25_document_chunks": 31, "bm25_documents": 123146, "bm25_keyword_shards": 62, "bm25_posting_rows": 253638, "bm25_postings": 4843136, "bm25_terms": 253270, "corpus_chunks": 31, "corpus_rows": 124408, "graph_edge_chunks": 0, "graph_edges": 870856, "graph_incoming_adjacency_edges": 0, "graph_incoming_adjacency_rows": 0, "graph_incoming_adjacency_shards": 0, "graph_node_chunks": 0, "graph_nodes": 145370, "graph_outgoing_adjacency_edges": 0, "graph_outgoing_adjacency_rows": 0, "graph_outgoing_adjacency_shards": 0, "vector_chunks": 31, "vector_rows": 124408, "n_laws": 6981, "n_articles": 95713, "bm25_token_instances": 17424105 }, "parquet": { "compression": "zstd", "compression_level": 6, "max_rows_per_file": 4096, "row_group_size": 4096, "query_engine": "duckdb" }, "graph": { "adjacency_pointers_per_row": 4096, "adjacency_pointers_per_shard": 8192, "directions": [ "incoming", "outgoing" ], "max_remote_walk_depth": 8, "ordering": "score_desc_nulls_last", "edge_types": [ "HAS_JURISDICTION", "HAS_LANGUAGE", "BELONGS_TO_LAW", "HAS_ARTICLE", "BM25_NEIGHBOR_OF" ] }, "vector": { "model_name": "thenlper/gte-small", "dimension": 384, "similarity": "cosine", "assignment": "recursive_spherical_kmeans", "layout": "semantic_centroid_groups", "rows_sorted_by": "cosine_similarity_to_shard_centroid_desc", "max_rows_per_chunk": 4096, "max_rows_per_centroid": 8192, "max_shards_per_centroid": 2, "default_probe_centroids": 4, "centroid_count": 50, "shard_count": 50, "n_vectors": 124408, "status": "embedded", "n_reused": 34547, "n_encoded": 89861 }, "canonical_fields": [ "entry_cid", "law_cid", "record_type", "jurisdiction", "language", "instrument_id", "instrument_title", "article_number", "article_title", "title", "body", "source_url", "snapshot_date", "coverage", "license", "collector", "source_dataset", "source_revision" ], "input_sha256": { "laws.parquet": "0d6c0ac420183ec5cae5b695b5056158be4f7551b4f478d4b64b66eb62d11419", "articles.parquet": "1d4fc511258f4cc5f8efa89214720eb55444d789d0c991695eeb7bf672c8a4c6" }, "model_id": "thenlper/gte-small", "cid": { "codec": "raw", "hash": "sha2-256", "multibase": "base32", "payload": "json.dumps(obj, sort_keys=True, ensure_ascii=False, separators=(',', ':')).encode('utf-8')" }, "normalization": { "source_dataset": "endomorphosis/ipfs_greece_laws", "source_revision": "1d49dab3967466c6bfc5660d239246bf49a24840", "laws_sha256": "0d6c0ac420183ec5cae5b695b5056158be4f7551b4f478d4b64b66eb62d11419", "articles_sha256": "1d4fc511258f4cc5f8efa89214720eb55444d789d0c991695eeb7bf672c8a4c6", "n_laws_in": 6988, "n_articles_in": 87607, "unit": "law+structured", "article_law_coverage": 12.53677733257012, "sparse_article_fallback": false, "drops": { "empty_body": 2, "missing_instrument": 0, "duplicate_cid": 111, "duplicate_source_kept_first": 111 }, "drop_samples": { "empty_body": [ "gr-fek-a-153-2000", "gr-fek-a-3-2000" ], "missing_instrument": [], "duplicate_cid": [ "gr-fek-a-116-2022-section-1", "gr-fek-a-116-2022-section-2", "gr-fek-a-116-2022-section-3", "gr-fek-a-116-2022-section-5", "gr-fek-a-116-2022-section-6", "gr-fek-a-120-2007-section-20", "gr-fek-a-121-2025-arthro-1-2612", "gr-fek-a-121-2025-arthro-3-2582", "gr-fek-a-121-2025-arthro-3-2586", "gr-fek-a-121-2025-arthro-3-2616", "gr-fek-a-121-2025-arthro-5-1309", "gr-fek-a-121-2025-arthro-5-2621", "gr-fek-a-121-2025-arthro-5-2623", "gr-fek-a-121-2025-arthro-5-2625", "gr-fek-a-142-2017-arthro-4-27", "gr-fek-a-145-2021-arthro-7-14", "gr-fek-a-145-2021-arthro-9-16", "gr-fek-a-154-2023-article-15", "gr-fek-a-154-2023-article-23", "gr-fek-a-156-2015-arthro-1-529" ] }, "language_breakdown": { "el": 124408 }, "quality_flags": { "articles_table_empty": false, "sparse_article_fallback": false, "article_law_coverage": 12.53677733257012, "all_source_article_counts_zero": false, "article_extraction_status_counts": { "missing": 6743, "ok": 245 }, "missing_date": false, "missing_date_issued": true, "eli_present": false, "never_invented_legal_text": true, "empty_bodies_dropped": 2, "duplicate_cids_dropped": 111 }, "schema_surprises": [ "laws.article_count dtype=int32", "laws.date_issued is entirely null", "laws.eli non-null=0/6988", "laws.language values=['el']", "parent headings used for 2541 instruments whose article rows were missing or thin" ], "n_out": 124408, "never_invented_legal_text": true, "n_reconstructed_parents": 0, "n_reconstructed_truncated": 0, "n_reconstructed_stubs": 0, "n_empty_parents_with_articles_not_reconstructed": 0, "n_thin_instruments_replaced": 2541, "n_before_dedupe": 124519, "n_law_rows": 6981, "n_child_rows": 117422, "n_instruments": 6986, "n_dropped_total": 113, "record_type_breakdown": { "article": 95713, "section": 21709, "law": 6981, "notice": 5 }, "jurisdiction_breakdown": { "GR": 124408 }, "snapshot_dates": [ "2026-09-02", "2026-09-03" ], "heading_language_counts": { "el": 12 }, "heading_language_majority": "el", "document_language_majority": "el", "verification": { "schema_version": "country-laws-normalize-verify/v1", "slug": "", "admitted": true, "n_checks": 10, "n_failed": 0, "failed_ids": [], "checks": [ { "id": "nonempty_corpus", "severity": "fail", "passed": true, "message": "normalized corpus has rows", "evidence": { "n_out": 124408, "n_dropped": 113 } }, { "id": "entry_cid_unique", "severity": "fail", "passed": true, "message": "every row has a unique entry_cid", "evidence": { "missing": 0, "empty": 0, "duplicate": 0 } }, { "id": "never_invented_legal_text", "severity": "fail", "passed": true, "message": "normalizer did not invent legal text", "evidence": { "never_invented_legal_text": true } }, { "id": "html_residual", "severity": "fail", "passed": true, "message": "HTML tags stripped from legal bodies", "evidence": { "n_bodies": 124408, "n_with_tags": 2, "fraction": 1.6076136582856407e-05, "samples": [ "E\nSignature Not\nVerified\nDigitally signed by\nVARVARA ZACHARAKI\nDate: 2022.11.11 23:20:02\nEET\nReason: Signed PDF\n(embedde", "Άρθρο 42\nΣύσταση πάγιας προκαταβολής Άρθρο 43\nστο Ίδρυμα Νεολαίας και Διά Βίου Μάθησης Εξόφληση τιμολογίων για συμβάσεις" ] } }, { "id": "short_bodies", "severity": "warn", "passed": true, "message": "most legal units have usable body length", "evidence": { "n_short": 2566, "n_bodies": 124408, "fraction": 0.02062568323580477 } }, { "id": "parent_laws", "severity": "warn", "passed": true, "message": "parent instruments present (6981 law rows from 6988 source laws)", "evidence": { "n_laws_in": 6988, "n_law_rows": 6981 } }, { "id": "reconstruction_grounded", "severity": "fail", "passed": true, "message": "reconstructed parents match child glue", "evidence": { "checked": 0, "mismatches": 0, "samples": [] } }, { "id": "empty_parents_with_articles", "severity": "fail", "passed": true, "message": "eligible empty parents all have law rows", "evidence": { "n_empty_parents_with_articles_not_reconstructed": 0 } }, { "id": "legal_structure", "severity": "warn", "passed": true, "message": "retrieval units are structured (law+structured, coverage=0.94)", "evidence": { "unit": "law+structured", "structured_rows": 117422, "coverage": 0.9438460549160825 } }, { "id": "heading_language", "severity": "warn", "passed": true, "message": "heading lexicon el vs document language el", "evidence": { "document_language": "el", "heading_language": "el", "heading_counts": { "el": 12 } } } ], "blocks_graphrag": false } }, "schema_mapping": { "laws": { "id": "instrument_id", "title": "instrument_title", "text": "body", "article_count_dtype_source": "int32" }, "articles": { "id": "source_id / article identity", "law_id": "instrument_id", "title": "article_title", "text": "body" }, "unit_policy": "prefer articles; fall back to law-level when articles empty", "required_law_columns": [ "id", "title", "text" ], "required_article_columns": [ "id", "law_id", "title", "text" ], "fail_closed": true, "notes": "Malta and Germany share the same column names. Drift: Malta article_count is int64, Germany article_count is int32; Germany eli is often null. Identifiers are never invented. Layout matches SkillCenter HF release / publicus-ir family." }, "indexes": { "bm25_document_chunks": { "cid": "bafkreiabfhuu7eqlwsoqbugqcyotmpbu5kqqhba6gbl3je56x5daql47sm", "sha256": "0129e94f920bb49d00d0d0161d363c34eaa103841e3057b493bebf46082f9f93", "size_bytes": 9154, "relative_path": "indexes/bm25_document_chunks.parquet" }, "bm25_keyword_shards": { "cid": "bafkreiecsfxgzmyet4rijjgwkikeaxdltkwf3dc2m5uszn7bzrnxk5nv5y", "sha256": "82916e6cb3049f2284a4d65214405c6b9aac5d8c5a67692cb7e1cc5b7575b5ee", "size_bytes": 11027, "relative_path": "indexes/bm25_keyword_shards.parquet" }, "corpus_chunks": { "cid": "bafkreifygneekqgrtfm6zq6jvfivk63kygsb4je736psxjpoepswc7y6su", "sha256": "b833484540d19959ecc3c9a951557b6ac1a41e249fdf9f2ba5ee23e5617f1e95", "size_bytes": 13465, "relative_path": "indexes/corpus_chunks.parquet" }, "graph_edge_chunks": { "cid": "bafkreifclkxk7gxlpqw4k34bfaaal3aaujtjx7zwvhxxcjzxoi2grvnukq", "sha256": "a25aaeaf9aeb7c2dc56f81280005ec00a2669bff36a9ef712737723468d5b454", "size_bytes": 43940, "relative_path": "indexes/graph_edge_chunks.parquet" }, "graph_incoming_adjacency": { "relative_path": "indexes/graph_incoming_adjacency.parquet", "present": false }, "graph_node_chunks": { "cid": "bafkreidflccn5v36p55wt4zgjs6nlncqcskiqypiexg6vwy2lgkuonb37y", "sha256": "655884ded77e7f7b69f3264cbcd5b45014948861e825cdeadb1a599547343bfe", "size_bytes": 11365, "relative_path": "indexes/graph_node_chunks.parquet" }, "graph_outgoing_adjacency": { "relative_path": "indexes/graph_outgoing_adjacency.parquet", "present": false }, "vector_chunks": { "cid": "bafkreibzloaahuus5rv2so6by7gvd4ssfmk3vunn7lbqupxggxeedxyryu", "sha256": "395b8003d292ec6ba93bc1c7cd51f2522b15bad1adfac30a3ee635c841df11c5", "size_bytes": 164757, "relative_path": "indexes/vector_chunks.parquet" } }, "source": { "source_dataset": "endomorphosis/ipfs_greece_laws", "source_revision": "1d49dab3967466c6bfc5660d239246bf49a24840", "laws_path": "/storage/hf_cache/country-laws-ir/expand-packs/greece/data/laws.parquet", "articles_path": "/storage/hf_cache/country-laws-ir/expand-packs/greece/data/articles.parquet", "laws_sha256": "0d6c0ac420183ec5cae5b695b5056158be4f7551b4f478d4b64b66eb62d11419", "articles_sha256": "1d4fc511258f4cc5f8efa89214720eb55444d789d0c991695eeb7bf672c8a4c6", "n_laws_source": 6988, "n_articles_source": 87607, "laws_columns": [ "id", "title", "text", "source_url", "source_type", "jurisdiction", "country", "language", "eli", "date", "date_issued", "retrieved_at", "license", "law_status", "identifier", "official_identifier", "article_count", "json_path", "metadata_json" ], "articles_columns": [ "law_id", "id", "title", "text", "source_url", "document_number", "article_number", "record_type", "metadata_json" ], "article_count_dtype": "int32", "schema_surprises": [ "laws.article_count dtype=int32", "laws.date_issued is entirely null", "laws.eli non-null=0/6988", "laws.language values=['el']" ], "local_source_dir": "/storage/hf_cache/country-laws-ir/expand-packs/greece", "pack_meta": { "slug": "greece", "source_dataset": "endomorphosis/ipfs_greece_laws", "source_revision": "1d49dab3967466c6bfc5660d239246bf49a24840", "indexed_revision": "76e85857bd382ccf7a0177236879d96c2c25b248", "packed_from": [ "data/laws.parquet", "data/articles.parquet", "data/articles_fek_2000_2026_expand_20261105.parquet" ], "left_out": "diavgeia_decisions/*.parquet", "n_laws": 6988, "n_articles": 87607, "added_laws": 0, "added_articles": 82951, "added_empty_text": 0, "note": "Appended the FEK article expand onto unchanged data/laws.parquet and data/articles.parquet. Diavgeia decision shards stay on the source repo. The published index was loaded from the law and article tables only." } }, "incremental": { "kind": "delta_refresh", "mode": "auto", "reason": "source changed; reuse embeddings for unchanged entry_cids", "source_revision": "1d49dab3967466c6bfc5660d239246bf49a24840", "prior_revision": "76e85857bd382ccf7a0177236879d96c2c25b248", "source_fingerprint": "1d49dab3967466c6bfc5660d239246bf49a24840|0d6c0ac420183ec5cae5b695b5056158be4f7551b4f478d4b64b66eb62d11419|1d4fc511258f4cc5f8efa89214720eb55444d789d0c991695eeb7bf672c8a4c6", "prior_fingerprint": "76e85857bd382ccf7a0177236879d96c2c25b248|fabc010b82878934055c171c04db210acfe196ea0e32dc0e6844249cc6064d4e|03b9f198389e4d008427f8deeb960472364845051da4a18b8da5e7b1941958af", "delta": { "n_added": 89861, "n_removed": 284076, "n_unchanged": 34547, "prior_count": 318623, "current_count": 124408, "changed_ratio": 0.7223088547360299, "equivalent_to_full": false, "added_cids_sample": [ "bafkreia223wwopio7bqqaarixzwhqnb6nvw4b7hyf4u4ndzkbeebclayru", "bafkreia22vbaecj4yc5lacn4gcnssf3mzqi3rnm3cnhmjsnuqp744ywsju", "bafkreia22vdzjkr77vqop5jm63sp7dbkkrx2oewz4pimqhouwt3w5tjori", "bafkreia22w5yrs33bpspwie5x23hikartd5iostpsd6oc4ru2yf3km3pae", "bafkreia22woz3afbwteabf5wk33zizy4oxqvhs652miul4ywnq6n2vpqme", "bafkreia22x3xt3wghh2ngl2ulzgtduo36evuhz7dlrmfzfan6onu2qbi3y", "bafkreia23a3nei63isimb24oamjgayk7pvbpefu3pn5extmiu6iuq6oqom", "bafkreia23ogcngx4siod43hgd6plqmrpc3aisrjzj6p27whrye42giivki" ], "removed_cids_sample": [ "bafkreia222rv3ajlikjuax52wn2gfs7yviyzzbj2g6z3jfccezdpbxfaxy", "bafkreia2245hegsjj4oe3k6moso4tl5tguihq62a2rm3fmvdi67oyyd5eq", "bafkreia224kf2tvhld6qjnysaenlv5h6a3nobfbzhvmzb6gvn2gceewdmu", "bafkreia225vnd453cnonf7j5ww2pjhzguey6mooba3kkgq7njru3mo2gli", "bafkreia226cvxxvr6vklrbsewjv4lsrvkxo7nipv4eyqcaovuuprkcafam", "bafkreia226xxez2cfx45h5gyhkklqh2stypd3bo2uqljmqmkueaq3uynvm", "bafkreia227g2y4sxzmcwltiyppeesuyu6exymvvkl34fc7gcwityvk7l3m", "bafkreia227rijf5awan62upfn7vs46jd2prlqxqfbpk7gxgiqx7y7llysu" ] }, "reuse_embeddings": true, "skip_build": false, "equivalent_to_full": false, "schema_version": "country-laws-ir-graphrag/v1", "vectors": { "n_docs": 124408, "n_reused": 34547, "n_encoded": 89861, "n_missing": 0, "model_name": "thenlper/gte-small", "model_revision": "17e1f347d17fe144873b1201da91788898c639cd", "dimension": 384, "status": "merged", "device": "cuda:0", "device_fallback": false } }, "sparse": { "engine": "hf_graphrag", "schema_version": "country-laws-ir-graphrag/v1", "bm25": { "bm25": { "average_document_length": 141.4914410537086, "b": 0.75, "body_weight": 1.0, "k1": 1.2, "max_query_terms": 64, "posting_rows_per_record": 4096, "terms_per_shard": 4096, "title_weight": 5.0, "tokenizer": "hf-graphrag-bm25-tokens/v1" }, "configs": { "bm25_documents": "data/bm25/documents/*.parquet", "bm25_postings": "data/bm25/postings/*.parquet", "bm25_keyword_index": "indexes/bm25_keyword_shards.parquet" }, "counts": { "bm25_document_chunks": 31, "bm25_documents": 123146, "bm25_keyword_shards": 62, "bm25_posting_rows": 253638, "bm25_postings": 4843136, "bm25_terms": 253270, "bm25_token_instances": 17424105 }, "indexes": { "bm25_document_chunks": { "cid": "bafkreiabfhuu7eqlwsoqbugqcyotmpbu5kqqhba6gbl3je56x5daql47sm", "relative_path": "indexes/bm25_document_chunks.parquet", "row_count": 31, "sha256": "0129e94f920bb49d00d0d0161d363c34eaa103841e3057b493bebf46082f9f93", "size_bytes": 9154 }, "bm25_keyword_shards": { "cid": "bafkreiecsfxgzmyet4rijjgwkikeaxdltkwf3dc2m5uszn7bzrnxk5nv5y", "relative_path": "indexes/bm25_keyword_shards.parquet", "row_count": 62, "sha256": "82916e6cb3049f2284a4d65214405c6b9aac5d8c5a67692cb7e1cc5b7575b5ee", "size_bytes": 11027 } }, "schema_version": "hf-graphrag-bm25-layout/v1" }, "graph": { "node_count": 145370, "edge_count": 870856, "adjacency": "data/graph/adjacency/{out,in}/*.parquet" }, "sqlite": false, "query_engine": "duckdb" } }