/*
COPYRIGHT (c) 2010 by Institute of Computer Science, 
Foundation for Research and Technology - Hellas
Contact: POBox 1385, Heraklio Crete, GR-700 13 GREECE
Tel:+30-2810-391632
Fax: +30-2810-391638
E-mail: isl@ics.forth.gr
http://www.ics.forth.gr/isl/cci.html

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0
Unported License (http://creativecommons.org/licenses/by-sa/3.0/)
*/




:: CIDOC CRM Xml to RDF Converter ::
-Description-
This is a java application which converts cidoc xml files to the corresponding 
rdf files

-Folders-
The "Sources" folder contains the source code in the *.java files
The "..\Examples" folder contains some cidoc xml files and their corresponding rdf
files which were created using this tool.

-Configuring the Application-
You need to edit the "Paths.txt" file and add the path to the rdfs file 
(it needs to be a local file), its uri and its namespace.

-Compiling and Running-
To compile the application run the compile.bat file
To run the application run the run.bat file

-Using the Application-
Note: You need to put the .dtd file in the same directory as the xml files
1) Select the xml file you want to convert or the folder which contains the xml 
files you want to convert by pressing "Browse" in the "XML Input File/Folder"
box.
2) Then you can select an output folder where the program will save the rdf files
produced from the xml files by pressing "Browse" in the "RDF Output Folder" box.
If no output folder is selected the application will save the rdf files in the
same directory as the input files.
3) Press the "Convert" button and the application will start converting the file
or files which were given as input.

In the "Conversion Status" box you can see which files were converted and which 
failed. If a conversion fails a message should popup with the first error 
detected and this files conversion will stop.
(In this version an rdf file is created even if it fails but it should be 
deleted,ignored or overwritten)
