Legal Analysis

From CaseTalk Wiki
Jump to: navigation, search

Many information models exist because a law or policy says so. Wetsanalyse (legal analysis) is the method of reading that law text closely, marking what each phrase is in legal terms — a legal subject, a legal object, a legal fact, a condition — and turning the result into a model that can be traced back to the article it came from.

CaseTalk supports that whole path: the text of the law or policy comes into the model as paragraphs, you annotate its words in place, and every element you link stays traceable to the article and version of the law it was found in.

Bringing in the law or policy

Download a law or policy as XML (or as the zip with the XML inside) in CaseTalk's built-in browser, or import a saved file with File → Import → XML File…. CaseTalk recognises where it comes from and turns it into paragraphs, one per article, member and list item, with the text itself in each paragraph.

Source Format Becomes paragraphs
wetten.overheid.nl Dutch laws chapters, articles, members and list items
Dutch official publications STOP regulations and policies, such as Omgevingswet plans chapters to articles, members and list items
gesetze-im-internet.de German federal laws sections (Abschnitte), paragraphs (§), their Absätze and numbered items
The EU, Switzerland (Fedlex), Italy (Normattiva), the UK and others Akoma Ntoso parts, chapters, sections, articles, subsections, paragraphs and points

The terms a law or policy defines (a list of definitions, or the list of terms of a STOP regulation) become concepts, linked from the paragraph that defines them. Where the XML marks a reference to another article of the same text (Dutch laws and STOP regulations do), the reference becomes a link between the two paragraphs.

Each paragraph also records where it came from. A Dutch law keeps the JuriConnect reference to that exact version of the law, the short reference that stays the same across versions, the title the law is cited by, and a link that opens the article online. Laws and policies from the other sources keep their own identification of the document and of each of its parts.

The paragraphs are listed in the Paragraphs overview and in the Ontology view of the viewer.

The legal classes

The classes come from the Wetsanalyse attribute profile. The installer offers it as an option under Custom attribute profiles; once installed, switch it on under Tools → Attribute Definitions….

Class Dutch
legal subject rechtssubject
legal object rechtsobject
legal relationship rechtsbetrekking
legal fact rechtsfeit
condition voorwaarde
derivation rule afleidingsregel
variable variabele
variable value variabelewaarde
parameter parameter
parameter value parameterwaarde
operator operator
time indication tijdsaanduiding
place indication plaatsaanduiding
delegation power delegatiebevoegdheid
delegation filling delegatie-invulling
source definition brondefinitie

Each class has a colour, and a name per language: CaseTalk shows the name in the language of the user interface. The class is stored by its Dutch value, so a model reads the same whichever language you work in.

The profile is yours to adapt. Open it under Tools → Attribute Definitions…, select JAS → Type, and the options are listed with their value, colour and caption: double-click a colour to change it, a caption to rename the class, or right-click to add, remove or reorder classes. Without the profile CaseTalk still knows the sixteen classes above, but shows them by their Dutch value only.

Annotating a law text

Open a paragraph's law text in one of these ways:

  • in the Paragraphs overview, right-click the paragraph and choose Annotate Text…, or double-click its annotated text;
  • in the viewer, double-click the law text of the paragraph, or right-click the paragraph and choose Annotate Law Text….
A law text with its annotated words marked in the colour of their class

The text opens in the expression editor, on two tabs. Annotated Text shows the law text, wrapped to the window, with the annotated words marked in the colour of their class. Annotations lists each annotation with the element it is linked to and its class.

To annotate:

  1. Select the words in the text.
  2. Click Link Expression Part and pick the model element they stand for, or type a new name to create one.
  3. Use the arrow next to the same button (or right-click and choose Classify as) to give the words their class.

A word takes the class of the element it is linked to, unless you classify it otherwise. That difference matters: the same element can be a legal subject in one article and a legal object in another, and the class belongs to how the law uses the word there, not to the word itself.

New names are created as terms of the law text, so the same word in different laws, or in the model itself, does not get mixed up. Linking them to the elements of your information model is the analysis.

A law text is not a fact expression: it has no roles to edit and is not meant to be completed with example data, so those buttons are not shown for it.

Example

The Vliegbelasting (air passenger tax) model holds the law text of its articles as paragraphs. Article 79 of chapter VII, section 5 reads:

De luchtvaartmaatschappij verstrekt aan de exploitant van de luchthaven de gegevens die nodig zijn voor een juiste toepassing van dit hoofdstuk. ...

Three words in the first sentence are annotated:

Words in the law Linked to Class
luchtvaartmaatschappij luchtvaartmaatschappij legal subject
exploitant exploitant legal subject
luchthaven luchthaven legal object

The airline and the airport operator are the parties the article places an obligation on, so both are legal subjects; the airport is what the obligation is about, so it is a legal object. The same words come back in the second sentence; each occurrence is annotated on its own, so you decide per passage whether it says something new.

From here the analysis continues as modelling: the obligation to provide data becomes a fact type between the airline and the airport operator, and that fact type stays linked to article 79.

Reviewing the analysis

The Legal Classes branch

The Ontology view has a Legal Classes branch. It lists, per class, the elements annotated with it, the paragraphs they occur in, and the words as the law writes them where those differ from the element's name. Double-click a paragraph there to open its law text.

The Terms branch lists every annotated term with the paragraphs it is used in. View → Terms shows the same words as an editable glossary, with their senses: see Terms.

When the law changes

Import the newer version of the law the same way as the first. CaseTalk recognises the law and brings the model up to date instead of adding a second copy:

  • An article that reads differently gets the new wording as its law text. Your own comments on it, and attributes you added, are kept.
  • Articles the new version no longer contains are marked with the task Retire. They are not deleted, so whatever was modelled on them stays traceable. (A STOP regulation says which regulation it is in a separate file next to its text, ending in -Identificatie.xml where the text ends in -Tekst.xml. Keep the two files together, so CaseTalk can tell the versions of the same regulation apart.)
  • Annotations move onto the new wording wherever their words can still be found without doubt: the same words, as often as before. They keep their element and their class.

When the import finishes it tells you how many articles were retired, how many annotations moved, and how many could not be placed.

Annotations that could not be placed stay on the old wording, so the old and the new reading can be compared. Verify then lists two warnings:

  • A law text should still read as it was annotated names each article whose annotations are still on its old wording. Solving it opens the law text, so you can annotate the new wording.
  • A model element should not rest only on retired articles names each element whose every legal basis has been retired: the law it was modelled on no longer says it.

Tracing the model to the law

Because every annotation links a passage of a law to an element of the model, CaseTalk can answer the question in both directions: which articles a fact type is based on, and which elements an article gave rise to.

  • The MIM report shows the legal basis of each element, with its JuriConnect reference.
  • The RDF and OWL exports carry the source of each element, so the trail survives outside CaseTalk.
  • AI assistants connected through the MCP server can read and write the analysis: list the annotations of a paragraph, annotate or classify words, and ask which laws an element exists by.

See also

  • Paragraphs — the overview of the law texts, with the annotated words in their class colours.
  • Terms — the words of the law as a glossary: their classes, their senses in the model, and the articles that use them.