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.
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.
Redistribution and use in source forms, with or without modification, are permitted provided that the authors have been notified and permission has been granted.
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)
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.
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>.
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.
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>