A Foundational Schema.org Mapping for a Legal Knowledge Graph: Representing Brazilian Legal Norms as FRBR Works
Hudson de Martim · 2025
Read A Foundational Schema.org Mapping for a Legal Knowledge Graph: Representing Brazilian Legal Norms as FRBR Works by Hudson de Martim (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-00827.txt.
Introduction
Brazilian laws could sit in a knowledge graph that machines can trust, and Hudson de Martim lays the first layer of that graph in work from twenty twenty-five. The layer deals with the abstract work: a law as an idea, apart from its wordings over time. A library model names that layer, and a web word set gives it a public form.
Martim maps the library layer onto the web set trait by trait. Laws from a national portal serve as the test case. Each law gets a stable web address and core facts in a linked data form. That anchor then holds later layers, such as dated wordings and inner parts. The aim is a ground truth that beats guess-based models.
Catalog record
| CREATOR | Hudson de Martim |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 27 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2508-00827
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
A Foundational Schema.org Mapping for a Legal Knowledge Graph: Representing Brazilian Legal Norms as FRBR Works Hudson de Martim Abstract Structuring legal norms for machine readability is a critical prerequisite for building advanced AI and information retrieval systems, such as Legal Knowledge Graphs (LKGs). Grounded in the Functional Requirements for Bibliographic Records (FRBR) model, this paper proposes a foundational mapping for the abstract legal Work —which is materialized as the Norm node in our legal Graph RAG framework [ 1 ] —to the interoperable schema.org/Legislation vocabulary. Using the Normas.leg.br portal as a practical case study, we demonstrate how to describe this Work entity via JSON-LD, considering stable URN identifiers, inter-norm relationships, and lifecycle properties. This structured, formal approach provides the essential first step toward creating a deterministic and verifiable knowledge graph, which can serve as a formalized "ground truth" for Legal AI applications, overcoming the limitations of purely probabilistic models. Keywords: Legal Knowledge Graph, Data Modeling, Schema.org, Linked Data, FRBR, Information Retrieval, Legal AI. 1 Introduction Open Government Data (OGD) initiatives are fundamental for enhancing transparency and public participation by making government-generated information openly accessible. However, while the principles of OGD are well established, their application to the legal domain presents unique and significant challenges. Legal norms are not static data points. They are complex, structured documents with a dynamic lifecycle, characterized by a formal hierarchy, extensive inter-norm references, and continuous evolution through temporal versions. Simply publishing legal texts as open files (e.g., PDF or plain text) fails to capture this rich semantic structure, hindering the development of advanced Legal Tech and AI applications that require machine-readable data. To bridge this gap, this paper details a structured, standardized mapping for Brazilian legal norms using the widely adopted Schema.org vocabulary. We focus specifically on modeling the legal norm as a conceptual Work , thereby establishing the foundational layer for a more comprehensive and deterministic representation of legal knowledge. 1.1 The Significance of Open Government Data Open Government Data (OGD) initiatives are pivotal for enhancing transparency, accountability, and innovation by publishing public-sector information without restrictions [ 2 ] . By making data produced with public funds freely available, governments can stimulate economic growth, improve internal workflows, and empower citizens to participate in policymaking [ 3 ] . This principle of openness is especially relevant in the legal domain, though, as we will discuss, it presents unique structural challenges. 1.2 The Challenge of Structuring Legal Norms for Machine Readability While OGD principles provide the "why," the nature of legal data dictates the "how." Unlike tabular data, legal norms possess a deep, hierarchical structure (e.g., titles, chapters, articles) and evolve over time through amendments and repeals. This temporal dynamism means that the "correct" text of a law is dependent on a specific point in time [ 4 ] . Furthermore, the dense web of citations and references between norms creates a complex graph of relationships that is essential for correct interpretation but is lost in unstructured formats. This lack of structured, machine-readable data remains a critical bottleneck for advancing Legal Tech applications, such as Legal Knowledge Graphs (LKGs) and sophisticated AI-powered retrieval systems. These systems require a deterministic, verifiable "ground truth" of the law, which cannot be achieved without a formal data model [ 1 ] . 1.3 Our Contribution: A Schema.org Mapping for Brazilian Legal Works To address these challenges, and focusing on the Normas.leg.br portal initiative by the Brazilian National Congress, we propose a unified mapping of Brazilian legislation to the schema.org/Legislation vocabulary via JSON-LD and Linked Data. Our approach centers on the foundational concept of the legal Work . This paper’s core contribution is the detailed specification of how a conceptual legal norm, understood as an abstract Work —and materialized as Norm node in our legal Graph RAG framework [ 1 ] — can be mapped to sdo:Legislation . This entity represents the legal instrument in its entirety, independent of specific textual versions or formats. We detail the key properties for describing this legal Work , providing concrete examples based on Brazilian law and considering URN identifiers, multilingual support, and inter-norm relationships. This structured schema serves as the essential first layer for improving the quality and interoperability of Brazilian legal data, laying the groundwork for a scalable Legal Knowledge Graph. Subsequent work will build upon this foundation to model the norm’s internal components ( Component Works ) and their dynamic temporal versions, as outlined in our framework. 2 Fundamental Concepts To effectively leverage legal norms in automated systems, we must move beyond plain text to structured, machine-readable formats. This structured data is the bedrock for the modern Legal Tech sector, which develops tools to manage and analyze legal information at scale [ 5 ] . Specifically, Legal Knowledge Graphs (LKGs)—which model legal entities and their relationships as graph structures—depend on semantically rich and interoperable data to enable sophisticated queries and automated inference [ 6 , 7 ] . This section outlines the foundational standards and principles our work is built upon: the practical context of the Normas.leg.br project and the technical cornerstones of Linked Data and the Schema.org vocabulary. 2.1 The Normas.leg.br Project: A Practical Implementation The Normas.leg.br portal 1 1 1 Normas.leg.br is a portal developed by the Brazilian National Congress providing free, structured access to federal legislation. It offers metadata for all norms and compiled texts for many, especially recent ones. The portal is a practical application of the principles discussed in this paper. Available at: https://normas.leg.br . Last accessed on 2025-04-19. , maintained by the Brazilian National Congress, embodies OGD principles by granting unrestricted access to federal norms’ full texts and metadata. To move beyond simple access and enable advanced processing and interoperability, the project strategically adopted international standards as its foundation [ 8 ] . This approach, centered on the principles of Linked Data and the Schema.org vocabulary, aims to make Brazilian norms easily discoverable, linkable, and integrable into a global Legal Knowledge Graph [ 9 , 1 ] . 2.2 Foundational Principles and Vocabularies 2.2.1 The Linked Data Principles The Normas.leg.br initiative implements the four core principles of Linked Data to publish Brazilian legal metadata in an open, machine-readable format [ 10 ] : 1. Use URIs to name everything. Assign a unique URI to each legal norm, ensuring unambiguous identification. 2. Use HTTP(S) URIs. Publish these identifiers so they can be accessed and managed over the Web. 3. Make URIs dereferenceable. Configure each URI to return machine-readable metadata about the identified resource. 4. Include links to other URIs. Create relationships between legal entities to form a web of interconnected data. These principles ensure clarity in identifier management and lay the groundwork for a seamless integration of Brazilian legislation into a global LKG. 2.2.2 Schema.org Vocabulary for Legal Norms To describe the resources identified by URIs, we use Schema.org 2 2 2 Schema.org is a collaborative project providing a shared vocabulary for structured data markup on the internet, primarily used to help search engines understand web content. The project Portal can be accessed at https://schema.org/ . Last accessed on 2025-04-19. , a shared, collaborative vocabulary for structured data. We leverage its hierarchical structure, starting from the generic Thing type, which defines basic properties like name and