A Proposal of Hybrid Knowledge Engineering and Refinement

Total Page:16

File Type:pdf, Size:1020Kb

A Proposal of Hybrid Knowledge Engineering and Refinement A Proposal of Hybrid Knowledge Engineering and Refinement Approach Grzegorz J. Nalepa and Igor Wojnicki Institute of Automatics, AGH – University of Science and Technology, Al. Mickiewicza 30, 30-059 Kraków, Poland [email protected] [email protected] Abstract on several observations related to the Software and Knowl- edge Engineering concepts described below. The paper deals with some possible applications of Knowl- This paper presents a concept of a new software engineer- edge Engineering methods to the practical Software Engi- neering. Such an integration could provide a way to over- ing approach based on knowledge engineering methods. In come some constant problems present in the contemporary the paper some important features of both KE and SE ap- Software Engineering. This paper describes foundations of proaches are summarized. Furthermore, common design the HEKATE Project, which aims at incorporating well es- and evaluation problems encountered in SE are outlined. tablished Knowledge Engineering tools and paradigms into Most of these problems can be successfully approached, the Software Engineering domain. A new Hybrid Knowledge and possibly minimized in the field of KE and RBS design. Engineering (HEKATE) methodology is proposed, which This is why, selected concepts and tools developed for the would allow for faster development of highly reliable soft- MIRELLA Project are presented; they aim at supporting the ware. The HEKATE design process is introduced which of- design and evaluation of RBS. Finally, the main concept of fers important capabilities of formal verification, and gradual the hybrid knowledge engineering, on which the HEKATE refinement of software from the conceptual model stage to an executable prototype. An integrated design environment and project is based, is discussed. The paper ends with conclud- runtime based on the ARD/XTT concept is also proposed. ing remarks where some main features of HEKATE are sum- Furthermore, HEKATE-based applications can be integrated marized. with existing software, designed in a classical way. From Knowledge to Software Engineering Introduction It is asserted, that some important concepts and experiences in the field of Knowledge Engineering could be transferable Knowledge-based systems (KBS) are an important class of into the domain of Software Engineering. Several observa- intelligent systems originating from the field of Artificial In- tions regarding relations between these two approaches are telligence (Russell & Norvig 2003). They can be especially discussed below. useful for solving complex problems in cases where purely algorithmic or mathematical solutions are either unknown or Knowledge Engineering Approach demonstrably inefficient. In AI, rules are probably the most What makes KBS distinctive is the separation of knowledge popular choice for building knowledge-based systems, that storage (the knowledge base) from the knowledge process- is the so-called rule-based expert systems (Jackson 1999; ing facilities. In order to store knowledge, KBS use various Lig˛eza 2006). Rule-based systems (RBS) constitute today knowledge representation methods, which are declarative in one of the most important classes of KBS. Building real-life nature. In case of RBS these are production rules. Specific KBS is a complex task. Since their architecture is funda- knowledge processing facilities, suitable for particular rep- mentally different from classic software, typical Software resentation method being used, are selected then. In case of Engineering approaches cannot be applied efficiently. Some RBS these are logic-based inference engines. specific development methodologies, commonly referred to The knowledge engineering process, in case of RBS, in- as Knowledge Engineering (KE), are required. volves two main tasks: knowledge base design, and infer- Software Engineering (SE) does not contribute much con- ence engine implementation. Furthermore, some other tasks cepts in Knowledge Engineering. However, it does pro- are also required, such as: knowledge base analysis and ver- vide some important tools and techniques for it. On the ification, and inference engine optimization. The perfor- other hand some important Knowledge Engineering concep- mance of a complete RBS should be evaluated and vali- tual achievements and methodologies can be successfully dated. While this process is specific to expert systems, it transferred and applied in the domain of Software Engineer- is usually similar in case of other KBS. ing (Maurer & Ruhe 2004). This conclusion is drawn based What is important about the process, is the fact that it Copyright c 2007, American Association for Artificial Intelli- should capture the expert knowledge and represent it in a gence (www.aaai.org). All rights reserved. way that is suitable for processing (this is the task for a 542 knowledge engineer). The actual structure of a KBS does On the other hand, knowledge engineering approaches not need to be system specific – it should not „mimic” or have always been device and implementation-agnostic. The model the structure of the real-world problem. However, the actual implementation of KBS has been based on some high KBS should capture and contain knowledge regarding the level programming languages such as Lisp or Prolog. How- real-world system. The task of programmers is to develop ever, modern knowledge engineering tools heavily depend processing facilities for the knowledge representation. The on some common development tools and programming lan- level at which KE should operate is often referred to as the guages, especially when it comes to user interfaces, network knowledge level (Newell 1982). communication, etc. It should be pointed out, that in case of KBS there is It could be said, that these days software engineering be- no single universal engineering approach, or universal mod- comes more knowledge-based, while knowledge engineer- elling method (such as UML in software engineering). Dif- ing is more about software engineering. This opens multi- ferent classes of KBS may require specific approaches, ple opportunities for both approaches to improve and ben- see (Lig˛eza 2006; Torsun 1995). efit. Software engineering could adopt from knowledge Having outlined the main aspects of KBS development, engineering advanced conceptual tools, such as declarative it can be discussed how they are related to classic software knowledge representation methods, knowledge transforma- engineering methods. tion techniques based on existing inference strategies, as well as verification, validation and refinement methods. Software Engineering Approach This trend is already visible in the Model-Driven Ar- Software engineering (SE) is a domain where a number of chitecture proposed by OMG (Miller & Mukerji 2003). mature and well-proved design methods exist; furthermore, It is a new software engineering paradigm that tries to the software development process and its life cycle is repre- provide a unified design and implementation method and sented by several models. One of the most common models appropriate tools for the declarative specification of soft- is called the waterfall model (Sommerville 2004). In this ware. MDA has already been adapted for business logic process a number of development roles can be identified: applications, so-called business rules approach (Ross 2003; users and/or domain experts, system analysts, programmers, von Halle 2001). testers, integrators, and end users (customers). What makes In order to improve and better integrate KBS with exist- this process different from knowledge engineering is the fact ing software, knowledge engineering could adopt program- that systems analysts try to model the structure of the real- ming interfaces to existing software systems and tools, in- world information system in the structure of computer soft- terfaces to advanced storage facilities such as databases and ware system. So the structure of the software corresponds, data warehouses, modern user interfaces, including graphi- to some extent, to the structure of the real-world system. cal and web-based ones. In this paper a concept of possible The task of the programmers is to encode and implement the integration of some KE solutions with SE is put forward. model (which is the result of the system analysis) in some lower-level programming language. Critical Overview The most important difference between software and The Software Engineering is derived as a set of paradigms, knowledge engineering, is that the former tries to model procedures, specifications and tools from pure program- how the system works, while the latter tries to capture and ming. It is heavily tainted with the way how programs work represent what is known about the system. The knowledge which is the sequential approach, based on the Turing Ma- engineering approach assumes that information about how chine concept. Historically, when the modelled systems be- the system works can be inferred automatically from what is came more complex, SE became more and more declara- known about the system. tive, in order to model the system in a more comprehen- sive way. It made the design stage independent of program- Common Design and Evaluation Problems ming languages which resulted in number of approaches; the best example is the MDA approach (Miller & Mukerji Having outlined some distinctive features of KE and SE ap- 2003). So, while programming itself remains mostly se- proaches, several observations can be made in the field of quential, designing becomes more declarative. The intro-
Recommended publications
  • From Plain Prolog to Logtalk Objects: Effective Code Encapsulation and Reuse
    From Plain Prolog to Logtalk Objects: Effective Code Encapsulation and Reuse Paulo Moura Dep. of Computer Science, Univ. of Beira Interior, Portugal Center for Research in Advanced Computing Systems INESC Porto, Portugal http://logtalk.org/ [email protected] ICLP 2009 Inivited Talk Someone said I need one... 2 Spoilers • Objects in a Prolog world • Logtalk design goals • Logtalk architecture • Logtalk versus Prolog and Prolog modules • Logtalk overview and quick tour • Some demos (if time allows) • Logtalk as a portable Prolog application • Logtalk programming support 3 A warning... • I have a laser and I’m not afraid to use it ... Beware of asking embarrassing questions! • But please feel free to interrupt and ask nice ones that make the speaker shine! 4 A bit of history... • Project started in January 1998 • First version for registered users in July 1998 • First public beta in October 1998 • First stable version in February 1999 5 Logtalk in numbers • Compiler + runtime: ~11000 lines of Prolog code • 37 major releases, 122 including minor ones • Current version: Logtalk 2.37.2 minor release number major release number second generation of Logtalk • ~1500 downloads/month (so many earthlings, so little time) 6 Logtalk distribution • Full sources (compiler/runtime, Prolog config files, libraries) • MacOS X (pkg), Linux (rpm), Debian (deb), and Windows (exe) installers XHTML and PDF User and Reference Manuals • (121 + 144 pages) • +90 programming examples • Support for several text editors and syntax highlighters (text services and code publishing) 7 Objects in Prolog?!? We’re being invaded! 8 Objects have identifiers and dynamic state! • It seems Prolog modules are there first: Identifier! :- module(broadcast, [...]).
    [Show full text]
  • On the Implementation of a Cloud-Based Computing Test Bench Environment for Prolog Systems †
    information Article On the Implementation of a Cloud-Based Computing Test Bench Environment for Prolog Systems † Ricardo Gonçalves, Miguel Areias * ID and Ricardo Rocha ID CRACS & INESC TEC and Faculty of Sciences, University of Porto, Rua do Campo Alegre, 1021/1055, 4169-007 Porto, Portugal; [email protected] (R.G.); [email protected] (R.R.) * Correspondence: [email protected] † This paper is an extended version of our paper published in the Symposium on Languages, Applications and Technologies 2017. Received: 13 September 2017; Accepted: 13 October 2017; Published: 19 October 2017 Abstract: Software testing and benchmarking are key components of the software development process. Nowadays, a good practice in large software projects is the continuous integration (CI) software development technique. The key idea of CI is to let developers integrate their work as they produce it, instead of performing the integration at the end of each software module. In this paper, we extend a previous work on a benchmark suite for the YAP Prolog system, and we propose a fully automated test bench environment for Prolog systems, named Yet Another Prolog Test Bench Environment (YAPTBE), aimed to assist developers in the development and CI of Prolog systems. YAPTBE is based on a cloud computing architecture and relies on the Jenkins framework as well as a new Jenkins plugin to manage the underlying infrastructure. We present the key design and implementation aspects of YAPTBE and show its most important features, such as its graphical user interface (GUI) and the automated process that builds and runs Prolog systems and benchmarks.
    [Show full text]
  • A Linguistic Symbiosis Approach to Bring the Declarative Power of Prolog to Java
    LogicObjects : A Linguistic Symbiosis Approach to Bring the Declarative Power of Prolog to Java Sergio Castro Kim Mens Paulo Moura RELEASeD lab RELEASeD lab Dept. of Computer Science ICTEAM Institute ICTEAM Institute University of Beira Interior Université catholique de Université catholique de & CRACS, INESC–TEC Louvain, Belgium Louvain, Belgium Portugal [email protected] [email protected] [email protected] ABSTRACT Although there exists some other work that focusses on Logic programming is well suited for declaratively solving facilitating the interaction from an object-oriented language computational problems that require knowledge representa- to a logic language, to the best of our knowledge this is the tion and reasoning. Object-oriented languages, on the other first approach that provides a truly transparent, automatic hand, are well suited for modeling real-world concepts and and customizable integration from the perspective of the profit from rich ecosystems developed around them, which object-oriented language. are often missing from logic languages. For applications that This paper is structured as follows: Section 2 presents a require both the declarative power of logic programming and problem of declarative nature and its implementation in a the rich modeling expressiveness and development environ- logic language. This will be referenced in the next sections. ments offered by object-oriented languages, there is a need Section 3 presents our framework and shows how it enables for reconciling both worlds. LogicObjects is our linguistic a transparent access from Java to our implementation in symbiosis framework for integrating Prolog within the Java logic. Section 4 discuss relevant related work and section 5 language.
    [Show full text]
  • Comparative Programming Languages CM20253
    We have briefly covered many aspects of language design And there are many more factors we could talk about in making choices of language The End There are many languages out there, both general purpose and specialist And there are many more factors we could talk about in making choices of language The End There are many languages out there, both general purpose and specialist We have briefly covered many aspects of language design The End There are many languages out there, both general purpose and specialist We have briefly covered many aspects of language design And there are many more factors we could talk about in making choices of language Often a single project can use several languages, each suited to its part of the project And then the interopability of languages becomes important For example, can you easily join together code written in Java and C? The End Or languages And then the interopability of languages becomes important For example, can you easily join together code written in Java and C? The End Or languages Often a single project can use several languages, each suited to its part of the project For example, can you easily join together code written in Java and C? The End Or languages Often a single project can use several languages, each suited to its part of the project And then the interopability of languages becomes important The End Or languages Often a single project can use several languages, each suited to its part of the project And then the interopability of languages becomes important For example, can you easily
    [Show full text]
  • A Simple Approach to Distributed Objects in Prolog
    A Simple Approach to Distributed Objects in Prolog Manuel Carro Manuel Hermenegildo Computer Science School Technical University of Madrid Boadilla del Monte, E-28660,Spain {mcarro,herme}@fi.upm.es Abstract. We present the design of a distributed object system for Prolog, based on adding remote execution and distribution capabilities to a previously existing object system. Remote execution brings RPC into a Prolog system, and its semantics is easy to express in terms of well-known Prolog builtins. The final distributed object design features state mobility and user-transparent network behavior. We sketch an implementation which provides distributed garbage collection and some degree of tolerance to network failures. We provide a preliminary study of the overhead of the communication mechanism for some test cases. Keywords: Objects, Distributed Execution, Remote Calis, Migration, Garbage Collection. 1 Introduction Distributed objects are the natural sequel to object oriented programming and distributed programming. They can be used to implement a wide range of software systems: remote databases, service migration to improve access speed, automatic caching, implementation of stateful agents, etc. A good deal of proposals combining distribution and objects have been developed in the realm of procedural and 00 languages; however, many of them boil down to adding convenient librarles to an existing host language which did not have any provisión for distributed execution [BGL98]. Among the proposals which address 00 and distribution from scratch we may cite Emerald [Jul88], Obliq [Car95], and, to some extent, Jini [We + OO]. Although there have been several proposals for coupling LP and 00 in the logic programming arena (e.g., SICStus objects [Swe99], Prolog++ [Mos94], LogTalk [MouOO], O'Ciao [PB02], and others), few proposal have been made, to the best of our knowledge, to couple objects and distribution.
    [Show full text]
  • 11 – Logic Paradigm and Prolog
    11 – Logic Paradigm and Prolog Logic: Programs are built by defining logical rules and goals. The runtime environment tries to achieve the goals by logically deduction. Examples: Prolog, ASP, Datalog, Florid, Logtalk There are other paradigms as well. This section focuses on the logic paradigm, sometimes called “declarative” programming. In this paradigm, programs are built by defining logical rules and goals, and the runtime environment tries to achieve the goals by logical deduction. By far the most common logic programming language is Prolog, although there are others (ASP, Datalog, Florid, Logtalk, for example). There are also many languages and systems that are derived from Prolog, such as the CLIPS expert system shell we use in CSc-180. You are probably already familiar with Boolean logic. In Boolean logic, names are given to things that are either TRUE or FALSE. The operations AND, OR, and NOT then allow us to build a rich set of rules of inference, such as DeMorgan’s rule, and Modus Ponens. Boolean logic is sufficiently powerful for building the digital circuitry used in a CPU. As a programming tool, however, Boolean logic has serious limitations. The only values available are TRUE and FALSE, which becomes problematic if we want to use other values, such as numbers or strings. It also is difficult in Boolean logic to express logical rules that can be applied generally depending on values that aren’t TRUE and FALSE. For example, if we want to create a rule that expresses that a person is eligible for social security if their age is over 62, it is difficult because there is no mechanism in Boolean logic for associating a number (such as age) with a person.
    [Show full text]
  • Enabling Logic Programming in Java Through Linguistic Symbiosis ?
    LogicObjects: Enabling Logic Programming in Java Through Linguistic Symbiosis ? Sergio Castro1, Kim Mens1, and Paulo Moura2 1 ICTEAM Institute, Université catholique de Louvain, Belgium {sergio.castro,kim.mens}@uclouvain.be 2 Center for Research in Advanced Computing Systems, INESC–TEC, Portugal [email protected] Abstract. While object-oriented programming languages are good at modelling real-world concepts and benefit from rich libraries and devel- oper tools, logic programming languages are well suited for declaratively solving computational problems that require knowledge reasoning. Non- trivial declarative applications could take advantage of the modelling fea- tures of object-oriented programming and of the rich software ecosystems surrounding them. Linguistic symbiosis is a common approach to enable complementary use of languages of different paradigms. However, the problem of concepts leaking from one paradigm to another often hinders the applicability of such approaches. This issue has mainly been reported for object-oriented languages participating in a symbiotic relation with a logic language. To address this issue, we present LogicObjects, a lin- guistic symbiosis framework for transparently and (semi-) automatically enabling logic programming in Java, that aims to solve most of the prob- lems of paradigm leaking reported in other works. Keywords: Linguistic Symbiosis, Object-Oriented Programming, Logic Programming, Multi-Paradigm Programming 1 Introduction Object-oriented languages like Java have demonstrated their usefulness for mod- elling real-world concepts. In addition, the availability of continuously growing software ecosystems around them, including advanced IDEs and extensive li- braries, has contributed to their success. Declarative languages like Prolog are more convenient for expressing problems of declarative nature, such as expert systems [6,16].
    [Show full text]
  • A Linguistic Symbiosis Approach to Bring the Declarative Power of Prolog to Java
    LogicObjects : A Linguistic Symbiosis Approach to Bring the Declarative Power of Prolog to Java Sergio Castro Kim Mens Paulo Moura RELEASeD lab RELEASeD lab Dept. of Computer Science ICTEAM Institute ICTEAM Institute University of Beira Interior Université catholique de Université catholique de & CRACS, INESC–TEC Louvain, Belgium Louvain, Belgium Portugal [email protected] [email protected] [email protected] ABSTRACT Although there exists some other work that focusses on Logic programming is well suited for declaratively solving facilitating the interaction from an object-oriented language computational problems that require knowledge representa- to a logic language, to the best of our knowledge this is the tion and reasoning. Object-oriented languages, on the other first approach that provides a truly transparent, automatic hand, are well suited for modeling real-world concepts and and customizable integration from the perspective of the profit from rich ecosystems developed around them, which object-oriented language. are often missing from logic languages. For applications that This paper is structured as follows: Section 2 presents a require both the declarative power of logic programming and problem of declarative nature and its implementation in a the rich modeling expressiveness and development environ- logic language. This will be referenced in the next sections. ments offered by object-oriented languages, there is a need Section 3 presents our framework and shows how it enables for reconciling both worlds. LogicObjects is our linguistic a transparent access from Java to our implementation in symbiosis framework for integrating Prolog within the Java logic. Section 4 discuss relevant related work and section 5 language.
    [Show full text]
  • The Logtalk Handbook Release V3.39.0
    The Logtalk Handbook Release v3.39.0 Paulo Moura Jun 17, 2020 CONTENTS: 1 User Manual 1 1.1 Declarative object-oriented programming.............................1 1.2 Main features.............................................2 1.2.1 Integration of logic and object-oriented programming..................2 1.2.2 Integration of event-driven and object-oriented programming.............2 1.2.3 Support for component-based programming.......................3 1.2.4 Support for both prototype and class-based systems...................3 1.2.5 Support for multiple object hierarchies..........................3 1.2.6 Separation between interface and implementation....................3 1.2.7 Private, protected and public inheritance.........................3 1.2.8 Private, protected and public object predicates......................4 1.2.9 Parametric objects.....................................4 1.2.10 High level multi-threading programming support....................4 1.2.11 Smooth learning curve...................................4 1.2.12 Compatibility with most Prolog systems and the ISO standard.............4 1.2.13 Performance.........................................4 1.2.14 Logtalk scope........................................5 1.3 Nomenclature............................................5 1.3.1 Smalltalk nomenclature..................................6 1.3.2 C++ nomenclature.....................................7 1.3.3 Java nomenclature.....................................8 1.3.4 Python nomenclature....................................9 1.4 Messages..............................................
    [Show full text]
  • From Plain Prolog to Logtalk Objects: Effective Code Encapsulation and Reuse
    From Plain Prolog to Logtalk Objects: Effective Code Encapsulation and Reuse Paulo Moura Dep. of Computer Science, Univ. of Beira Interior, Portugal Center for Research in Advanced Computing Systems INESC Porto, Portugal http://logtalk.org/ [email protected] 2011 Talk @ Uni Bonn Lecture „Advanced Logic Programming“ Chapter 8: Logtalk -- Objects in Prolog R O O T S Objects in Prolog?!? 2 Objects have identifiers and dynamic state! It seems Prolog modules were there first: Identifier! :- module(broadcast, [...]). Dynamic state! :- dynamic(listener/4). ... assert_listener(Templ, Listener, Module, TheGoal) :- asserta(listener(Templ, Listener, Module, TheGoal)). retract_listener(Templ, Listener, Module, TheGoal) :- retractall(listener(Templ, Listener, Module, TheGoal)). © 2011 Paulo Moura Advanced Logic Programming, Chapter 7. „Logtalk --Objects in Prolog“ Page 8-3 R O O T S Objects inherit lots of stuff I don’t need! Objects are not necessarily tied to hierarchies. But how about typical Prolog module code? Just import everything from :- module(aggregate, [...]). each module! :- use_module(library(ordsets)). :- use_module(library(pairs)). :- use_module(library(error)). :- use_module(library(lists)). :- use_module(library(apply)).... © 2011 Paulo Moura Advanced Logic Programming, Chapter 7. „Logtalk --Objects in Prolog“ Page 8-4 R O O T S Objects are dynamically created! Only if really necessary. Objects can be (and often are) static, simply loaded from source files... But, guess what, Prolog modules were there first: Dynamically creates module foo if it doesn’t exist! ?- foo:assertz(bar). yes © 2011 Paulo Moura Advanced Logic Programming, Chapter 7. „Logtalk --Objects in Prolog“ Page 8-5 R O O T S Why not stick to modules?!? Prolog modules fail to: enforce encapsulation in most implementations, you can call any module predicate using explicit qualification implement predicate namespaces due to the import semantics and current practice, module predicate names are often prefixed..
    [Show full text]
  • From Plain Prolog to Logtalk Objects: Effective Code Encapsulation and Reuse
    From Plain Prolog to Logtalk Objects: Effective Code Encapsulation and Reuse Paulo Moura Dep. of Computer Science, Univ. of Beira Interior, Portugal Center for Research in Advanced Computing Systems INESC Porto, Portugal http://logtalk.org/ [email protected] 2011 Talk @ Uni Bonn Lecture „Advanced Logic Programming“ Chapter 9b: Logtalk -- Objects in Prolog Logtalk – Objects in Prolog Modules as Objects??? 2 Objects are dynamically created! Module = Object? Modules are typically static, simply loaded from source files... But access to a non-existing module implicitly creates it at run-time: ?- p(X), X:assertz(something). yes Dynamically creates module if it doesn’t exist! © 2011 Paulo Moura Advanced Logic Programming, Chapter 9. „Logtalk --Objects in Prolog“ Page 9-3 Objects have identifiers and dynamic state! Module = Object? Identifier! :- module(broadcast, [...]). Dynamic state! :- dynamic(listener/4). ... assert_listener(Templ, Listener, Module, TheGoal) :- asserta(listener(Templ, Listener, Module, TheGoal)). retract_listener(Templ, Listener, Module, TheGoal) :- retractall(listener(Templ, Listener, Module, TheGoal)). © 2011 Paulo Moura Advanced Logic Programming, Chapter 9. „Logtalk --Objects in Prolog“ Page 9-4 Objects can inherit Module import = Inheriatance? :- module(aggregate, [...]). :- use_module(library(ordsets)). :- use_module(library(pairs)). :- use_module(library(error)). :- use_module(library(lists)). :- use_module(library(apply)).... © 2011 Paulo Moura Advanced Logic Programming, Chapter 9. „Logtalk --Objects in Prolog“
    [Show full text]
  • Local Copy of the SWI Prolog Manual, Version 7.2.3 (August 2015)
    VU University Amsterdam University of Amsterdam De Boelelaan 1081a, 1081 HV Amsterdam Kruislaan 419, 1098 VA Amsterdam The Netherlands The Netherlands ˜ Reference Manual Updated for version 7.2.3, August 2015 Jan Wielemaker [email protected] http://www.swi-prolog.org SWI-Prolog is a comprehensive and portable implementation of the Prolog programming language. SWI-Prolog aims to be a robust and scalable implementation supporting a wide range of applications. In particular, it ships with a wide range of interface libraries, providing interfaces to other languages, databases, graphics and networking. It provides extensive support for managing HTML/SGML/XML and RDF documents. The system is particularly suited for server applications due to robust support for multithreading and HTTP server libraries. SWI-Prolog is designed in the ‘Edinburgh tradition’. In addition to the ISO Prolog stan- dard it is largely compatible to Quintus, SICStus and YAP Prolog. SWI-Prolog provides a compatibility framework developed in cooperation with YAP and instantiated for YAP, SICStus and IF/Prolog. SWI-Prolog aims at providing a good development environment, including extensive ed- itor support, graphical source-level debugger, autoloading and ‘make’ facility and much more. SWI-Prolog editor and the PDT plugin for Eclipse provide alternative environ- ments. This document gives an overview of the features, system limits and built-in predicates. ˜ This work is licensed under the Creative Commons Attribution- ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a let- ter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
    [Show full text]