Installation Instructions


An online copy of CGWorld is at the following URL: http://larflast.bas.bg:8080. There you can also find other resources.
CGWorld supports the Windows 95/98/ME/NT/2000 Operating Systems when all additional software is available and operational on the machine.

The CD contains the following file


CGWorld.war - Web application archive containing the CGWorld application and Java and Prolog sources. You can use WinZip or another zip tool to extract the source code.
 

Additional Software Used

Copyright Notice

Copyright 2001 , Linguistic Modeling Laboratory, Bulgarian Academy of Sciences.

Redistribution and use in source forms, with or without modification, are permitted provided that the authors have been notified and permission has been granted.

Installation Steps


1. Install JDK 1.3.1
2. Install Sicstus 3.8.x (the tool has been tested with versions 3.8.2, 3.8.5 and 3.8.6 evaluation copy)
3. Add jasper.jar (Sicstus java interface) to your classpath
4. Install Tomcat (the tool has been tested with versions 3.1.1 and 3.2.2)

  •  unzip the zip file
  •  define tomcat_home=[home tomcat directory]
  • define java_home=[home JDK directory]

  • 5. Put CGWorld.war in the tomcat\webapps directory
    6. start Tomcat
    7. CGWorld should now be  available  at: http://your_host:8080/CGWorld/Index.htm
        If you are at the same computer the url is: http://localhost:8080/CGWorld/Index.htm
     

    Installation Troubleshooting


    One typical error arises when jasper.jar is missing from theTomcat classpath. This is because Tomcat also contains a jasper.jar file (different) and this may involve conflicts. (You can find jasper.jar in the sicstus bin directory) Tomcat adds its jasper.jar to the classpath automatically. You have to manually add Sicstus's jasper.jar as specified in step 3 above.

    Conversion from CGIF to Internal Format (CGLex)


    You can convert files containing graphs in CGIF format to the internal format using the BAT file convert.bat in the root directory of CGWorld. If you run convert.bat without parameters all files with extension .cgf from the folder CGWorld\kb\cgif will be converted into CGLex format and saved in the folder kb\cgif\converted. For every .cgf file the tool creates one .kb file for the conceptual graphs and another type_hierarchy_…kb file for the type and relation hierarchy. Currently, the directory CGWorld\kb\cgif contains the cgif files that were prepared for the CGTools workshop at ICCS 2001. The tool supports level 1 and 2 from these files and most of the basic graphs.
    The program convert.bat has also some additional parameters. You can use:
    convert  <file_name>
    When you use this command, the tool creates files CGKB.kb and Type_Hierarchy.kb (if there is a type or relation hierarchy) in the dafault directory (typically main CGWorld directory).
    You can also use:
    convert <file_name>  <identifier>
    This means that all identifiers for conceptual objects generated by the program will be greater then <identifier>.
     

    Aditional Information


    The online version of CGWorld (http://larflast.bas.bg:8080) uses the Financial Conceptual Graphs Knowledge base. This is also the default knowledge base for the submitted CGWorld.war file. If you want to use it copy the files from directory CGWorld\kb\finance\*.* to directory CGWorld\WEB-INF\classes\larflast\beans (owerite the existing files. If you want to keep it you can copy *.kb files for future use).

    The CGWorld\prolog\kb\prolog directory contains several KBs in Prolog format.

    Contacts


    Please send any comments or questions about the Java Server, the Web interface and the Java-Prolog communication to Pavlin Dobrev <p_dobrev@prosyst.com> .
    Please send any comments or questions about the Conceptual Graph Operations to Albena Strupchanska <albena@lml.bas.bg>
    Please send any comments or questions about the CGIF, FOPC, and CGLex forms to Kristina Toutanova  <kristina@CS.Stanford.EDU>