dynamic aspects of opjk legal ontology

20
See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/249606279 Dynamic aspects of OPJK legal ontology Article · January 2008 DOI: 10.1007/978-3-540-85569-9_8 CITATION 1 READS 35 5 authors, including: Some of the authors of this publication are also working on these related projects: LOD Laundromat View project W4RA - Web for Regreening in Africa View project Zhisheng Huang VU University Amsterdam 198 PUBLICATIONS 1,873 CITATIONS SEE PROFILE Stefan Schlobach VU University Amsterdam 107 PUBLICATIONS 1,419 CITATIONS SEE PROFILE Frank Van Harmelen VU University Amsterdam 354 PUBLICATIONS 18,864 CITATIONS SEE PROFILE Pompeu Casanovas Autonomous University of Barcelona 76 PUBLICATIONS 307 CITATIONS SEE PROFILE All content following this page was uploaded by Zhisheng Huang on 17 December 2013. The user has requested enhancement of the downloaded file. All in-text references underlined in blue are added to the original document and are linked to publications on ResearchGate, letting you access and read them immediately.

Upload: uab

Post on 11-Jan-2023

0 views

Category:

Documents


0 download

TRANSCRIPT

Seediscussions,stats,andauthorprofilesforthispublicationat:https://www.researchgate.net/publication/249606279

DynamicaspectsofOPJKlegalontology

Article·January2008

DOI:10.1007/978-3-540-85569-9_8

CITATION

1

READS

35

5authors,including:

Someoftheauthorsofthispublicationarealsoworkingontheserelatedprojects:

LODLaundromatViewproject

W4RA-WebforRegreeninginAfricaViewproject

ZhishengHuang

VUUniversityAmsterdam

198PUBLICATIONS1,873CITATIONS

SEEPROFILE

StefanSchlobach

VUUniversityAmsterdam

107PUBLICATIONS1,419CITATIONS

SEEPROFILE

FrankVanHarmelen

VUUniversityAmsterdam

354PUBLICATIONS18,864CITATIONS

SEEPROFILE

PompeuCasanovas

AutonomousUniversityofBarcelona

76PUBLICATIONS307CITATIONS

SEEPROFILE

AllcontentfollowingthispagewasuploadedbyZhishengHuangon17December2013.

Theuserhasrequestedenhancementofthedownloadedfile.Allin-textreferencesunderlinedinblueareaddedtotheoriginaldocument

andarelinkedtopublicationsonResearchGate,lettingyouaccessandreadthemimmediately.

Dynamic Aspects of OPJK Legal Ontology

Zhisheng Huang1, Stefan Schlobach1, Frank van Harmelen1, Nuria Casellas2,and Pompeu Casanovas2

1Vrije Universiteit Amsterdam, The Netherlands{huang, schlobac, frankh}@cs.vu.nl

2Universitat Autonoma de Barcelona, Spain{nuria.casellas, pompeu.casanovas}@uab.es

Abstract. The OPJK (Ontology of Professional Judicial Knowledge) isa legal ontology developed to map questions of junior judges to a set ofstored frequently asked questions. In this paper, we investigate dynamicand temporal aspects of one of the SEKT legal ontologies, by subjectingthe ontology OPJK to MORE, a multi-version ontologies reasoning Sys-tem. MORE is based on a temporal logic approach. We show how thetemporal logic approach can be used to obtain a better understandingof dynamic and temporal evolution of legal ontologies.

1 Introduction

SEKT is a European project on developing Semantically Enabled KnowledgeTechnologies1 [10]. The aim of SEKT is to develop and exploit semantically-based knowledge technologies in order to support document management, con-tent management, and knowledge management in knowledge intensive work-places. Specifically, SEKT aims at designing appropriate utilities to users inthree main areas: digital libraries, the engineering industry, and the legal do-main, providing them with quick access to the right pieces of information at theright time.

The SEKT Legal Case Study was based on the development of the proto-type Iuriservice2, a web-based application that will provide access to Spanishjudges to a repository of judicial practical experience, stored in the form ofquestion-answer pairs. A set of surveys provided the quantitative and quali-tative data necessary not only to assess the context of users (newly recruitedjudges in Spain) and their specific needs with regard to the technology underdevelopment, but also to gather the practical experience needed for the repos-itory [7]. In particular, these data gave insight on institutional, organisational,and individual constraints that could either facilitate the introduction of SEKTtechnologies within the judicial units. Iuriservice was designed as a result of1 http://www.sekt-project.com/2 The prototype is developed by the Institute of Law and Technology (IDT-UAB, In-

