The present invention relates, in general, to verifying programming artifacts, and more specifically to verifying programming artifacts generated from ontology artifacts or models.
In computer science, ontology is a model, i.e., a formal representation by a set of concepts within a domain and the relationships between those concepts. An ontology model includes a representation of entities and ideas along with their properties and relations, according to a system of categories. For example, a Java model for Java applications can be generated from an ontology model. In order to determine if the Java model is comparable semantically to the ontology model, it is necessary to manually verify by looking at both models, which is likely to be error prone.
According to one embodiment of the present invention, a method for verifying artifacts created from an original ontology model, comprises creating an annotation framework to represent an ontology taxonomy. The ontology model is transformed into programmable artifacts using the annotation framework. The programmable artifacts are compared, using a processor, with the original ontology model in order to verify the artifacts.
According to one embodiment of the present invention, a computer program product verifies artifacts created from an original ontology model. The computer program product comprises a computer readable storage medium having computer readable program code embodied therewith. The computer readable program code is configured to create an annotation framework to represent an ontology taxonomy. The computer readable program code is configured to transform the ontology model into programmable artifacts using the annotation framework. The computer readable program code is configured to compare the programmable artifacts with the original ontology model in order to verify the artifacts.
According to one embodiment of the present invention, a computer system for verifying artifacts created from an original ontology model, comprises a processor and a memory connected to the processor, wherein the memory is encoded with instructions and wherein the instructions when executed comprise instructions for creating an annotation framework to represent ontology taxonomy, instructions for transforming the ontology model into programmable artifacts using said annotation framework, and instructions for comparing, using a processor, the programmable artifacts with the original ontology model in order to verify the artifacts.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The computer system 10 is of a type that executes under a suitable operating system installed on the computer system 10, and may be thought of as comprising software code for verifying programming artifacts generated from ontology artifacts or models. The components of the computer system 10 include a computer 12, a keyboard 22, mouse 24, and a video display 20. The computer 12 includes a processor 26, a memory 28, input/output (I/O) interfaces 30 and 32, a video interface 34, and a storage device 36.
The processor 26 is a central processing unit (CPU) that executes the operating system and the computer software executing under the operating system. The memory 28 includes random access memory (RAM) and read-only memory (ROM), and is used under direction of the processor 26.
The video interface 34 is connected to a video display 20 and provides video signals for display thereon. User input to operate the computer 12 is provided from the keyboard 22 and mouse 24. The storage device 36 can include a disk drive or any other suitable storage medium, as discussed above. Each of the components of the computer 12 is connected to an internal bus 40 that includes data, address, and control buses, to allow components of the computer 12 to communicate with each other via the bus 40. The computer system 10 can be connected to one or more other similar computers via an input/output (I/O) interface 32 using a communication channel 38 to a network, represented as the Internet 18. One or more servers 19 may be connected to the computer 12 via a network, such as, the Internet 18. The servers 19 may comprise the same physical arrangement as the computer 12 and may be co-located with or a part of the computer 12.
The computer software may be recorded on a computer readable storage medium, in which case, the computer software program is accessed by the computer system 10 from the storage device 36. Alternatively, the computer software can be accessed directly from the Internet 18 by the computer 12. In either case, a user can interact with the computer system 10 using the keyboard 22 and mouse 24 to operate the programmed computer software executing on the computer 12.
One embodiment of the invention verifies, with a transformation tool and a validation tool, programmable artifacts, such as Java models, generated from ontology models. This is particularly useful when there is a large ontology model available that is based on industry standards such as ACORD and HIPAA, and the desire is to generate Java models that can be subsequently verified as semantically equivalent to each other. With the Java language providing annotation support, each element in a Java artifact, especially the class/interface and/or method definitions can be tagged with appropriate metadata. Such an annotated Java model can then be parsed to recreate an ontology model, either as an in-memory model or a file, and then compared with the original model.
With reference now to
Referring now to
The following, in conjunction with
This annotation would then be applied to the Java model.
Next, the validation tool 208 (
Returning to
Referring now to
At block 402, the OWL class corresponding to the interface is created programmatically in memory. It is then determined at decision block 404, if an OWL super class exists. If the response to decision block 404 is yes, the method proceeds to block 600 of
At block 600 of
It is then determined at decision block 606 if the annotation is present. If it is determined at decision block 606 that the annotation is not present, the process returns to block 406 in
Returning to
It is determined at decision block 500 of
At block 504, the original Ontology model is loaded, and the process then proceeds to block 700 of
The corresponding structures, materials, acts, and equivalents of all elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
Having thus described the invention of the present application in detail and by reference to embodiments thereof, it will be apparent that modifications and variations are possible without departing from the scope of the invention defined in the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
6199195 | Goodwin et al. | Mar 2001 | B1 |
6389434 | Rivette et al. | May 2002 | B1 |
6560769 | Moore et al. | May 2003 | B1 |
6640231 | Andersen et al. | Oct 2003 | B1 |
7146399 | Fox et al. | Dec 2006 | B2 |
7424701 | Kendall et al. | Sep 2008 | B2 |
7516155 | Ivan et al. | Apr 2009 | B2 |
7921065 | Kim et al. | Apr 2011 | B2 |
8065655 | Deo et al. | Nov 2011 | B1 |
8112257 | Weber et al. | Feb 2012 | B2 |
8156508 | Tommasi et al. | Apr 2012 | B2 |
8209672 | Ivanov | Jun 2012 | B2 |
20040093344 | Berger et al. | May 2004 | A1 |
20040216030 | Hellman et al. | Oct 2004 | A1 |
20060048093 | Jain et al. | Mar 2006 | A1 |
20060064666 | Amaru et al. | Mar 2006 | A1 |
20060130011 | Cornell et al. | Jun 2006 | A1 |
20060242195 | Bove et al. | Oct 2006 | A1 |
20070006132 | Weinstein et al. | Jan 2007 | A1 |
20070112718 | Liu et al. | May 2007 | A1 |
20070294704 | Stephen et al. | Dec 2007 | A1 |
20080071731 | Ma et al. | Mar 2008 | A1 |
20080178164 | Brown et al. | Jul 2008 | A1 |
20080181516 | Jackson | Jul 2008 | A1 |
20080276229 | Hawkins et al. | Nov 2008 | A1 |
20080295068 | Kendall et al. | Nov 2008 | A1 |
20080312898 | Cleary et al. | Dec 2008 | A1 |
20090037884 | Benameur et al. | Feb 2009 | A1 |
20090063522 | Fay et al. | Mar 2009 | A1 |
20090077094 | Bodain | Mar 2009 | A1 |
20090077531 | Miloslavsky et al. | Mar 2009 | A1 |
20100005122 | Jackson | Jan 2010 | A1 |
20100031240 | Drumm et al. | Feb 2010 | A1 |
20100064275 | Akkiraju et al. | Mar 2010 | A1 |
20100077386 | Akkiraju et al. | Mar 2010 | A1 |
20100175054 | Matusikova et al. | Jul 2010 | A1 |
20100228782 | Rao et al. | Sep 2010 | A1 |
20110087625 | Tanner et al. | Apr 2011 | A1 |
20110208788 | Heller et al. | Aug 2011 | A1 |
Number | Date | Country |
---|---|---|
1365320 | Nov 2003 | EP |
1715419 | Oct 2006 | EP |
Entry |
---|
NPL—An Approach to Automatically Generated Model Transformations Using Ontology Engineering Space—Sep. 20, 2006—(Stephan Roser, Bernhard Bauer—Programming of Distributed Systems, Institute of Computer Science, University of Augsburg, Germany. |
NPL—Semantic Business Process Modeling—Benefits and Capability—Jan. 23, 2008—(Florian Lautenbacher, Bernhard Bauer, Christian Seitz—Programming Distributed Systems Lab University of Augsburg, Germany. |
A Taxonomy of Model Transformation—Tom Mens, Pieter Van Gorp—Electronic Notes in Theoretical Computer Science 152 (2006) 125-142. |
An Approach to Automatically Generated Model Transformations Using Ontology Engineering Space—Stephan Roser, Bernhard Bauer Programming of Distributed Systems, Institute of Computer Science, University of Augsburg—2006. |
Ontology Evolution and Versioning The state of the art Burcu Yildiz Vienna University of Technology Institute of Software Technology & Interactive Systems (ISIS) Asgaard-TR-2006-3 Oct. 2006. |
Ontology-based modeling of dynamic ubiquitous computing applications as evolving activity spheres Lambrini Seremeti, Christos Goumopoulosa, Achilles Kameasa—Pervasive and Mobile Computing 5 (2009). |
Semantic Business Process Modeling—Benefits and Capability Florian Lautenbacher, Bernhard Bauer, Christian Seitz Programming Distributed Systems Lab 2008 University of Augsburg, Germany 2008. |
J. Blech et al., “Formal Verification of Java Code Generation From UML Models”, Proceedings of the 3rd International Fujaba Days, 2005, “MDD in Practice”. |
A. Giorgetti et al., “Verification of Class Liveness Properties With Java Modelling Language”, Software, IET, Dec. 2008, vol. 2, Issue 6, pp. 500-514. |
L. Yu et al., “Ontology Model-Based Static Analysis on Java Programs”, 2008 32nd Annual IEEE International Computer Software and Applications Conference, pp. 92-99. |
M. Lohmann et al., “Executable Visual Contracts”, Proceedings of the 2005 IEEE Symposium on Visual Languages and Human-Centric Computing, pp. 1-8. |
J. Groslambert et al., “JML-Based Verification of Liveness Properties on a Class in Isolation”, Fifth International Workshop on Specification and Verification of Component-Based Systems, Nov. 10-11, 2006, pp. 41-48. |
R. Valverde, “The Ontological Evaluation of the Requirements Model When Shifting From a Traditional to a Component-Based Paradigm in Information Systems Re-Engineering”, Dissertation Submitted to University of Southern Queensland, pp. 1-209, 2008. |
Number | Date | Country | |
---|---|---|---|
20120066661 A1 | Mar 2012 | US |