← All projects
Project record1 mention
Originally shared on Hacker News

Open Dataset of the Lebanese Law

An open dataset of Lebanese legislation with a public database, API, and MCP. It covers laws dating back to 1904, includes edges between every law, article, ruling, and Gazette issue to show how they influence one another, versions articles, adds 100k unofficial LLM-generated English translations, and provides OCR-converted text of 47k rulings with handwritten files flagged.

Last shared For Builders for their startups, lawyers for their work, and students for their bar prep.
01 / The problem

What it addresses

The Lebanese University archive of laws (legallaw.ul.edu.lb) is hard for people and AI to find and navigate, contains outdated articles, and other datasets in Lebanon charge for this data.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Open Dataset of the Lebanese Law

    An open dataset of Lebanese legislation with a public database, API, and MCP. It covers laws dating back to 1904, includes edges between every law, article, ruling, and Gazette issue to show how they influence one another, versions articles, adds 100k unofficial LLM-generated English translations, and provides OCR-converted text of 47k rulings with handwritten files flagged.

    Problem: The Lebanese University archive of laws (legallaw.ul.edu.lb) is hard for people and AI to find and navigate, contains outdated articles, and other datasets in Lebanon charge for this data.

    Audience: Builders for their startups, lawyers for their work, and students for their bar prep.

    Posted by @nizarmah · Original source ↗

    Story title · @nizarmah · · Source ↗

    Show HN: Open Dataset of the Lebanese Law

    Submitted URL · @nizarmah · · Source ↗

    https://huggingface.co/datasets/taktekhq/lebanese-legislation

    Source text · @nizarmah · · Source ↗

    I made it easier for builders to use the lebanese legislation through: a public DB, API, and MCP.

    Source text · @nizarmah · · Source ↗

    The Lebanese University has an archive of all laws dating back to 1904 (legallaw.ul.edu.lb).

    Source text · @nizarmah · · Source ↗

    The database includes the edges between every law, article, ruling and Gazette issue. You can easily identify how they influence one another.

    Source text · @nizarmah · · Source ↗

    Articles are versioned, so you can see how it was affected by other laws from the date it was published.

    Source text · @nizarmah · · Source ↗

    100k unofficial english translations were added using LLMs.

    Source text · @nizarmah · · Source ↗

    47k rulings were PDFs, some handwritten. We converted all of them to text using OCR, flagging handwritten files.

    Source text · @nizarmah · · Source ↗

    People and AI can barely find it and navigate it. It also had outdated articles.

    Source text · @nizarmah · · Source ↗

    Today, other datasets in Lebanon charge for this data. I'm doing it as a public service.

    Source text · @nizarmah · · Source ↗

    Builders for their startups, lawyers for their work, and students for their bar prep.