telligent Software Components S.A. (iSOCO), with the collaboration of the SpanishJudicial School and the Spanish General Council of the Judiciary (SEC2001-2581-C02-01).

2 Zhisheng Huang et al.

those surveys, and will offer decision-making support through the use of ontolo-gies. Also from the data regarding the practical judicial experience with everydayproblems (faced by newly recruited judges in the judicial unit), obtained duringfieldwork, the Ontology of Professional Judicial Knowledge (OPJK) is built [2,8, 3, 6, 5].

Ontologies are the backbone of the Semantic Web, as they allow to sharevocabulary in a semantically sound way. With the rise of the Semantic Web, theneed to create ontologies has become more prominent, and even highly sensi-tive applications depend on ontologies, which in turn have to be of the highestpossible quality. Unfortunately, building such a high-quality ontology is a verytime-consuming process that often requires highly qualified professionals anddomain experts over a significant time span.

Often, building an ontology can take years, and many different versions areproduced (these versions are often called the version space). In this process,keeping track of modeling decisions and changes is an extremely difficult task,for the success of which a dedicated versioning system is necessary. Versioningsystems are known from Software Engineering, but they are restricted to keepingtrack of syntactic changes. In the development of ontologies the more significantchanges are often semantic. Ontology modellers not only need to keep track ofmodelling decisions and changes over time, especially in distributed scenarios,but also they should be able to get a general insight to the changes that theontology has suffered during all the modelling process. Were some versions ofthe ontology more stable than others? Are certain concepts or certain parts ofthe ontology more stable than others? How have the modelling decisions affectedconcepts over time?

Answers to these questions could provide developers with a) information re-garding when and where a unstable (or less stable) version was made in the pastand which one was its previous version, b) knowledge about the type of changes:additions or deletions, c) insight to the stability or unstability of concepts. Thislatter information is of particular interest as could reflect the ongoing discussionamong developers and domain experts regarding a certain concept and, thus,the modelling difficulty that a particular concept has offered. The stability mea-sure could reflect the most difficult discussions present during the design of theontology.

A versioning system can be used to analyze various properties of the versionspace. Consider a situation, where people work on the same ontology, who dis-agree on a particular relation between two classes. In the development process,the disputed relation will probably not remain stable, i.e. in some versions therelation will hold, in others it will not, according to who edited the latest ver-sion. Such an unstable situation can be very damaging for the overall quality ofan ontology, and it is important to detect unstable relations. Part of the taskof a versioning system should be to detect instable relations or similar ”prob-lems” in the version space. For this purpose, we developed the system MORE, aMulti-versions Ontology Reasoning system, at the Vrije Universiteit Amsterdamas part of the SEKT project [12, 13].

Dynamic Aspects of OPJK Legal Ontology 3

The framework of MORE is based on a temporal logic approach. Namely,we consider multi-versions of an ontology as a sequence of ontologies which areconnected with each other via change operations. In this paper, we present thework of an investigation on the dynamic and temporal evolution of the SEKTlegal ontologies, by subjecting the ontology OPJK to MORE. We show howthe temporal logic approach can be used to obtain a better understanding ofdynamic and temporal evolution of legal ontologies.

This paper is organized as follows: Section 2 overviews the system MORE.Section 3 presents the notion of effect space for investigating dynamic and tem-poral aspects of ontologies. Section 4 discusses the OPJK versioning. Section 5presents the analysis of the OPJK ontology with the system MORE. Section 6discusses further work, and concludes the paper.

2 MORE: a Multi-version Ontology Reasoning System

MORE is a multi-version ontology reasoning system, which is based on a tem-poral logic approach [12, 13]. Under this approach, multi-versions of an ontologyare considered as a sequence of ontologies which are connected to each other viachange operations. Each of these ontologies has a unique name. Thus, a versionspace S over an ontology set Os is a set of ontology pairs, namely, S ⊆ Os×Os.We use version spaces as a semantic model for our temporal logic, restrictingour investigation to version spaces that present a linear sequence of ontologies.A linear version space S on an ontology set Os is denoted as a finite sequenceS of ontologies as S = (o1, o2, · · · , on). An ordering < with respect to a versionspace S is introduced as o < o′ iff o occurs prior to o′ in the sequence S. We useontology(S) to denote the ontology set Os = {o1, · · · , on} of the version spaceS.

