RSSDB Documentation


RDFSuite      Overview      Download RSSDB      Instructions     


Table of Contents

  1. Enumeration and Thesaurus
  2. Using XML Datatypes
  3. Namespaces
  4. Limitations of the RSSDB
  5. JavaDoc Documentation
  6. Error Messages

Enumeration and Thesaurus

The latest version of RSSDB (v2.1) supports two new constructs, the Enumeration and Thesaurus.
Although these constructs are not defined in the RDF/S, we have concluded that they are necessary
to address the modeling needs of real-scale Semantic Web applications.

Namespaces

Namespace URIs assigned by RSSDB
The namespace URI that is assigned by RSSDB to a schema that is being stored, depends from the input file given to RSSDB.

If the RSSDB input is a URL (i.e., remote namespace) e.g., http://www.ics.forth.gr/isl/RDF/VRP/Examples/demo/metaschema.rdf the assigned namespace will be the URL itself. In case that the URL doesn't terminate with the character '#' or '/' the namespace will be concatenated with the character #. For example the namespace assigned by RSSDB to the previous namespace will be http://www.ics.forth.gr/isl/RDF/VRP/Examples/demo/culture.rdf#.

if the RSSDB input is a local file (i.e., a local namespace) e.g., /path/RDFSchemas/metaschema.rdf (unix filename) or C:\RDF_Files\metaschema.rdf (windows filename) the namespace assigned to the schema will be the full filename concatenated with the prefix file: and the suffix # e.g., file:/path/RDFSchemas/metaschema.rdf# or file:C:\RDF_Files\metaschema.rdf#.

We have described which would be the default namespace URI for an RDF schema. However, RSSDB gives to the user the option to assign whatever namespace URI wishes. The user can define the namespace she/he wishes to the "Schema Namespace URI" dialog that appears at the beginning of the storage process. This option is very useful when the schema files are found locally in the file system, hence the namespace URIs assigned to them by default are usually very big and unmeaning.

Storage Order & Namespace Declaration
In order to load a file in RSSDB, first you should load the schemas that are used in that file. These schemas are (usually) declared in the namespace declaration part of the file i.e., the element rdf:RDF.
e.g.,
<?xml version="1.0" ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:ms="http://www.ics.forth.gr/isl/RDF/VRP/Examples/demo/metaschema.rdf#">
<ms:RealWorldObject rdf:ID="Artist" />
<ms:RealWorldObject rdf:ID="Artifact" />

The namespaces URIs in namespace declaration part should correspond to namespaces assigned by RSSDB. For example in order the previous schema to be stored the schema metaschema.rdf should have been stored and it should have been assigned the namespace http://www.ics.forth.gr/isl/RDF/VRP/Examples/demo/metaschema.rdf#. Note that the RDF/S namespaces, the XML Schema Namespace (i.e., http://www.w3.org/2001/XMLSchema) and the rdfsuite http://www.ics.forth.gr/isl/RDF/rdfsuite.rdfs# (this namespace is virtual, we consider it defines the Enumeration and Thesaurus constructs we have added in the RDF syntax) are automatically loaded into a database the first time RDF descriptions are stored in it. Thus you should not try to store any of the above namespaces.

Limitations of the RSSDB

RSSDB doesn't support the storage of:


Details about RSSDB (e.g., database representation, performance) can be found at the publications On Storing Voluminous RDF Descriptions: The case of Web Portal Catalogs and The ICS-FORTH RDFSuite: Managing Voluminous RDF Description Bases.


Last modified: July 23, 2003