الصفحة الرئيسية

قاعدة البيانات

القانون اللبناني بأكمله، كقاعدة بيانات واحدة.

المكتبة التي تقف وراء هذا الموقع هي قاعدة بيانات PostgreSQL علائقية. تصف هذه الصفحة جداولها.

قم بتنزيلها مجاناً. قاعدة البيانات بأكملها متاحة للعموم على Hugging Face: taktekhq/lebanese-legislation. ملف Parquet واحد لكل جدول، بما في ذلك الرسم البياني لكيفية تعديل النصوص واستشهادها ببعضها البعض. قم بتحميلها باستخدام pandas أو DuckDB أو مكتبة datasets. الجداول أدناه هي تلك التي تقف وراء كل صفحة من هذا الموقع، مع عدد صفوفها المباشر. للأسئلة: [email protected].

كيفية حفظها

  • يتم تصدير كل جدول كملفات نصية مرتبة تحت نظام التحكم في الإصدارات، بحيث يكون كل تعديل على قانون عبارة عن سطر في السجل.
  • يسجل كل صف صفحة المركز التي قُرئ منها، بحيث يمكن تتبع كل نص إلى مصدره.

الجداول

agreement
Treaties and agreements, with the text that ratified them. (1,973 صفوف)
amendment
Every change one text made to another, read from the amending article: which article, what it did, the new wording, from what date, and whether it was applied. (3,729 صفوف)
article_version
Each amended article's versions, oldest first, each with its date and the amendment that made it. (3,707 صفوف)
code
The principal codes, with stable addresses. (24 صفوف)
court
The courts and chambers. (12 صفوف)
doctrine_article
Articles from legal periodicals, with abstracts. (2,574 صفوف)
gazette_entry
Which texts each issue published, on which page. (104,049 صفوف)
gazette_issue
Official Gazette issues. (6,808 صفوف)
graph_edge
(268,420 صفوف)
legislation
Every law, decree and decision: kind, number, date, title, status, Official Gazette publication. (101,559 صفوف)
legislation_article
Each article, consolidated, in Arabic and in French where published, with its amendment notes. (384,928 صفوف)
legislation_kind
The 49 kinds of text, with English and French names. (50 صفوف)
legislation_section
Books, parts, chapters and sections, nested. (108,991 صفوف)
opinion
Advisory opinions. (3,633 صفوف)
reference
Every link from a document to a text or article, and whether the Centre's editors, our rules or a model made it. (20,960 صفوف)
research
Studies. (50 صفوف)
ruling
Court rulings: court, number, date, panel, text. (47,615 صفوف)
source_page
The raw page behind every row: address, archive path, SHA-256. (265,771 صفوف)

أمثلة

كل مادة من قانون الالتزامات والعقود تذكر «التضامن»، مع استشهاد جاهز:

SELECT number, citation, text_ar
FROM article_cited
WHERE law_id = 244226
  AND search_stem @@ websearch_to_tsquery('arabic', 'التضامن')
ORDER BY position;

النصوص الأكثر استشهاداً بها من قبل محكمة التمييز، مع عدد الأحكام التي تستشهد بكل منها:

SELECT l.title, count(DISTINCT r.from_id) AS rulings
FROM reference r JOIN legislation l ON l.id = r.law_id
JOIN ruling x ON x.id = r.from_id AND r.from_type = 'ruling'
WHERE x.court LIKE 'تمييز%'
GROUP BY l.title ORDER BY rulings DESC LIMIT 20;

كل نص ألغى نصاً آخر، وما الذي ألغاه:

SELECT a.title AS repealing, b.title AS repealed
FROM reference r
JOIN legislation a ON a.id = r.from_id
JOIN legislation b ON b.id = r.law_id
WHERE r.from_type = 'legislation' AND r.relation = 'repeals';

من أين تأتي

يسجل كل صف صفحة مركز المعلوماتية القانونية في الجامعة اللبنانية التي قُرئ منها، مع تجزئة SHA-256 للصفحة كما تم تقديمها (source_page). توضح الروابط بين الوثائق من قام بإنشائها: محررو المركز، أو المحلل البرمجي الخاص بنا، أو نموذج ذكاء اصطناعي (reference.method).

الترخيص والاعتماد

نحن لا نملك هذه البيانات. القوانين والأحكام وأعداد الجريدة الرسمية هي نصوص عامة للدولة اللبنانية، وقد قام مركز الدراسات والأبحاث في المعلوماتية القانونية في الجامعة اللبنانية بجمعها ونشرها. نحن نقرأها من الموقع العام للمركز ولا نضيف أي حقوق أو قيود من جانبنا. إذا قمت بإعادة استخدامها، يرجى نسب الفضل للمركز: المصدر: مركز الأبحاث والدراسات في المعلوماتية القانونية، الجامعة اللبنانية.