A temporal logic has been developed in MORE for Multi-version Reasoning[12, 13]. The Language L+ of the temporal logic LTLm is defined as an extensionto the ontology language L with Boolean operators and the backward temporaloperators, which include the previous version operator Prevφ which denotesthat the property φ holds in the previous version (with respect to the currentversion in the version space), the always-in-the-past operator Hφ which denotesthat the property φ always holds in any version before the current version, andthe since operator φSψ which denotes that the property φ always holds (till thecurrent version) since the property ψ held in a version before the current version.The sometimes-in-the-past operator Pφ is defined in terms of the always-in-pastoperator as ¬H¬φ. In the temporal logic, the evaluation of a temporal formula φon an ontology o (i.e., a version) in a version space S is defined as an entailmentrelation [17, 18, 16]:

S, o |= φ

The semantics of the temporal operators is illustrated in Figure 1, wherearrows denote the sequence relation of ontologies in the version space, and aformula under an ontology denotes that the formula holds on the ontology. For

4 Zhisheng Huang et al.

example, the first line in the figure shows that Prevφ holds on an ontology iffthe formula φ hold on its previous ontology.

Fig. 1. Semantics of Temporal Operators

Many Description Logic Reasoners support so-called retrieval queries whichreturn a set of concept names which satisfy a certain condition. For example,a children concept c′ of a concept c, written children(c, c′), is defined as onewhich is subsumed by the concept c, and there exists no other named conceptsbetween them.

Thus, the set of new/obsolete/invariant children concepts of a concept on anontology o in the version space S is defined as follows:

newchildren(S, o, c) =df {c′|S, o |= children(c, c′) ∧ ¬Prev children(c, c′)}.

obsoletechildren(S, o, c) =df {c′|S, o |= ¬children(c, c′) ∧Prev children(c, c′)}.

invariantchildren(S, o, c) =df {c′|S, o |= children(c, c′) ∧Prev children(c, c′)}.

We define the new/obsolete/invariant children concept relations of an ontol-ogy as a set of concept pairs as follows:

newchildren(S, o) =df {〈c, c′〉|S, o |= children(c, c′) ∧ ¬Prev children(c, c′)}.

Dynamic Aspects of OPJK Legal Ontology 5

obsoletechildren(S, o) =df {〈c, c′〉|S, o |= ¬children(c, c′) ∧Prev children(c, c′)}.

invariantchildren(S, o) =df {〈c, c′〉|S, o |= children(c, c′) ∧Prev children(c, c′)}.

The same definitions can be extended into the cases like parent concepts,ancestor concepts, descendant concepts.

We have implemented the prototype of MORE by using Prolog. MORE ispowered by the XDIG interface [15], an extended DIG description logic inter-face for Prolog3. MORE is designed to be a simple API for a general reasonerwith multi-version ontologies. It supports extended DIG requests from other on-tology applications or other ontology and metadata management systems andsupports multiple ontology languages, including OWL and DIG [1]4. This meansthat MORE can be used as an interface to any description logic reasoner as itsupports the functionality of the underlying reasoner by just passing requests onand provides reasoning functionalities across versions if needed. Therefore, theimplementation of MORE will be independent of those particular descriptionlogic reasoners.

3 Ontology Versioning and Effect Space

In order to measure ontology changes and their effect, we have to check theramification of an ontology change on all possible semantic relations on theconcept/role/individual relations of an ontology. We call the set of all possiblesemantic relations the Effect Space of a version space.

All of the ontology changes can be examined under an effect space whichcovers all of the possible changes and their ramification on the semanticrelation with respect to concepts/roles/individuals. In this paper, we con-sider effect spaces which are characterized by the new/obsolete/invariantrelations on concepts/roles/individuals on a version space, which are sup-ported by the description logic based language DIG5. Thus, an effect spaceconsists of new/obsolete/invariant concept relations with respect to chil-dren/parents/ancestors/descendants relations, new/obsolete/invariant role re-lations with respect to rchildren/rparents/rancestors/rdescendant relations, andnew/obsolete/invariant instance relations between concepts and individuals, asthey are defined in DIG.

