Create a track suitable for manipulation as an SGML defined object.

Project members

  • Lincoln Carr

  • Contents

    1. Proposal
    2. User Interface to classes
    3. Iteration 1: outdated
    4. The Document type definition
    5. Ascii version of the first test case
    6. Iteration 2: outdated
    7. Iteration 3: outdated but usable
    8. Iteration 4: Final DEMO
    9. Users' manual
    10. Programmers' manual


    2.User interface to the classes

    3.How to run our program: (1st iteration - OUTDATED)

    Change directory to ~asengupt/mmdb/src, and run a.out. Right now it doesn't do much, except for reading in a data file, setting up the data structure, and executing a simple embedded query.

    As of 3/15/95, the program is under change, so you might get a seg fault if you run it. We are adding a sgmls backend to this program so that the sgmls output can be directly fed to it, and it creates class instances based on the parsed output.

    As of 3/19/95, the dtd for the movie scripts have been created, and a sample movie script (Star Wars) is in the process of being built from the text script that was available.

    4.The Movie Document Type Definition

    5. Test Case:

    Have some time? here is our first test case (under conversion to SGML - until the conversion is done, only the text would be shown): Star Wars : A New Hope

    6.Deliverable for the second iteration: OUTDATED

    A system to read in the movie script, create its class indices, and execute some inbuilt queries on the created index. The next iteration would let the user write the queries himself using some simple constructs. Look in this space for indication of when this is done.

    To run the executable for this iteration, you would have to go to the directory /u/asengupt/mmdb/dtd, and run the following command:

    sgmls starwars.sgm | ../src/a.out |more

    Its a good idea to "more" it, since there is a lot of output. This program parses the sgml file starwars.sgm, builds the index, and then executes a simple query at the end using the query constructs that we created. Send me mail if you have problems running the code.

    7. Deliverable for the third iteration:(Beta stage)

    This stage is over, as of 4/25/95. However, the sources and executables are still available in the directories as described below. This is the last publicly available iteration. The final iteration involves the use of persistent data and the use of the exodus storage manager and server, so it does not have complete accessability to the general users.

    The command interpreter has been added. The available commands and their syntaxes can be looked up in the user manual (which is still under construction). To run the program, go to ~asengupt/mmdb/src, and run a.out. You can also specify the name of an SGML file in the command lin, such as:

    a.out /u/asengupt/mmdb/dtd/starwars.sgm
    By default, if you do not specify any parameter, it loads this file. You can put in your SGML file if you have any, but the file has to have the doctype definition built into it. If it doesn't have the DOCTYPE definition, you can add one by putting the line:
    <!DOCTYPE <document type name> system <full pathname of DTD file> >
    at the beginning of the sgm file. The program will parse the sgml file, create the temporary output in /tmp/output.tmp, and build the index based on this file, and then let you type in commands.

    8.Final Iteration: DEMO Stage

    As described in the Last iteration, this iteration is not given total unrestrict execution permission, since the data is persistent, needs the use of the exodus server. In any case, the demo, scheduled on May 3, 1995 would be given on the persistent data. We are adding the details of the program, in case it is necessary.

    9. Users' manual

    10. Programmers' Reference

    Back to the c690 Home Page

    Last Updated on: 4/18/95