Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Size:
< 1K
ArXiv:
DOI:
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
3
17
section
stringlengths
1
5
title
stringlengths
7
86
text
stringlengths
40
261k
is_supplemental
bool
2 classes
1-1.0
1.0
1.0: Prelude to Introduction to Criminal Law
*Elementary notions of fairness enshrined in our constitutional jurisprudence dictate that a person receive fair notice not only of the conduct that will subject him to punishment but also of the severity of the penalty that a State may impose.* **-* *[BMW of North America, Inc. v. Gore](http://scholar.google.com/scho...
false
2-2.4
2.4
2.4: The Burden of Proof
##### Learning Objectives 1. Define the burden of proof. 2. Distinguish between the burden of production and the burden of persuasion. 3. Compare the civil and criminal burden of proof. 4. Compare inference and presumption. 5. Compare circumstantial and direct evidence. The key to the success of a civil or criminal t...
false
3-3.7
3.7
3.7: End-of-Chapter Material
## Summary The US Constitution protects criminal defendants from certain statutes and procedures. State constitutions usually mirror the federal and occasionally provide more protection to criminal defendants than the federal Constitution, as long as the state constitutions do not violate federal supremacy. Statutes c...
false
2-2.3
2.3
2.3: The Court System
##### Learning Objectives 1. Compare federal and state courts. 2. Define jurisdiction. 3. Compare original and appellate jurisdiction. 4. Identify the federal courts and determine each courtโ€™s jurisdiction. 5. Identify the state courts and determine each courtโ€™s jurisdiction. Every state has *two* court systems: the ...
false
5-5.0
5.0
5.0: Prelude to Criminal Defenses, Part 1
*A person who unlawfully and by force enters or attempts to enter a personโ€™s dwelling, residence, or occupied vehicle is presumed to be doing so with the intent to commit an unlawful act involving force or violenceโ€ฆ* *- Fla. Stat. Ann. ยง776.013(4), cited in Section 5.3.3 "Defense of Habitation"* *![31630461f41c1ebdd9...
false
1-1.2
1.2
1.2: Criminal Law and Criminal Procedure
##### Learning Objective 1. Compare criminal law and criminal procedure. This book focuses on **criminal law**, but it occasionally touches on issues of **criminal procedure**, so it is important to differentiate between the two. Criminal law generally defines the *rights* and *obligations* of individuals in society...
false
3-3.6
3.6
3.6: Excessive Punishment
##### Learning Objectives 1. Compare an inhumane procedure with disproportionate punishment under the Eighth Amendment. 2. Identify the most prevalent method of execution pursuant to the death penalty. 3. Ascertain crime(s) that merit capital punishment. 4. Identify three classifications of criminal defendants who can...
false
0-6
6
Preface
Welcome to *Criminal Law*, your guide to a fascinating yet challenging topic. This engaging and interactive textbook will enhance your ability to be successful in academics or a career in criminal justice. ## Content *Criminal Law* begins with the foundations of law and the legal system and then extensively explores ...
false
6-6.0
6.0
6.0: Prelude to Criminal Defenses, Part 2
*The use of drugs or controlled substances, dependence on drugs or controlled substances or voluntary intoxication shall not, as such, constitute a defense to a criminal chargeโ€ฆ* *- [Or. Rev. Stat. ยง 161.125(1)](https://www.oregonlaws.org/ors/161.125), cited in Section 6.2.2 "Intoxication"* ![A glass filled with ice,...
false
2-2.2
2.2
2.2: The Branches of Government
##### Learning Objectives 1. Identify the three branches of government. 2. Ascertain the head of the federal and state legislative branches of government. 3. Compare the Senate and the House of Representatives. 4. Ascertain the head of the federal and state executive branches of government. 5. Ascertain the head of th...
false
1-1.4
1.4
1.4: Classification of Crimes
##### Learning Objectives 1. Ascertain the basis for grading. 2. Compare malum in se and malum prohibitum crimes. 3. Compare the punishment options for felonies, misdemeanors, felony-misdemeanors, and infractions. 4. Compare jail and prison. Crimes can be classified in many ways. Crimes also can be grouped by subject...
false
5-5
5
5: Criminal Defenses, Part 1
* [5.0: Prelude to Criminal Defenses, Part 1](https://biz.libretexts.org/Bookshelves/Criminal_Law/Introduction_to_Criminal_Law/05%3A_Criminal_Defenses_Part_1/5.00%3A_Prelude_to_Criminal_Defenses_Part_1 "5.0: Prelude to Criminal Defenses, Part 1") : This page discusses Florida Statute ยง776.013(4), which establishes ...
false
2-2.1
2.1
2.1: Federalism
##### Learning Objectives 1. Define federalism. 2. Ascertain the sections of the Constitution that give Congress regulatory authority. 3. Ascertain the basis for Congressโ€™s authority to enact criminal laws. 4. Compare federal regulatory authority with state regulatory authority. 5. Compare federal criminal laws with s...
false
6-6
6
6: Criminal Defenses, Part 2
* [6.0: Prelude to Criminal Defenses, Part 2](https://biz.libretexts.org/Bookshelves/Criminal_Law/Introduction_to_Criminal_Law/06%3A_Criminal_Defenses_Part_2/6.00%3A_Prelude_to_Criminal_Defenses_Part_2 "6.0: Prelude to Criminal Defenses, Part 2") : This page states that according to the Oregon Revised Statutes, dru...
false
3-3.5
3.5
3.5: The Right to Bear Arms
##### Learning Objective 1. Ascertain the constitutional parameters of an individualโ€™s right to possess a handgun under the Second Amendment. Although the federal Constitution specifically references a right to bear arms in the **Second Amendment**, the US Supreme Court has not interpreted this amendment in a signifi...
false
1-1.3
1.3
1.3: The Difference between Civil and Criminal Law
##### Learning Objectives 1. Compare civil and criminal law. 2. Ascertain the primary differences between civil litigation and a criminal prosecution. Law can be classified in a variety of ways. One of the most general classifications divides law into civil and criminal. A basic definition of civil law is โ€œthe body o...
false
2-2.0
2.0
2.0: Prelude to The Legal System in the United States
*The requirement of proof beyond a reasonable doubt has this vital role in our criminal procedure for cogent reasons. The accused, during a criminal prosecution, has at stake interests of immense importance, both because of the possibility that he may lose his liberty upon conviction and because of the certainty that h...
false
4-4.4
4.4
4.4: End-of-Chapter Material
## Summary Crimes are made up of parts, referred to as elements. The criminal elements are criminal act or actus reus, criminal intent or mens rea, concurrence, causation, harm, and attendant circumstances. Only crimes that specify a bad result require the causation and harm elements. Criminal acts must be voluntary ...
false
2-2
2
2: The Legal System in the United States
* [2.0: Prelude to The Legal System in the United States](https://biz.libretexts.org/Bookshelves/Criminal_Law/Introduction_to_Criminal_Law/02%3A_The_Legal_System_in_the_United_States/2.00%3A_Prelude_to_The_Legal_System_in_the_United_States "2.0: Prelude to The Legal System in the United States") : This page emphasi...
false
3-3.4
3.4
3.4: The Right to Privacy
##### Learning Objectives 1. Ascertain the constitutional amendments that support a right to privacy. 2. Ascertain three constitutionally protected individual interests that are included in the right to privacy. The federal Constitution does not explicitly protect privacy. However, several of the amendments in the Bi...
false
1-1.5
1.5
1.5: The Purposes of Punishment
##### Learning Objective 1. Ascertain the effects of specific and general deterrence, incapacitation, rehabilitation, retribution, and restitution. Punishment has five recognized purposes: *deterrence*, *incapacitation*, *rehabilitation*, *retribution*, and *restitution*. ## Specific and General Deterrence Deterren...
false
4-4.3
4.3
4.3: Causation and Harm
##### Learning Objectives 1. Distinguish between factual and legal cause. 2. Define intervening superseding cause, and explain the role it plays in the defendantโ€™s criminal liability. 3. Define one and three years and a day rules. As stated previously, **causation** and **harm** can also be elements of a criminal off...
false
7-7.0
7.0
7.0: Prelude to Parties to Crime
*Congress can impute to a corporation the commission of certain criminal offenses and subject it to criminal prosecution therefor.* **-* *[New York Central R. Co. v. U.S.](http://supreme.justia.com/us/212/481)*, cited in Section 7.2.1 "Corporate Liability"* ![A modern glass building with a curved design reflects a bl...
false
1-1.7
1.7
1.7: End-of-Chapter Material
## Summary A crime is action or inaction in violation of a criminal law. Criminal laws vary from state to state and from state to federal. The study of criminal law defines crimes and defenses to crimes. The study of criminal procedure focuses on the enforcement of rights by individuals while submitting to government...
false
3-3.3
3.3
3.3: Freedom of Speech
##### Learning Objectives 1. Define speech under the First Amendment. 2. Identify five types of speech that can be governmentally regulated in spite of the First Amendment. 3. Ascertain the constitutional parameters for statutes that criminalize speech. The **First Amendment** states, in relevant part, โ€œCongress shal...
false
5-5.5
5.5
5.5: Consent
##### Learning Objectives 1. Ascertain the two elements required for the consent defense. 2. Identify three situations where consent can operate as a legal defense. **Consent** by the victim can also form the basis of a justification defense to criminal conduct. **Consent** is most commonly used as a defense to sex c...
false
End of preview. Expand in Data Studio

Legal RAG QA ๐Ÿ”

Legal RAG QA by Isaacus is a challenging benchmark for evaluating the end-to-end performance of real-world legal RAG applications.

Legal RAG QA consists of 190 passages and external materials and 138 questionโ€“answerโ€“relevent-passages triplets sourced from LibreTexts' Introduction to Criminal Law textbook.

This dataset was originally intended to serve as the Legal RAG Bench benchmark but was subsequently replaced with a much larger dataset constructed from the Victorian Criminal Charge Book. Both datasets are equally high quality, however. Accordingly, in the interests of supporting open AI evaluation, we have publicly released Legal RAG QA under the same license as the Introduction to Criminal Law textbook.

Usage ๐Ÿ‘ฉโ€๐Ÿ’ป

Legal RAG QA may be loaded like so using the Hugging Face ๐Ÿค— datasets Python library:

import datasets

# Load passages in Legal RAG QA.
corpus = datasets.load_dataset("isaacus/legal-rag-qa", name="corpus", split="test")

# Load question-answer-passage triplets from Legal RAG QA.
qa = datasets.load_dataset("isaacus/legal-rag-qa", name="qa", split="test")

Structure ๐Ÿ—‚๏ธ

Passages in the Legal RAG QA corpus are stored in the corpus subset, with each entry having the following fields:

  • id (string): a unique identifier for the passage.
  • section (string): a unique identifier for the section of the textbook from which the passage originates.
  • title (string): the title of the section of the textbook from which the passage originates.
  • text (string): the text of the passage, formatted in Markdown.
  • is_supplemental (boolean): whether the passage comes from the textbook itself or is supplementary material.

Questions, answers, and the IDs of relevant passages are stored in the qa subset, with each entry having the following fields:

  • id (string): a unique identifier for the question.
  • question (string): the text of the question.
  • answer (string): the text of the answer to the question.
  • requires_supplemental (boolean): whether the question depends on supplementary material.
  • relevant_documents (string): the unique identifiers of passages in the corpus subset that are most relevant to the question.

The corpus and qa subsets of Legal RAG QA both currently have only a single split, test.

Methodology ๐Ÿงช

Legal RAG QA was constructed by downloading the Introduction to Criminal Law textbook from LibreTexts, extracting question-answer pairs, and then downloading any relevant passages from the textbook or relevant external materials to serve as a corpus.

License ๐Ÿ“œ

This dataset is licensed under CC BY NC SA 3.0.

Citation ๐Ÿ”–

If you've relied on Legal RAG QA for your work, please cite it alongside Legal RAG Bench:

@misc{butler2026legalragqa,
      title={Legal RAG QA},
      author={Abdur-Rahman Butler and Umar Butler},
      year={2026},
      publisher = {Isaacus},
      url={https://huggingface.co/datasets/isaacus/legal-rag-qa}
}

@misc{butler2026legalragbench,
      title={Legal RAG Bench: an end-to-end benchmark for legal RAG}, 
      author={Abdur-Rahman Butler and Umar Butler},
      year={2026},
      eprint={2603.01710},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2603.01710}, 
}
Downloads last month
124

Space using isaacus/legal-rag-qa 1

Collection including isaacus/legal-rag-qa

Paper for isaacus/legal-rag-qa