Suppose that an ontology o in a version space S consists of about nc con-cepts, nr roles, and ni individuals. The number of possible concept relations onnew/obsolete/invariant with respect to children/parents/ancestors/descendantsaspects is NC(S, o) = nc ×nc × 3× 4. The number of possible instance relationsbetween a concept and an individual is NI(S, o) = nc × ni × 3. The number ofpossible role relations is NR(S, o) = nr × nr × 3× 4. Therefore, the effect space

3 http://wasp.cs.vu.nl/sekt/dig4 http://dl.kr.org/dig/5 Note that all ontology files which are specified by using OWL DL can be converted

into ones with the DIG data format by using XDIG. Thus, MORE supports anyOWL DL ontology.

6 Zhisheng Huang et al.

has N(S, o) = NC(S, o) + NR(S, o) + NI(S, o) possible semantic relations ateach version. Suppose that version space S consists of nv version ontologies andeach ontology has almost the same numbers of concept/role/individual, then thenumber of possible semantic relations in a linear version space is N(S, o) × nv.

4 OPJK Versioning

The OPJK ontology lies at the core of the Iuriservice FAQ system, developedwithin the SEKT Legal Case Study. This ontology has been developed collabo-ratively by legal experts from the IDT-UAB team and software engineers fromiSOCO in a distributed environment. This ontology is used to link the input ques-tion in natural language to the repository of stored frequently asked questions(FAQs, which also contain their corresponding answers provided by experiencedjudges from the Judicial School). To this aim, OPJK conceptualises the mostrelevant terms for the judicial profession (extracted from the data gathered dur-ing the ethnographic survey focused on judicial practical problems). As this ishighly specialised knowledge, enriching the current ontology and producing anew version of OPJK is a complex task. In practice, a team of legal expertsmeet in regular intervals to decide on the relevant changes to the OPJK, basedon the analysis of the data [9, 4].

The OPJK version space has been built to reflect the construction process;the legal experts met regularly to discuss the formalisation of the concepts, in-stances and properties extracted from the list of questions that contain practicaljudicial knowledge. During each meeting, a group of questions is discussed andeither concepts, instances or properties were added to the ontology or currentontology terms were modified or deleted. Also, when ontology engineers inter-vened other changes were added. Therefore, the version space is not only a directmirror of the creation process, it also constitutes an opportunity to analyse theepistemic process in a systematic way.

For this experiment, each version in this study represents the changes addedto OPJK suggested by the discussion of one of the above-mentioned questionsat a time. OPJK v1.1 of this study was already a mature version which included97 classes, 118 relations and 484 instances. In general, the added modificationsof each of the versions presented will be of low significance, however it will makeexplicit the changes that specific decisions cause in the ontology. 27 versionshave been collected. Therefore, the OPJK version space can be analysed with twodifferent motivations: first, as a well-constructed (and documented) version spaceof a complex ontology, and secondly, as a formalisation of an epistemologicalprocess, in which knowledge elicitation is made explicit in ontological changes.

In this paper we will only address the first issue, and leave the latter forfuture work. More concretely, we will study measures on the temporal dimen-sion of the version space to detect peculiarities in the process as a whole and inthe evolution of particular conceptualisations over time. Is the process a stable,monotonic one, where information is added to new versions? Or is there con-stantly information retracted, suggesting a more ad hoc process? It is important

Dynamic Aspects of OPJK Legal Ontology 7

for developers to have a general insight to the construction process, especiallywhen the construction is distributed (several ontology modellers and ontologyengineers interact in a distributed environment) and to be able to detect whichversions produced more changes (and the type of changes) to the ontology andalso to detect which concepts have been stable or unstable during the process inorder to be aware of the future changes that might affect them. In the followingwe will try to give an insight to OPJK version space in order to offer some insightto these issues.

5 Analysis of OPJK

In this section, we will measure the OPJK ontology change and their effects fromthe following different levels:

– Version level: We examine ontology changes on a single version, so that theireffects can be displayed in a timeline of a version space, from which weprovide a dynamic view on ontology changes.

– Concept/Role level: We examine ontology changes on a single concept orrole to see its dynamic properties, from which we can obtain the picture ofconcepts and roles for their stability, difference, and the monotonicity.

– Logical Property Level: We examine a logical property to see its temporalaspects in a version space.

5.1 Ontology Change Measure on the Version Level

In this section, we measure ontology changes and their effect on the version level,so that the difference on changes can be presented as a timeline on a versionspace. Moreover, we measure ontology changes with respect to the followingcriteria respectively:

