Peg Duncan on Twitter points to an article on Law.com by an English academic, Adam Wyner, "Legal Ontologies Spin a Semantic Web." (By the way, if you're not following Peg on Twitter, you should be.) I was curious because of my interest in legal research and because of the the flirtation with the semantic web that Google Squared and Wolfram/Alpha seem to represent.

Obviously — to me, at least — if computers are going to be able to respond in a sophisticated, i.e. more helpful, way to our queries about law, there needs to be an agreed-upon set of terms and relationships among those terms capable of describing ("capturing"?) important aspects of the discipline. This is what I understand to be an "ontology" within information science. To pick a simple example from Wyner's article:

Hale, Williams and Partners is a law firm; Joan Williams is a partner at Hale, Williams, and Partners. Given what we know about law firms, we infer that Joan Williams works at Hale, Williams and Partners and that Joan Williams is a lawyer. To us, these inferences are obvious, but for a computer to make them, the knowledge must use explicit, formal inference rules

This seems fairly straightforward (though the mischievous might like to cavil about "works at"). But things get evidently trickier when it comes to analyzing case law.

Wyner sets out, as examples, what he calls "elementary questions that can be answered by any legal professional, but not by a computer." Some of these are, indeed, easy to imagine an ontology handling well: Where was the case decided? Was it a case of first instance or on appeal? What legislation or case law was cited? Such "meta" or process facts are already meat and drink for the big legal databases.

Other questions in his list, however, strike me as being potentially problematic: that is, all "legal professionals" might not agree on the answers under all circumstances:

  • What was the basis of the appeal?
  • What were the legal issues at stake?
  • What were the facts?
  • What factors were relevant in making the decision?

This isn't the place to go into the perplexities of precedent, but it is important to acknowledge that they exist. Indeed, it is fussing these perplexities that sometimes constitutes the practice of law. Which brings me to my point: among the Thirteen Ways of Looking at the Law, one way sees it as a language game, where, simply put, interpretation is what the players do. This inevitable need for interpretation is fundamentally at odds with the semantic web's need for a fixed, more or less easily applied set of rules of analysis: it's a case of ontology meets hermeneutics, or, if you like, Humpty Dumpty meets Alice.

Of course, we can sneak up on precision. We can and should develop an ontology that can be used to mark up cases and legislation so that the more basic queries can be better answered by machines. But while we do this, we'll have to watch that as we approach the argumentation boundary we aren't fed simplification in the interests of expediency and profit, results, for instance, in which employees at LexisNexis or BigLaw pluck a phrase from a judgment and tag it as the ratio.

Far more difficult is legislation. To bring an ontology to bear on that would, I suppose, ideally require a shift in the way statutes are drafted, so that at a minimum, for example, definitions are always able to be located as such. This is, in a way, what a civil code has accomplished. But beyond that simple sort of restructuring of the parts ("if this, then that"), I'm unclear about how legal semanticists, if that's an appropriate way to describe Professor Wyner, would propose to construct an ontology for statute law.

Simon Fodden is the founder of Slaw. He taught law at Osgoode Hall Law School for more than 30 years before he retired to focus on writing, publishing, and IT and law.
[click on the author's name for more information]

up

2 Comments on “Ontology, Law and the Semantic Web”

  1. Lawnix Law says:

    One thing that should make the task of characterizing cases by issue or subject matter easier is that cases are so heavily "linked" to each other via citations and referencing. If you "teach" the application those cases that are seminal in each legal area, a cite to one of those cases could be a "vote" making it more likely that a given case falls into a particular type. You could get to work data mining cases to establish patterns that a computer could recognize.

    That would probably be much more valuable than a mere count of keywords such as "corporation" or even "contract". Many cases include such words despite presenting no significant corporations or contract law issues.

    I won't go into the choice of law and characterization issues that give even judges a hard time.

    Last but not least – cases that address important procedural issues would probably be really tough to recognize.

  2. To help me get my head around the semantic web, I hope to be going to meetings of the new Toronto group appropriately named the Toronto Semantic Web Meetup Group. The next meeting is the evening of June 23rd, on "The Semantics of Taxonomies: how taxonomies bring meaning to information." Register here. There is still room if anyone would like to join us. I'm going to come back to this blog post after I've attended that meeting. ;-)

SlawTips      

SlawTips Cash Flow Reports – Part 1
Thursday, May 17

Following on our earlier Top 10 Financial Errors posts, this is the first in a series of 10 posts dealing with Cash Flow Reports and in particular, cash flow management.… »»

Practice

SlawTips Just the Facts
Wednesday, May 16

Today’s research tip is about facts. When research is assigned to juniors (and librarians for that matter) it is important to share facts that are critical to the research. It … »»

Research

SlawTips Minimize That Darn Office Ribbon for More Room on Your Desktop
Wednesday, May 16

If you are using Office 2007 or 2010, The Ribbon is now a part of your life. Some of you will be happy about this – some of you won’t.… »»

Technology

noted on Slaw    

MLB Selected Case Summaries    

These summaries of selected recent cases are provided each week to Slaw by Maritime Law Book.
More information.

  • Aliens - Exclusion and expulsion - Power to detain and deport - Minister’s certificate - Review - Evidence

    In 2002, Harkat was detained pursuant to a ministerial security certificate issued under the Immigration and Refugee Protection Act (IRPA) as a person inadmissible to Canada on grounds ...

  • Contracts - Formation of contract - Signing - Electronic signature

    The plaintiff expressed an interest in purchasing the defendant’s (vendor’s) condo. The parties agreed to carry on their discussions through e-mail. Following an exchange of e-mails, the plaintiff claimed that the defendant was contractually bound to ...

  • Barristers and Solicitors - Relationship with client - Confidential communications - General

    The petitioner was a Receiver appointed in March 2009 by a California court over the assets of GJB Enterprises Inc. (a “Ponzi scheme”) and its principals, the Berkes (the GJB parties). The court ordered ...

  • Practice - Costs - Funding before judgment - When interim or advance costs available

    The plaintiffs were “direct to home” satellite based subscription program providers. Rex and other defendants offered “grey market” services to Canadian residents to facilitate the unauthorized reception in Canada of the plaintiffs’ ...

TalkLaw/ParLoi    

This is a listing of a few upcoming events in Canada of interest to lawyers, law students, legal librarians, and others involved in the practice of law.

Clicking on any event in the list below will give you access to more information and to links allowing you to see the full entry and to add the event to your own calendar.

Click this link for a fuller version of the TalkLaw/ParLoi calendar of events and for instructions as to how to add events and calendars to your own calendar.