CSE 532 Theory of Database System
Fall 2005 TA/Project Page


     How to contact me
         Email: zgao (with the domain : @cs.sunysb.edu)
         Office Hours: Tu/Th 8:30am -- 9:30 am Rm 1212(Applied Logic Lab), CS Building



Announcements:

 

 

 

 

 

 



Project:

 

 

 

 

 

 

 

 

 

 

 



XMLSpy -- an XML development environment:

     XMLSpy can be downloaded from http://www.altova.com/. You can choose to download a Professional-Edition, Home-Edition or even Enterprise-Edition (Note that these links are pointing to 2005 version. There may be 2006 version that you can have a try :-)). Home Edition is free, and it is enough for our project. For other editions, new customers can request a free 30-day evaluation key-code from within the application. You can choose any version if you can use it to finish project2.

     In this project, you can use XMLSpy to:

  1. Write XML schema:  There are very convenient graphic tool in XMLSpy.
  2.  Write XML file.
  3. Validate XML file according to schema.

       Here are some useful documents: XMLSpy Tutorial in chm format and pdf format, XMLSpy user reference. These documents will be in your XMLSpy installation directory after installing it. You may use them for reference.



eXist -- an XML database that supports XQuery and other things:

    Information for eXist can be found here: http://exist.sourceforge.net . And there is a Quick Start Guide. 

1.     Download and install: If you want to download it and install it on your own computer, stable version of installer eXist-1.0b2.jar is recommended. You can choose any stable version you want if you can use it to finish project2. After you download it, simply click on the jar file icon, or run it with java –jar eXist-1.0b2.jar. After installation, you should be able to easily access all help documentations on your computer. In graduate lab 1239, eXist can also be installed in your H drive. Remember to make sure that you have enough space left before installation.

2.     Load XML files and execute Xqueries: have a look at QuickStartGuide and XQueryDocs.Notice that eXist doesn’t support query on document fragments constructed within the XQuery, i.e. a query like the following will fail:

                               let $x := <test>Test</test> return $x/test.

You have to store the fragment into the database first. Look at ManipulatingDatabaseContents for example. You can use the provided xmldb extension functions for that.

3.    Execute Xqueries from java: You can read 3. Writing Java Applications with the XML:DB API in Developer's Guide. Here is an example for querying the database. make sure the query path in your xquery is correct. When running your program, add these jar files to your classpath: ~eXist/exist.jar, and all jar files in ~eXist/lib/core/. (Suppose ~eXist is your eXist installation directory.)



Frequently Asked Questions:

 

 

paper 001, "Propositional argumentation and causal reasoning"
BY Alexander Bochman (HAIT)
Reviewers: Ivan Bratko (JSI), Eugene Freuder(UCC), Marco Gori(USI)
Evaluations: {(3,2),(4,3),(3,3)}

Alexander Bochman is the author and his affiliation is HAIT(which stands for Holon Academic Institute of Technology, but you do not need to know this for our project). In this project, you can simply use a string HAIT as his affiliation attribute value.


Useful links:(a free sign up required for some links below)

 


Last updated on Nov, 2005 by Zhiquan Gao