– stability: how stable are the semantic relations when an ontology is sub-jected to a change which leads to a new version. Namely, for each versioni, we compare the effect space at version i with the effect space of its pre-vious version. The intersection of the effect spaces at those two versions isconsidered as the stable part of the current version i.

– difference: what are the differences, more exactly what are new semanticrelations when an ontology has been changed.

– monotonicity: whether or not some semantic relations which held in theprevious version no longer holds in the current version?

The relation among these three properties are illustrated in Figure 2.

Stability Measure We measure the stability of an ontology as the sets ofits invariant concept/role/individual relations when compared with its previousversion.

8 Zhisheng Huang et al.

Fig. 2. The relation among stabilty, difference, and monotonocity.

Dynamic Aspects of OPJK Legal Ontology 9

Figure 3 shows the timeline differences of the cardinality of the stability setsin the version space OPJK6. A way to normalize the stability is to divide them bythe corresponding relation numbers, i.e. NC , NR, NI , and N , in a single versiono of the effect space in a version space S.

Fig. 3. Timeline of the stability of the OPJK ontology (opjk1.1-opjk1.27)

Fig. 4. Timeline of the normalized stability of the OPJK ontology (opjk1.1-opjk1.27)

The timeline of the normalized stability in the effect spaces is shown in Figure4. From the timeline graphs, we can observe a high degree of stability, althoughstability changed with time. The last few versions (opjk1.25 and opjk1.27) areless stable than their previous versions. Analysing the logs, the changes intro-duced to these versions were multiple (subclass, property and instance level)

6 So far the OPJK ontology has flat role relations. Therefore, we do not count anyrole relation of the OPJK ontology in this document.

10 Zhisheng Huang et al.

and important (in quantity) with respect to the other versions. Version opjk1.25included the addition of three subclasses and some instances, although someother instances were deleted and moved to different classes. Version opjk1.27,included four new subclasses, some changes in position in the concept hierarchy,new properties and instances.

Difference Measure The new and obsolete concept/role/individual relationsshow the difference of an ontology from its previous version. They can be usedto measure how big a change has been done on the ontology. We are particularlyinterested in the difference measure by new concept/role/individual relations.

Figure 5 represents the timeline of the new relation of the OPJK ontologywhich shows the amount of different concept/individual relations of all ontologiesin the version space OPJK. From the timeline figures we know that most of thechanges on the OPJK ontology are small, as expected. And that opjk1.25 andopjk1.25 include significant changes in relation to the version space. However, itis interesting to discover that the changes added to opjk1.5, shown as new rela-tions on opjk1.6, are also significantly big, and were not equally represented inthe previous analysis. The biggest change occurs on opjk1.6, the second biggestchange occurs on opjk1.27, and the third one occurs on opjk1.25. Opjk1.6 in-cludes mainly the addition of 6 subclasses and several instances. However, mostof the additions only affect one existing class (Organization) that has been pop-ulated with subclasses and instances, which could explain the stability measuresobtained.

Fig. 5. Timeline of the new relation of the OPJK ontology

Similarly we introduce the normalized difference measure. Figure 6 is thetimeline of the normalized new relation of the OPJK ontology. The result showsthe biggest change occurs on opjk1.6, the second biggest change occurs onopjk1.27, and the third biggest change occurs on opjk1.25.

Dynamic Aspects of OPJK Legal Ontology 11

Fig. 6. Timeline of the normalized new relation of the OPJK ontology (opjk1.1-opjk1.27)

Fig. 7. Timeline of the obsolete relation of the OPJK ontologies

12 Zhisheng Huang et al.

Monotonicity Measure The obsolete concept/role/individual relations showthat some semantic relations on an ontology which hold in the previous versiondo not hold in the current version any more. Therefore, it can be considered as akind of measure for the monotonicity/non-monotonicity of an ontology change.By the monotonicity we mean that the change does not make any previouslyheld property obsolete, otherwise it is called a non-monotonic change. Figure5 is the timeline of the new relations of the OPJK ontology which shows theamount of different concept/individual relations of all ontologies in the versionspace OPJK. This measure on the OPJK version space shows clearly that theaddition of individuals occurs more often than the addition of new subclassesor properties; which in turn shows a high level of agreement on the ontologydeveloped up to that moment. The above-mentioned changes on version opjk1.5,which are shown as new relations on opjk1.6, are significantly big. Figure 7 isthe timeline of the obsolete relation of the OPJK ontology, which shows thatonly opjk1.6, opjk1.23, and opjk1.25 have some obsolete concept relations andobsolete individual relations, and opjk1.16 has only some obsolete individualrelations.

Fig. 8. Timeline of the normalized obsolete of the OPJK ontologies w.r.t. the effectspace (opjk1.1-opjk1.27)

Figure 8 is the timeline of the normalized obsolete relation of the OPJKontology. Those timelines show that opjk1.25 has the biggest nonmonotonicityeffect and opjk1.23 has the second biggest nonmonotonicity effect with respectto the individual relation.

5.2 Ontology Change Measure on the Concept Level

In this subsection we measure ontology changes and their effects on individualconcepts, so that we can determine which concepts/roles in the ontology aremore stable than others, by which we can find the core of an ontology.

Dynamic Aspects of OPJK Legal Ontology 13

Stability Measure We measure the stability of a concept in a version space asthe amount of its invariant relations when compared with its previous version.Figure 9 shows the stability of the concepts in the OPJK ontology. Similarlywe normalize the concept stability measure by dividing the invariance cardi-narity by the maximal invariance cardinarity. The normalized concept stabilityis shown in Figure 10. Both the concept stability and the normalized conceptstability produce the same results. For example, the 5 classes that have shownmore concept stability over time are Happening, Legal_Abstraction, Event,Procedural_Phase and Agent.

The individual stability, more unstable than concept stability, is shown inFigure 11. In this case, the 5 classes that have shown more individual sta-bility over time are Situation, Document, Procedural_Document, Event andOrganization.

Figure 12 shows the top 30 most stable concepts from opjk1.1 tillopjk1.15 in the OPJK ontology. As an example, the 10 more stable con-cepts are: Object, Happening, Abstraction, Legal_Abstraction, Document,Event, Procedural_Document, Procedural_Phase, Civil_Procedure_Phaseand Phase. The analysis of the different list of concepts not only provides anidea of the concepts that have been more stable over time, but also of the partsor branches of the ontology that are most stable. Within the above-mentionedlist, we discover that Happening is superclass of Event, which is a superclass ofPhase. The latter is at the same time a superclass of Procedural_Phase thathas Civil_Procedure_Phase as its sublcass. Also, if we analyse the log of the27 versions, only one instance has been added to one of those classes.

Fig. 9. The concept stability of the OPJK ontology (opjk1.1-opjk1.15)

Difference Measure Similar to the difference measure in the ontology level, wemeasure the difference on the concept level in terms of the new concept relationsand new instances relations.

Figure 13 shows the concept difference in the OPJK ontology. The normal-ized concept difference is shown in Figure 14. Both include the same classes.

14 Zhisheng Huang et al.

Fig. 10. The normalized concept stability of the OPJK ontology (opjk1.1-opjk1.15)

Fig. 11. The individual stability of the OPJK ontology (opjk1.1-opjk1.15)

Fig. 12. Top 30 most stable concepts in the OPJK ontology

Dynamic Aspects of OPJK Legal Ontology 15

The classes that have experienced more changes are: Public_Administration(modified deeply in version opjk1.5), Parent (modified in version opjk1.9),Organization (sublcasses added in version opjk1.11), Adulthood (modified inversion opjk1.3), Competence, Guarantees (modified in version 1.14), Court(version opjk1.5), Group (version opjk1.5), Family_Role (modified in versionsopjk1.9, 1.17 and 1.24), Police_Forces (version opjk1.5), Tribunal (versionopjk1.5) and Happening (version opjk1.9).

Fig. 13. The concept difference of the OPJK ontology (opjk1.1-opjk1.15)

5.3 Ontology Change Measure in the Logical Property Level

A logical property can be examined with respect to its temporal aspects. If aproperty on the ontology is changed once, it is never changed back again inany sequel version as illustrated in Figure 15. We consider that kind of changeas a stable one, because it occurs only once in the whole version space. Thecorresponding temporal query of stable change on a property can be expressedas

¬φSHφ.

The query on the existence of only two changes with respect to a propertyφ, as shown in Figure 16, can be expressed as

¬φSPrev(φSH¬φ).

We examined the OPJK ontology for its changes with respect to the tem-poral aspects. It shows that all concept relations on the OPJK ontology fromopjk1.1 till opjk1.27 are stable. That can be confirmed by examining the obsoleteconcept relations only in opjk1.6, opjk1.23, and opjk1.25, because the timeline

16 Zhisheng Huang et al.

Fig. 14. The normalized concept difference of the OPJK ontology (opjk1.1-opjk1.15)

Fig. 15. Stable change

presentation of the obsolete concept in Figure 7 shows that obsolete conceptrelations occur only in those versions. More examples of temporal queries on theOPJK ontology can be found in our SEKT deliverables [12, 11, 14], which areavailable at the website of MORE7.

6 Discussion and Conclusions

OPJK is an ontology of professional judicial knowledge that has been developedfor the Iuriservice prototype, to support the semantic matching of naturallanguage input questions from junior Spanish judges with FAQs stored in adatabase (question-answer pairs). The OPJK ontology has been developed bylegal experts and judges over a significant time. To obtain further knowledgeregarding the construction process and the implications of decisions a numberof successive versions have been recorded in the so-called version space. Thisspace contains valuable information on the knowledge elicitation process, but is

7 http://wasp.cs.vu.nl/sekt/more

Dynamic Aspects of OPJK Legal Ontology 17

Fig. 16. Only two changes with respect to φ

also an interesting test case for the use of semantic versioning techniques in thecreation of ontologies.

The MORE tool offers semantic versioning support for ontology developmentbased on a combination of change detection and Linear Temporal Logic.

The main findings and observations of the OPJK ontology versioning fromthe analysis and the evaluation are summarized as follows:

– In general the ontology is getting more stable with time. It is observable thatthe level of stability increases with time in general. During the first versions,important decisions on concept and sub-concept level are made.

– The results provided above in this paper, also show that some recent OPJKversions are less stable than their previous ones, as shown in Figure 4. Theproperty indicates that some conceptual restructuring occurs on OPJK. Inthese last 3 versions, due to insight provided by the data (competency ques-tions) the modellers modified modelling decisions made in previous versions;in particular they modified subclass relationships and add children to certainclasses. For example, in version 1.25, a new subclass of FamilyRole is createdand instances belonging to another class have been moved to it. Also a newsubclass is added in version 1.27 and existing instances are reassigned to it.

– From the results it can also be affirmed that adding new individuals occursmore often than adding new concepts. This suggests that most additionswere at the instance level, i.e., at A-box, not at the terminology level, i.e., atT-box. However, when a new concept is added, it usually leads to a biggerchange than that by a new individual.

– Finally, the data also shows that so far most of the changes on OPJK aresmall. Few semantic relations are obsolete. That means that the currentmethodology which is introduced in the design of the OPJK ontology isreliable.

Regarding the implications for ontology development, ontology modelers mayrely on the ontology stability measurement to analyze the modeling decisionsthat involved a great level of instability. In the same way, if the amount ofinstability inflicted by adding or modifying subclasses could be assessed, differentmodeling options could be sought to promote stability. From the modeling pointof view, it is interesting to see how certain knowledge experts discussions aremirrored in the stability measures of the ontology.

18 Zhisheng Huang et al.

Measurements on the concept level might also be very useful for modelers.Regarding OPJK, the list of the most stable concepts in OPJK does not includeActo and Hecho, that, although they have been in the ontology since the initialversions, do not appear within the most 30 stable concepts; these two conceptshave been part of an ongoing discussion within the modeling team, as it can belearnt from the concept stability measurement. Concept stability measurementsare not only useful to know which concepts are not stable, but also to learn thatsome concepts (such as Objeto in OPJK), have been stable against all odds.

The experiments we conducted were three-fold. First, we studied the proper-ties of the overall version space of the OPJK ontology by checking for stability,novelty and monotonicity of the process. More concretely, we studied at whichtime semantic relations between classes were added, deleted or remained thesame. This indicated that there are different types of changes in the OPJK ver-sion space, the smaller ones with only minor, often cosmetic, variations, and themore substantial ones, in which many new semantic relations change. The secondstudy was a more detailed analysis on concept level. Here, we identified the moststable concepts in the OPJK ontologies, those with the most frequent changes,and the most commonly effected concepts. Finally, we provided an initial casestudy on the stability of change in the OPJK version space using the power ofthe temporal logic which underlies MORE.Acknowledgements: The authors thank the anonymous reviewers for construc-tive comments on the earlier draft of the paper. The work reported in this paperwas partially supported by the EU-funded SEKT project(IST-506826).

References

1. Sean Bechhofer, Ralf Moller, and Peter Crowther. The DIG description logic inter-face. In International Workshop on Description Logics (DL2003). Rome, Septem-ber 2003.

2. V.R. Benjamins, J. Contreras, M. Blazquez, L. Rodrigo, P. Casanovas, andM. Poblet. The sekt use legal case components: ontology and architecture. InT.B. Gordon, editor, Legal Knowledge and Information Systems, pages 69–77. IOSPress, Amsterdam, 2004.

3. M. Blazquez, R. Pena-Ortiz, J. Contreras, R. Benjamins, P. Casanovas, J.J. Vallbe,and N. Casellas. Legal case study: Prototype. Project Deliverable D10.3.1, SEKT,2005.

4. P. Casanovas, N. Casellas, C. Tempich, and D. Vrandecic aand R. Benjamins. Opjkmodelling methodology. In 10th International Conference on Artificial Intelligenceand Law (ICAIL). IOS Press, Amsterdam, 2005.

5. P. Casanovas, N. Casellas, J.-J. Vallbe, M. Poblet, V.R. Benjamins, M. Blazquez,R. Pena-Ortiz, and J. Contreras. Semantic web: A legal case study. In J. Davies,R. Studer, and P. Warren, editors, Semantic Web Technologies: Trends and Re-search in Ontology-based Systems, pages 259–280. John Wiley & Sons, Chichester,UK, 2006.

6. P. Casanovas, N. Casellas, J. J. Vallbe, M. Poblet, M. Blazquez, J. Contreras, V.R.Benjamins, and J.-M. Lopez-Cobo. After analysis: First steps of the iuriserviceimplementation at the spanish judicial school. Project Deliverable D10.4.1, SEKT,2007.

Dynamic Aspects of OPJK Legal Ontology 19

7. P. Casanovas, M. Poblet, N. Casellas, J-J. Vallbe, F. Ramos, V.R. Benjamins,M. Blazquez, J. Contreras, and J. Gorronogoitia. Legal scenario. case study in-telligent integrated decision support for legal professionals. Project DeliverableD10.2.1, SEKT, 2005.

8. V.R. Benjamins P. Casanovas, J. Contreras, J. M. Lopez-Cobo, and L. Lemus.Iuriservice: An intelligent frequently asked questions system to assist newly ap-pointed judges. In V.R. Benjamins et al, editor, Law and the Semantic Web, pages205–522. Springer-Verlag, London, Berlin, 2005.

9. N. Casellas, M. Blazquez, A. Kiryakov, P. Casanovas, M. Poblet, and R. Benjamins.OPJK into PROTON: Legal domain ontology integration into an upper-level on-tology. In A. R. Meersman et al., editor, OTM Workshops 2005, Lecture Notes inComputer Science, Vol. 3762, pages 846–855, 2005.

10. John Davies, Rudi Studer, and Paul Warren, editors. Semantic Web Technologies:Trends and Research in Ontology-based Systems. John Wiley and Sons, Ltd., 2006.

11. Zhisheng Huang, Stefan Schlobach, Frank van Harmelen, Michel Klein, NuriaCasellas, and Pompeu Casanovas. Reasoning with multiversion ontologies: Evalu-ation. Project Deliverable D3.5.2, SEKT, 2006.

12. Zhisheng Huang and Heiner Stuckenschmidt. Reasoning with multiversion ontolo-gies. Project Deliverable D3.5.1, SEKT, 2005.

13. Zhisheng Huang and Heiner Stuckenschmidt. Reasoning with multiversion ontolo-gies: a temporal logic approach. In Proceedings of the 2005 International SemanticWeb Conference, 2005.

14. Zhisheng Huang, Annette ten Teije, and Frank van Harmelen. MORE2: An ex-tended reasoning and management system for multi-version ontologies. ProjectDeliverable D3.5.3, SEKT, 2007.

15. Zhisheng Huang and Cees Visser. Extended DIG description logic interface supportfor PROLOG. Deliverable D3.4.1.2, SEKT, 2004.

16. Nicholas Rescher and Alasdair Urquhart. Temporal Logic. Springer-Verlag, 1971.17. Johan van Benthem. The Logic of Time (2nd Edition). Kluwer Academic Press,

1991.18. Johan van Benthem. Temporal logic. In Handbook of Logic in Artificial Intelligence

and Logic Programming, volume 4, pages 241–350. Oxford, Clarendon Press, 1995.