incubator-triplesoup-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r528394 [24/35] - in /incubator/triplesoup/donations/TRIPLES-3-RDFStore: ./ dbms/ dbms/client/ dbms/client/t/ dbms/dbmsproxy/ dbms/deamon/ dbms/doc/ dbms/include/ dbms/libdbms/ dbms/utils/ doc/ include/ lib/ lib/DBD/ lib/RDFStore/ lib/RDFSt...
Date Fri, 13 Apr 2007 08:56:16 GMT
Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/rdfstore_xsd.c
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/rdfstore_xsd.c?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/rdfstore_xsd.c (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/rdfstore_xsd.c Fri Apr 13 01:56:01 2007
@@ -0,0 +1,518 @@
+/*
+ * Copyright (c) 2000-2006 All rights reserved,
+ *       Alberto Reggiori <areggiori@webweaving.org>,
+ *       Dirk-Willem van Gulik <dirkx@webweaving.org>.
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * 
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * 
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ * 
+ * 3. The end-user documentation included with the redistribution, if any, must
+ * include the following acknowledgment: "This product includes software
+ * developed by Alberto Reggiori <areggiori@webweaving.org> and Dirk-Willem
+ * van Gulik <dirkx@webweaving.org>." Alternately, this acknowledgment may
+ * appear in the software itself, if and wherever such third-party
+ * acknowledgments normally appear.
+ * 
+ * 4. All advertising materials mentioning features or use of this software must
+ * display the following acknowledgement: This product includes software
+ * developed by the University of California, Berkeley and its contributors.
+ * 
+ * 5. Neither the name of the University nor the names of its contributors may
+ * be used to endorse or promote products derived from this software without
+ * specific prior written permission.
+ * 
+ * 6. Products derived from this software may not be called "RDFStore" nor may
+ * "RDFStore" appear in their names without prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * 
+ * ====================================================================
+ * 
+ * This software consists of work developed by Alberto Reggiori and Dirk-Willem
+ * van Gulik. The RDF specific part is based based on public domain software
+ * written at the Stanford University Database Group by Sergey Melnik. For
+ * more information on the RDF API Draft work, please see
+ * <http://www-db.stanford.edu/~melnik/rdf/api.html> The DBMS TCP/IP server
+ * part is based on software originally written by Dirk-Willem van Gulik for
+ * Web Weaving Internet Engineering m/v Enschede, The Netherlands.
+ * 
+ */
+
+#if !defined(WIN32)
+#include <sys/param.h>
+#endif
+
+#include <sys/types.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <errno.h>
+#include <strings.h>
+#include <fcntl.h>
+
+#include <time.h>
+#include <sys/stat.h>
+
+#include "rdfstore_log.h"
+#include "rdfstore_xsd.h"
+
+/*
+#define MX	{ printf(" MX %s:%d - %p\n",__FILE__,__LINE__,me->nindex->free); }
+*/
+
+/*
+ * #define RDFSTORE_XSD_DEBUG
+ */
+
+time_t _rdfstore_xsd_mktime(const struct tm * t);
+
+void rdfstore_xsd_serialize_decimal( const double value, char * result ) {
+	sprintf( result, RDFSTORE_XSD_DECIMAL_FORMAT, value );
+	};
+
+int rdfstore_xsd_deserialize_decimal( const char * string, double * val ) {
+	return rdfstore_xsd_deserialize_double( string, (double *) val );
+	};
+
+void rdfstore_xsd_serialize_float( const float value, char * result ) {
+	sprintf( result, RDFSTORE_XSD_FLOAT_FORMAT, value );
+	};
+
+int rdfstore_xsd_deserialize_float( const char * string, float * val ) {
+	return rdfstore_xsd_deserialize_double( string, (double *) val );
+	};
+
+void rdfstore_xsd_serialize_double( const double value, char * result ) {
+	sprintf( result, RDFSTORE_XSD_DOUBLE_FORMAT, value );
+	};
+
+/* 
+   parse a char string as double/float if possible and returns it
+
+   NOTEs:
+		strings like <foo:prop>   123.333344477 foo bar</foo:prop> are not considered numbers while
+	 	strings like <foo:prop>
+				123.333344477
+					</foo:prop> are valid numbers
+*/
+int rdfstore_xsd_deserialize_double( const char * string, double * val ) {
+	char *endptr;
+
+	if (string == NULL) {
+		return 0;
+		};
+
+	*val = (double) strtod(string, &endptr);
+
+	if (endptr > string) { /* if a conversion was made */
+		/* check if we really got a number or a literal/string... */
+		while ( *endptr ) {
+			if ( isspace(*endptr) == 0 )
+				return 0;
+			endptr++;
+			};
+
+		if( errno == ERANGE )
+			return 0;
+
+		return 1;
+		};
+
+	return 0;
+	};
+
+void rdfstore_xsd_serialize_integer( const long value, char * result ) {
+	sprintf( result, RDFSTORE_XSD_INTEGER_FORMAT, value );
+	};
+
+int rdfstore_xsd_deserialize_integer( const char * string, long * val ) {
+	char *endptr;
+
+	if (string == NULL) {
+		return 0;
+		};
+
+	/* strtod should trim the string itself... */
+	*val = (long) strtol(string, &endptr, 10); /* base 10 or should be any base '0' ? */
+
+	if (endptr > string) { /* if a conversion was made */
+		/* check if we really got a number or a literal/string... */
+		while ( *endptr ) {
+			if ( isspace(*endptr) == 0 )
+				return 0;
+			endptr++;
+			};
+
+		if( errno == ERANGE )
+			return 0;
+
+		return 1;
+		};
+
+	return 0;
+	};
+
+void rdfstore_xsd_serialize_date( const struct tm value, char * result ) {
+	strftime( result, RDFSTORE_XSD_DATE_FORMAT_SIZE, "%Y-%m-%dZ", &value );
+
+#ifdef RDFSTORE_XSD_DEBUG
+	printf("PROCESSED SUCCESSFULY DATE '%s'\n", result);
+#endif
+	};
+
+int rdfstore_xsd_deserialize_date( const char * string, struct tm * val ) {
+	char * ptr=(char*)string;
+	char * ptr1=(char*)(string+strlen(string)-1);
+	char * tzsign;
+	char * temp;
+	char * temp2;
+	int status=0;
+        unsigned int len;
+	time_t now;
+	time_t timestamp;
+	struct tm* ptm;
+	struct tm t1;
+	struct tm t2;
+	time_t d;
+
+	bzero(val, sizeof( struct tm ) );
+
+	if (string == NULL) {
+		return 0;
+		};
+
+	time(&now);
+
+	ptm = gmtime(&now);
+	memcpy(&t1, ptm, sizeof(struct tm));
+
+	ptm = localtime(&now);
+	memcpy(&t2, ptm, sizeof(struct tm));
+
+	d = _rdfstore_xsd_mktime(&t1) - _rdfstore_xsd_mktime(&t2); /* carry out the difference in second between local and UTC */
+
+        if (d == -1) {
+		return 0;
+		};
+
+	/* trim the value */
+	while(	( ptr <= (string + strlen(string) ) ) &&
+		( (*ptr == ' ' ) || ( *ptr == '\n' ) || ( *ptr == '\r' ) || ( *ptr == '\f' ) || ( *ptr == '\t' ) ) ) {
+		ptr++;
+		};
+	while(	( ptr1 > ptr ) &&
+		( (*ptr1 == ' ' ) || ( *ptr1 == '\n' ) || ( *ptr1 == '\r' ) || ( *ptr1 == '\f' ) || ( *ptr1 == '\t' ) ) ) {
+		ptr1--;
+		};
+
+	/* primitive date parsing... */
+
+	/* this expression should cover xsd:date and xsd:dateTime - see http://www.w3.org/TR/xmlschema-2/#date and http://www.w3.org/TR/xmlschema-2/#dateTime */
+	/* date ::= '-'? yyyy '-' mm '-' dd ((('+' | '-') hh ':' mm) | 'Z')? */
+
+	if(	sscanf( ptr, "%d-%02d-%02d", &val->tm_year,
+				&val->tm_mon, &val->tm_mday ) != 3 ) {
+		return 0;
+                };
+
+	val->tm_year -= 1900;
+        val->tm_mon--;
+	val->tm_hour = 0;
+        val->tm_min = 0;
+        val->tm_sec = 0;
+        val->tm_isdst = -1;
+#if !defined(WIN32) && !defined(AIX) && !defined( __OS400__ ) && !defined(__sun)
+	val->tm_zone = NULL;
+	val->tm_gmtoff = -1;
+#endif
+
+	temp2 = strpbrk(ptr, ":");
+
+        if( ( temp = strpbrk( ptr, "Z") ) != NULL ) { /* got canonical UTC date */
+		time_t tt = _rdfstore_xsd_mktime(val);
+		if( temp != ptr1 ) {
+			return 0;
+			};
+
+		if (tt == -1) {
+			return 0;
+			};
+		ptm = localtime (&tt);
+	} else if( temp2 != NULL ) { /* ok now we need to normalize +/-hh:mm timezone to UTC - hehheee! */
+            	int hours = 0;
+		int minutes = 0;
+		int secs;
+		time_t t;
+
+		tzsign = strrchr(ptr, '+');
+
+		if (tzsign == NULL) {
+			tzsign = strrchr(ptr, '-');
+			};
+
+		if( *(tzsign-3) != '-' ) {
+			return 0;
+			};
+
+		timestamp = _rdfstore_xsd_mktime(val);
+		if ( timestamp == -1 ) {
+			return 0;
+            		};
+
+		if( sscanf( tzsign+1, "%02d:%02d", &hours, &minutes) != 2 ) {
+			return 0;
+			};
+
+		secs = hours * 60 * 60 + minutes * 60;
+		if( (temp = strpbrk(tzsign, "+")) != NULL ) {
+			timestamp += secs;
+		} else {
+			timestamp -= secs;
+			};
+	
+		ptm = localtime(&timestamp);
+		memcpy(val, ptm, sizeof(struct tm));
+		t = _rdfstore_xsd_mktime(val);
+		if( t == -1 ) {
+			return 0;
+			};
+
+		t = labs(t - d);
+		ptm = gmtime(&t);
+	} else { /*else it is assumed that the sent time is localtime */
+		if(	( *ptr1 < 48 ) ||
+			( *ptr1 > 57 ) ||
+			( *(ptr1-2) != '-' ) ) {
+			return 0;
+			};
+
+		timestamp = _rdfstore_xsd_mktime(val);
+		if( timestamp == -1 ) {
+			return 0;
+			};
+
+		ptm = gmtime(&timestamp);
+		};
+
+	if( ptm!= NULL ) {
+#ifdef RDFSTORE_XSD_DEBUG
+		printf("rdfstore_xsd_deserialize_date( '%s' ) is a valid date\n", ptr);
+#endif
+
+		return 1;
+	} else {
+#ifdef RDFSTORE_XSD_DEBUG
+		printf("rdfstore_xsd_deserialize_date( '%s' ) is NOT a valid date\n", ptr);
+#endif
+
+		return 0;
+		};
+	};
+
+void rdfstore_xsd_serialize_dateTime( const struct tm value, char * result ) {
+	strftime( result, RDFSTORE_XSD_DATETIME_FORMAT_SIZE, "%Y-%m-%dT%H:%M:%SZ", &value );
+
+#ifdef RDFSTORE_XSD_DEBUG
+	printf("PROCESSED SUCCESSFULY DATETIME '%s'\n", result);
+#endif
+	};
+
+int rdfstore_xsd_deserialize_dateTime( const char * string, struct tm * val ) {
+	char * ptr=(char*)string;
+	char * ptr1=(char*)(string+strlen(string)-1);
+	char * tzsign;
+	char * temp;
+	char * temp2;
+	char * temp3;
+	int status=0;
+        unsigned int len;
+	time_t now;
+	time_t timestamp;
+	struct tm* ptm;
+	struct tm t1;
+	struct tm t2;
+	time_t d;
+
+	bzero(val, sizeof( struct tm ) );
+
+	if (string == NULL) {
+		return 0;
+		};
+
+	time(&now);
+
+	ptm = gmtime(&now);
+	memcpy(&t1, ptm, sizeof(struct tm));
+
+	ptm = localtime(&now);
+	memcpy(&t2, ptm, sizeof(struct tm));
+
+	d = _rdfstore_xsd_mktime(&t1) - _rdfstore_xsd_mktime(&t2); /* carry out the difference in second between local and UTC */
+
+        if (d == -1) {
+		return 0;
+		};
+
+	/* trim the value */
+	while(	( ptr <= (string + strlen(string) ) ) &&
+		( (*ptr == ' ' ) || ( *ptr == '\n' ) || ( *ptr == '\r' ) || ( *ptr == '\f' ) || ( *ptr == '\t' ) ) ) {
+		ptr++;
+		};
+	while(	( ptr1 > ptr ) &&
+		( (*ptr1 == ' ' ) || ( *ptr1 == '\n' ) || ( *ptr1 == '\r' ) || ( *ptr1 == '\f' ) || ( *ptr1 == '\t' ) ) ) {
+		ptr1--;
+		};
+
+	/* primitive date parsing... */
+
+	/* this expression should cover xsd:date and xsd:dateTime - see http://www.w3.org/TR/xmlschema-2/#date and http://www.w3.org/TR/xmlschema-2/#dateTime */
+	/* date ::= '-'? yyyy '-' mm '-' dd 'T' hh ':' mm ':' ss ('.' s+)? ((('+' | '-') hh ':' mm) | 'Z')? */
+
+	if(	sscanf( ptr, "%d-%02d-%02dT%02d:%02d:%02d", &val->tm_year,
+				&val->tm_mon, &val->tm_mday, &val->tm_hour, &val->tm_min, &val->tm_sec) != 6 ) {
+		return 0;
+                };
+
+	val->tm_year -= 1900;
+        val->tm_mon--;
+        val->tm_isdst = -1;
+#if !defined(WIN32) && !defined(AIX) && !defined( __OS400__ ) && !defined(__sun)
+	val->tm_zone = NULL;
+	val->tm_gmtoff = -1;
+#endif
+
+	temp2 = strpbrk(ptr, "T");
+        temp3 = strrchr(temp2, ':');
+        temp3[0] = '\0';
+        len = strlen(temp2);
+        temp3[0] = ':';
+
+        if( ( temp = strpbrk( ptr, "Z") ) != NULL ) { /* got canonical UTC date */
+		time_t tt = _rdfstore_xsd_mktime(val);
+		if( temp != ptr1 ) {
+			return 0;
+			};
+
+		if (tt == -1) {
+			return 0;
+			};
+		ptm = localtime (&tt);
+	} else if( len > (sizeof(char) * 6) ) { /* ok now we need to normalize +/-hh:mm timezone to UTC - hehheee! */
+            	int hours = 0;
+		int minutes = 0;
+		int secs;
+		time_t t;
+
+		tzsign = strpbrk (temp2, "+");
+
+		if (tzsign == NULL) {
+			tzsign = strpbrk (temp2, "-");
+			};
+
+		timestamp = _rdfstore_xsd_mktime(val);
+		if ( timestamp == -1 ) {
+			return 0;
+            		};
+
+		if( sscanf( tzsign+1, "%02d:%02d", &hours, &minutes) != 2 ) {
+			return 0;
+			};
+
+		secs = hours * 60 * 60 + minutes * 60;
+		if( (temp = strpbrk(tzsign, "+")) != NULL ) {
+			timestamp += secs;
+		} else {
+			timestamp -= secs;
+			};
+	
+		ptm = localtime(&timestamp);
+		memcpy(val, ptm, sizeof(struct tm));
+		t = _rdfstore_xsd_mktime(val);
+		if( t == -1 ) {
+			return 0;
+			};
+
+		t = labs(t - d);
+		ptm = gmtime(&t);
+	} else { /*else it is assumed that the sent time is localtime */
+		if(	( *ptr1 < 48 ) ||
+			( *ptr1 > 57 ) ||
+			( *(ptr1-2) != ':' ) ) {
+			return 0;
+			};
+
+		timestamp = _rdfstore_xsd_mktime(val);
+		if( timestamp == -1 ) {
+			return 0;
+			};
+
+		ptm = gmtime(&timestamp);
+		};
+
+	if( ptm!= NULL ) {
+#ifdef RDFSTORE_XSD_DEBUG
+		printf("rdfstore_xsd_deserialize_dateTime( '%s' ) is a valid date\n", ptr);
+#endif
+
+		return 1;
+	} else {
+#ifdef RDFSTORE_XSD_DEBUG
+		printf("rdfstore_xsd_deserialize_dateTime( '%s' ) is NOT a valid date\n", ptr);
+#endif
+
+		return 0;
+		};
+	};
+
+void rdfstore_xsd_serialize_string( const char * value, char * result ) {
+	};
+
+int rdfstore_xsd_deserialize_string( const char * string, char * val );
+
+/* this routine is faster than standard mktime() */
+time_t _rdfstore_xsd_mktime(const struct tm * t) {
+	int year;
+	time_t days;
+	static const int dayoffset[12] = {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275};
+
+	year = t->tm_year;
+
+	if (year < 70 || ((sizeof(time_t) <= 4) && (year >= 138)))
+		return RDFSTORE_XSD_BAD_DATE;
+    
+	/* shift new year to 1st March in order to make leap year calc easy */
+
+	if (t->tm_mon < 2)
+		year--;
+
+	/* Find number of days since 1st March 1900 (in the Gregorian calendar). */
+
+	days = year * 365 + year / 4 - year / 100 + (year / 100 + 3) / 4;
+	days += dayoffset[t->tm_mon] + t->tm_mday - 1;
+	days -= 25508;              /* 1 jan 1970 is 25508 days since 1 mar 1900 */
+
+	days = ((days * 24 + t->tm_hour) * 60 + t->tm_min) * 60 + t->tm_sec;
+
+	if (days < 0)
+        	return RDFSTORE_XSD_BAD_DATE;        /* must have overflowed */
+    	else
+        	return days;            /* must be a valid time */
+	};
+

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/Catalog.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/Catalog.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/Catalog.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/Catalog.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns="http://www.senga.org/">
+
+ <Table>
+  <![CDATA[
+CREATE TABLE urldemo (
+  rowid int(11) DEFAULT '0' NOT NULL auto_increment,
+  created datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
+  modified timestamp(14),
+  info enum('active','inactive') DEFAULT 'active',
+  url char(128),
+  comment char(255),
+  UNIQUE cdemo1 (rowid)
+)
+  ]]>
+</Table>
+
+ <Catalog>
+  <navigation>theme</navigation>
+  <tablename>urldemo</tablename>
+  <name>urltheme</name>
+ </Catalog>
+
+ <Category>
+  <name>News</name>
+  <rowid>12</rowid>
+  <parent>1</parent>
+ </Category>
+
+ <Link>
+  <row>135</row>
+  <category>12</category>
+ </Link>
+
+ <Record table="urldemo">
+  <url>http://www.mediaslink.com/</url>
+  <comment>Medias Link</comment>
+  <rowid>135</rowid>
+ </Record>
+
+ <Sync/>
+</rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<RDF
+    xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:s="http://description.org/schema/"
+    xmlns:a="http://description.org/schema/"
+    xmlns:v="http://description.org/schema/">
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>Ora Lassila</s:Creator>
+	<a:Lang>en</a:Lang>
+</rdf:Description>
+
+</RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example1.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example1.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example1.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example1.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<RDF
+    xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:dc="http://dublincore.org/2000/03/13-dces#" >
+
+<rdf:Statement rdf:ID="123">
+      <rdf:subject rdf:resource="http://xml.jrc.it/RDFStore" />
+      <rdf:predicate rdf:resource="http://dublincore.org/2000/03/13-dces#creator" />
+      <rdf:object>A really stupid italian guy</rdf:object>
+      <dc:language>English</dc:language>
+</rdf:Statement>
+
+</RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example3.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example3.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example3.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/example3.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE rdf:RDF [
+         <!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
+         <!ENTITY a 'http://description.org/schema/'>
+]>
+<rdf:RDF xmlns:rdf="&rdf;" xmlns:a="&a;">
+<rdf:Description rdf:about="http://www.w3.org">
+        <a:Date>1998-10-03T02:27</a:Date>
+        <a:Publisher>World Wide Web Consortium</a:Publisher>
+        <a:Title>W3C Home Page</a:Title>
+	<a:memyI xml:space="preserve"> </a:memyI>
+	<a:albe parseType="Literal"><this xmlns:is="http://iscool.org" xmlns="http://anduot.edu" is:me="a test">
+Hei!!<me you="US"><you/>aaaa</me>
+
+
+ciao!!!
+<test2/>
+
+---lsls;s</this></a:albe>
+</rdf:Description>
+</rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdf-syntax-ns-examples.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdf-syntax-ns-examples.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdf-syntax-ns-examples.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdf-syntax-ns-examples.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- RDF test suite coming from http://www.w3.org/1999/02/22-rdf-syntax-ns -->
+<RDF
+    xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:s="http://description.org/schema/"
+    xmlns:a="http://description.org/schema/"
+    xmlns:v="http://description.org/schema/">
+
+<!-- Basic Serialization Syntax -->
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>Ora Lassila</s:Creator>
+    </rdf:Description>
+
+<Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>Ora Lassila</s:Creator>
+    </Description>
+
+<Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator xmlns:s="http://description.org/schema/">Ora Lassila</s:Creator>
+    </Description>
+
+<Description rdf:about="http://www.w3.org/Home/Lassila">
+      <Creator xmlns="http://description.org/schema/">Ora Lassila</Creator>
+    </Description>
+
+<!-- Basic Abbreviated Syntax -->
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila"
+                     s:Creator="Ora Lassila" />
+
+<rdf:Description rdf:about="http://www.w3.org">
+      <s:Publisher>World Wide Web Consortium</s:Publisher>
+      <s:Title>W3C Home Page</s:Title>
+      <s:Date>1998-10-03T02:27</s:Date>
+    </rdf:Description>
+
+<rdf:Description rdf:about="http://www.w3.org"
+         s:Publisher="World Wide Web Consortium"
+         s:Title="W3C Home Page"
+         s:Date="1998-10-03T02:27"/>
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator rdf:resource="http://www.w3.org/staffId/85740"/>
+    </rdf:Description>
+
+    <rdf:Description rdf:about="http://www.w3.org/staffId/85740">
+      <v:Name>Ora Lassila</v:Name>
+      <v:Email>lassila@w3.org</v:Email>
+    </rdf:Description>
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>
+        <rdf:Description rdf:about="http://www.w3.org/staffId/85740">
+          <v:Name>Ora Lassila</v:Name>
+          <v:Email>lassila@w3.org</v:Email>
+        </rdf:Description>
+      </s:Creator>
+    </rdf:Description>
+
+<!--
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator rdf:resource="http://www.w3.org/staffId/85740"
+         v:Name="Ora Lassila"
+         v:Email="lassila@w3.org" />
+    </rdf:Description>
+-->
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>
+        <rdf:Description rdf:about="http://www.w3.org/staffId/85740">
+          <rdf:type rdf:resource="http://description.org/schema/Person"/>
+          <v:Name>Ora Lassila</v:Name>
+          <v:Email>lassila@w3.org</v:Email>
+        </rdf:Description>
+      </s:Creator>
+    </rdf:Description>
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>
+        <s:Person rdf:about="http://www.w3.org/staffId/85740">
+          <v:Name>Ora Lassila</v:Name>
+          <v:Email>lassila@w3.org</v:Email>
+        </s:Person>
+      </s:Creator>
+    </rdf:Description>
+
+<!-- Containers -->
+
+<rdf:Description rdf:about="http://mycollege.edu/courses/6.001">
+      <s:students>
+        <rdf:Bag>
+          <rdf:li rdf:resource="http://mycollege.edu/students/Amy"/>
+          <rdf:li rdf:resource="http://mycollege.edu/students/Tim"/>
+          <rdf:li rdf:resource="http://mycollege.edu/students/John"/>
+          <rdf:li rdf:resource="http://mycollege.edu/students/Mary"/>
+          <rdf:li rdf:resource="http://mycollege.edu/students/Sue"/>
+        </rdf:Bag>
+      </s:students>
+    </rdf:Description>
+
+<rdf:Description rdf:about="http://x.org/packages/X11">
+      <s:DistributionSite>
+        <rdf:Alt>
+          <rdf:li rdf:resource="ftp://ftp.x.org"/>
+          <rdf:li rdf:resource="ftp://ftp.cs.purdue.edu"/>
+          <rdf:li rdf:resource="ftp://ftp.eu.net"/>
+        </rdf:Alt>
+      </s:DistributionSite>
+    </rdf:Description>
+
+<!-- Distributive Referents: Statements about Members of a Container -->
+
+<rdf:Bag ID="pages">
+    <rdf:li rdf:resource="http://foo.org/foo.html" />
+    <rdf:li rdf:resource="http://bar.org/bar.html" />
+  </rdf:Bag>
+
+  <rdf:Description rdf:about="#pages">
+    <s:Creator>Ora Lassila</s:Creator>
+  </rdf:Description>
+
+<!-- not supported by PenRDF -->
+<!--
+<rdf:Description aboutEach="#pages">
+    <s:Creator>Ora Lassila</s:Creator>
+  </rdf:Description>
+
+<rdf:Description rdf:about="http://foo.org/foo.html">
+    <s:Creator>Ora Lassila</s:Creator>
+  </rdf:Description>
+
+  <rdf:Description rdf:about="http://bar.org/bar.html">
+    <s:Creator>Ora Lassila</s:Creator>
+  </rdf:Description>
+
+<rdf:Description aboutEachPrefix="http://foo.org/doc">
+    <s:Copyright>© 1998, The Foo Organization</s:Copyright>
+  </rdf:Description>
+
+<rdf:Description rdf:about="http://foo.org/doc/page1">
+    <s:Copyright>© 1998, The Foo Organization</s:Copyright>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://foo.org/doc/page2">
+    <s:Copyright>© 1998, The Foo Organization</s:Copyright>
+  </rdf:Description>
+
+<rdf:Description aboutEach="#docpages">
+    <s:Copyright>© 1998, The Foo Organization</s:Copyright>
+  </rdf:Description>
+  <rdf:Bag ID="docpages">
+    <rdf:li rdf:resource="http://foo.org/doc/page1"/>
+    <rdf:li rdf:resource="http://foo.org/doc/page2"/>
+  </rdf:Bag>
+-->
+
+<!-- Reification -->
+
+<rdf:Description>
+      <rdf:subject rdf:resource="http://www.w3.org/Home/Lassila" />
+      <rdf:predicate rdf:resource="http://description.org/schema/Creator" />
+      <rdf:object>Ora Lassila</rdf:object>
+      <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement" />
+      <a:attributedTo>Ralph Swick</a:attributedTo>
+    </rdf:Description>
+
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila" bagID="D_001">
+      <s:Creator>Ora Lassila</s:Creator>
+      <s:Title>Ora's Home Page</s:Title>
+    </rdf:Description>
+
+<!-- Syntactic Shorthand for Statements About Statements -->
+<!-- not suppoerted 
+<rdf:Description aboutEach="#D_001">
+    <a:attributedTo>Ralph Swick</a:attributedTo>
+  </rdf:Description>
+-->
+
+</RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdfinhtml.xhtml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdfinhtml.xhtml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdfinhtml.xhtml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/rdfinhtml.xhtml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+    <html xmlns="http://www.w3.org/1999/xhtml">
+    <head>
+      <title>The END</title>
+      <rdf:RDF
+        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+        xmlns:dc="http://purl.org/dc/elements/1.0/"
+      >
+        <rdf:Description about="http://injektilo.org/"
+          dc:author="jason@injektilo.org"
+          dc:title="ThE EnD"
+          dc:subject="METADATA"
+          dc:date="2000-10-08"
+        />
+      </rdf:RDF>
+    </head>
+    <body>
+      <p>this is not a breast.</p>
+    </body>
+    </html>
+

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<rdf:RDF
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns:a="http://description.org/schema/">
+     <rdf:Description>
+       <rdf:subject resource="http://www.w3.org/Home/Lassila" />
+       <rdf:predicate resource="http://description.org/schema/Creator" />
+       <rdf:object>Ora Lassila</rdf:object>
+       <rdf:type resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement" />
+       <a:attributedTo>Ralph Swick</a:attributedTo>
+     </rdf:Description>
+   </rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify1.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify1.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify1.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify1.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<rdf:RDF
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns:a="http://description.org/schema/">
+     <rdf:Description bagID="123">
+       <a:attributedTo>Ralph Swick</a:attributedTo>
+     </rdf:Description>
+   </rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify2.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify2.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify2.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify2.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns:s="http://description.org/schema/">
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila">
+      <s:Creator>Ora Lassila</s:Creator>
+      <s:Title>Ora's Home Page</s:Title>
+    </rdf:Description>
+   </rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify3.xml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify3.xml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify3.xml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/reify3.xml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<rdf:RDF
+     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+     xmlns:s="http://description.org/schema/">
+<rdf:Description rdf:about="http://www.w3.org/Home/Lassila" bagID="D_001">
+      <s:Creator>Ora Lassila</s:Creator>
+      <s:Title>Ora's Home Page</s:Title>
+    </rdf:Description>
+   </rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/22-rdf-syntax-ns
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/22-rdf-syntax-ns?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/22-rdf-syntax-ns (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/22-rdf-syntax-ns Fri Apr 13 01:56:01 2007
@@ -0,0 +1,131 @@
+<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:owl="http://www.w3.org/2002/07/owl#" 
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+ <owl:Ontology 
+     rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+   <dc:title>The RDF Vocabulary (RDF)</dc:title>
+   <dc:description>This is the RDF Schema for the RDF vocabulary defined in the RDF namespace.</dc:description>
+ </owl:Ontology>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>type</rdfs:label>
+  <rdfs:comment>The subject is an instance of a class.</rdfs:comment>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+  <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>Property</rdfs:label>
+  <rdfs:comment>The class of RDF properties.</rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>Statement</rdfs:label>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+  <rdfs:comment>The class of RDF statements.</rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#subject">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>subject</rdfs:label>
+  <rdfs:comment>The subject of the subject RDF statement.</rdfs:comment>
+  <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>predicate</rdfs:label>
+  <rdfs:comment>The predicate of the subject RDF statement.</rdfs:comment>
+  <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#object">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>object</rdfs:label>
+  <rdfs:comment>The object of the subject RDF statement.</rdfs:comment>
+  <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>Bag</rdfs:label>
+  <rdfs:comment>The class of unordered containers.</rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>Seq</rdfs:label>
+  <rdfs:comment>The class of ordered containers.</rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>Alt</rdfs:label>
+  <rdfs:comment>The class of containers of alternatives.</rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>
+</rdfs:Class>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#value">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>value</rdfs:label>
+  <rdfs:comment>Idiomatic property used for structured values.</rdfs:comment>
+  <rdfs:domain rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<!-- the following are new additions, Nov 2002 -->
+
+<rdfs:Class rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#List">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>List</rdfs:label>
+  <rdfs:comment>The class of RDF Lists.</rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdfs:Class>
+
+<rdf:List rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>nil</rdfs:label>
+  <rdfs:comment>The empty list, with no items in it. If the rest of a list is nil then the list has no more items in it.</rdfs:comment>
+</rdf:List>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#first">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>first</rdfs:label>
+  <rdfs:comment>The first item in the subject RDF list.</rdfs:comment>
+  <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+</rdf:Property>
+
+<rdf:Property rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest">
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>rest</rdfs:label>
+  <rdfs:comment>The rest of the subject RDF list after the first item.</rdfs:comment>
+  <rdfs:domain rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/>
+  <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#List"/>
+</rdf:Property>
+	
+<rdfs:Datatype rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> 
+  <rdfs:isDefinedBy rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
+  <rdfs:label>XMLLiteral</rdfs:label>
+  <rdfs:comment>The class of XML literal values.</rdfs:comment>
+</rdfs:Datatype>
+
+<rdf:Description rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+  <rdfs:seeAlso rdf:resource="http://www.w3.org/2000/01/rdf-schema-more"/>
+</rdf:Description>
+
+</rdf:RDF>
+

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/daml+oil.daml
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/daml%2Boil.daml?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/daml+oil.daml (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/daml+oil.daml Fri Apr 13 01:56:01 2007
@@ -0,0 +1,492 @@
+<!-- $Revision: 1.2 $ of $Date: 2004/08/15 16:21:36 $. -->
+
+<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:daml="http://www.daml.org/2001/03/daml+oil#"
+  xmlns     ="http://www.daml.org/2001/03/daml+oil#"
+>
+
+<rdf:Description rdf:about="">
+  <versionInfo>$Id: daml+oil.daml,v 1.2 2004/08/15 16:21:36 areggiori Exp $</versionInfo>
+  <imports rdf:resource="http://www.w3.org/2000/01/rdf-schema"/>
+</rdf:Description>
+
+<!-- (meta) classes of "object" and datatype classes  -->
+
+<rdfs:Class rdf:ID="Class">
+  <rdfs:label>Class</rdfs:label>
+  <rdfs:comment>
+    The class of all "object" classes
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="Datatype">
+  <rdfs:label>Datatype</rdfs:label>
+  <rdfs:comment>
+    The class of all datatype classes
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdfs:Class>
+
+<!-- Pre-defined top/bottom thing/nothing most/least-general (object) classes. -->
+
+<Class rdf:ID="Thing">
+  <rdfs:label>Thing</rdfs:label>
+  <rdfs:comment>
+    The most general (object) class in DAML.
+    This is equal to the union of any class and its complement.
+  </rdfs:comment>
+  <unionOf rdf:parseType="daml:collection">
+    <rdfs:Class rdf:about="#Nothing"/>
+    <rdfs:Class>
+      <complementOf rdf:resource="#Nothing"/>
+    </rdfs:Class>
+  </unionOf>
+</Class>
+
+<Class rdf:ID="Nothing">
+  <rdfs:label>Nothing</rdfs:label>
+  <rdfs:comment>the class with no things in it.</rdfs:comment>
+  <complementOf rdf:resource="#Thing"/>
+</Class>
+
+<!-- Terms for building classes from other classes. -->
+
+<Property rdf:ID="equivalentTo"> <!-- equals? equiv? renames? -->
+  <rdfs:label>equivalentTo</rdfs:label>
+  <comment>
+    for equivalentTo(X, Y), read X is an equivalent term to Y.
+  </comment>
+</Property>
+
+<Property rdf:ID="sameClassAs">
+  <rdfs:label>sameClassAs</rdfs:label>
+  <comment>
+    for sameClassAs(X, Y), read X is an equivalent class to Y.
+    cf OIL Equivalent
+  </comment>
+  <rdfs:subPropertyOf rdf:resource="#equivalentTo"/>
+  <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#Class"/>
+</Property>
+
+<Property rdf:ID="samePropertyAs">
+  <rdfs:label>samePropertyAs</rdfs:label>
+  <rdfs:comment>
+    for samePropertyAs(P, R), read P is an equivalent property to R.
+  </rdfs:comment>
+  <rdfs:subPropertyOf rdf:resource="#equivalentTo"/>
+  <rdfs:subPropertyOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
+</Property>
+
+<Property rdf:ID="sameIndividualAs">
+  <rdfs:label>sameIndividualAs</rdfs:label>
+  <rdfs:comment>
+    for sameIndividualAs(a, b), read a is the same individual as b.
+  </rdfs:comment>
+  <rdfs:subPropertyOf rdf:resource="#equivalentTo"/>
+  <rdfs:domain rdf:resource="#Thing"/>
+  <rdfs:range rdf:resource="#Thing"/>
+</Property>
+
+<rdf:Property rdf:ID="disjointWith">
+  <rdfs:label>disjointWith</rdfs:label>
+  <rdfs:comment>
+    for disjointWith(X, Y) read: X and Y have no members in common.
+    cf OIL Disjoint
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<Property rdf:ID="differentIndividualFrom">
+  <rdfs:label>differentIndividualFrom</rdfs:label>
+  <rdfs:comment>
+    for differentIndividualFrom(a, b), read a is not the same individual as b.
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Thing"/>
+  <rdfs:range rdf:resource="#Thing"/>
+</Property>
+
+
+<!-- NOTE: the Disjoint class has been deleted: use disjointWith -->
+<!-- or disjointUnionOf instead. -->
+
+<rdf:Property rdf:ID="unionOf">
+  <rdfs:label>unionOf</rdfs:label>
+  <rdfs:comment>
+    for unionOf(X, Y) read: X is the union of the classes in the list Y;
+    i.e. if something is in any of the classes in Y, it's in X, and vice versa.
+    cf OIL OR
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="disjointUnionOf">
+  <rdfs:label>disjointUnionOf</rdfs:label>
+  <rdfs:comment>
+    for disjointUnionOf(X, Y) read: X is the disjoint union of the classes in
+    the list Y: (a) for any c1 and c2 in Y, disjointWith(c1, c2),
+    and (b) unionOf(X, Y). i.e. if something is in any of the classes in Y, it's
+    in X, and vice versa.
+    cf OIL disjoint-covered
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="intersectionOf">
+  <rdfs:label>intersectionOf</rdfs:label>
+  <rdfs:comment>
+    for intersectionOf(X, Y) read: X is the intersection of the classes in the list Y;
+    i.e. if something is in all the classes in Y, then it's in X, and vice versa.
+    cf OIL AND
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="complementOf">
+  <rdfs:label>complementOf</rdfs:label>
+  <rdfs:comment>
+    for complementOf(X, Y) read: X is the complement of Y; if something is in Y,
+    then it's not in X, and vice versa.
+    cf OIL NOT
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#Class"/>
+</rdf:Property>
+
+<!-- Term for building classes by enumerating their elements -->
+
+<rdf:Property rdf:ID="oneOf">
+  <rdfs:label>oneOf</rdfs:label>
+  <rdfs:comment>
+     for oneOf(C, L) read everything in C is one of the
+     things in L;
+     This lets us define classes by enumerating the members.
+     cf OIL OneOf
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Class"/>
+  <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<!-- Terms for building classes by restricting their properties. -->
+
+<rdfs:Class rdf:ID="Restriction">
+  <rdfs:label>Restriction</rdfs:label>
+  <rdfs:comment>
+    something is in the class R if it satisfies the attached restrictions, 
+    and vice versa.
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="#Class"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="onProperty">
+  <rdfs:label>onProperty</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P), read:
+    R is a restricted with respect to property P.
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="toClass">
+  <rdfs:label>toClass</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P) and toClass(R, X), read:
+    i is in class R if and only if for all j, P(i, j) implies type(j, X).
+    cf OIL ValueType
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasValue">
+  <rdfs:label>hasValue</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P) and hasValue(R, V), read:
+    i is in class R if and only if P(i, V).
+    cf OIL HasFiller
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasClass">
+  <rdfs:label>hasClass</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P) and hasClass(R, X), read:
+    i is in class R if and only if for some j, P(i, j) and type(j, X).
+    cf OIL HasValue
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<!-- Note that cardinality restrictions on transitive properties, or     -->
+<!-- properties with transitive sub-properties, compromise decidability. -->
+
+<rdf:Property rdf:ID="minCardinality">
+  <rdfs:label>minCardinality</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P) and minCardinality(R, n), read:
+    i is in class R if and only if there are at least n distinct j with P(i, j).
+    cf OIL MinCardinality
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="maxCardinality">
+  <rdfs:label>maxCardinality</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P) and maxCardinality(R, n), read:
+    i is in class R if and only if there are at most n distinct j with P(i, j).
+    cf OIL MaxCardinality
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="cardinality">
+  <rdfs:label>cardinality</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P) and cardinality(R, n), read:
+    i is in class R if and only if there are exactly n distinct j with P(i, j).
+    cf OIL Cardinality
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="hasClassQ">
+  <rdfs:label>hasClassQ</rdfs:label>
+  <rdfs:comment>
+    property for specifying class restriction with cardinalityQ constraints
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="minCardinalityQ">
+  <rdfs:label>minCardinality</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P), minCardinalityQ(R, n) and hasClassQ(R, X), read:
+    i is in class R if and only if there are at least n distinct j with P(i, j) 
+    and type(j, X).
+    cf OIL MinCardinality
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="maxCardinalityQ">
+  <rdfs:label>maxCardinality</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P), maxCardinalityQ(R, n) and hasClassQ(R, X), read:
+    i is in class R if and only if there are at most n distinct j with P(i, j)
+    and type(j, X).
+    cf OIL MaxCardinality
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="cardinalityQ">
+  <rdfs:label>cardinality</rdfs:label>
+  <rdfs:comment>
+    for onProperty(R, P), cardinalityQ(R, n) and hasClassQ(R, X), read:
+    i is in class R if and only if there are exactly n distinct j with P(i, j)
+    and type(j, X).
+    cf OIL Cardinality
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#Restriction"/>
+  <rdfs:range rdf:resource="http://www.w3.org/2000/10/XMLSchema#nonNegativeInteger"/>
+</rdf:Property>
+
+<!-- Classes and Properties for different kinds of Property -->
+
+<rdfs:Class rdf:ID="ObjectProperty">
+  <rdfs:label>ObjectProperty</rdfs:label>
+  <rdfs:comment>
+    if P is an ObjectProperty, and P(x, y), then y is an object.
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="DatatypeProperty">
+  <rdfs:label>DatatypeProperty</rdfs:label>
+  <rdfs:comment>
+    if P is a DatatypeProperty, and P(x, y), then y is a data value.
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="inverseOf">
+  <rdfs:label>inverseOf</rdfs:label>
+  <rdfs:comment>
+    for inverseOf(R, S) read: R is the inverse of S; i.e.
+    if R(x, y) then S(y, x) and vice versa.
+    cf OIL inverseRelationOf
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#ObjectProperty"/>
+  <rdfs:range rdf:resource="#ObjectProperty"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="TransitiveProperty">
+  <rdfs:label>TransitiveProperty</rdfs:label>
+  <rdfs:comment>
+    if P is a TransitiveProperty, then if P(x, y) and P(y, z) then P(x, z).
+    cf OIL TransitiveProperty.
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="#ObjectProperty"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="UniqueProperty">
+  <rdfs:label>UniqueProperty</rdfs:label>
+  <rdfs:comment>
+    compare with maxCardinality=1; e.g. integer successor:
+    if P is a UniqueProperty, then if P(x, y) and P(x, z) then y=z.
+    cf OIL FunctionalProperty.
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="UnambiguousProperty">
+  <rdfs:label>UnambiguousProperty</rdfs:label>
+  <rdfs:comment>
+    if P is an UnambiguousProperty, then if P(x, y) and P(z, y) then x=z.
+    aka injective. e.g. if firstBorne(m, Susan)
+    and firstBorne(n, Susan) then m and n are the same.
+  </rdfs:comment>
+  <rdfs:subClassOf rdf:resource="#ObjectProperty"/>
+</rdfs:Class>
+
+<!-- List terminology. -->
+
+<rdfs:Class rdf:ID="List">
+  <rdfs:subClassOf rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq"/>
+</rdfs:Class>
+
+<List rdf:ID="nil">
+  <rdfs:comment>
+     the empty list; this used to be called Empty.
+  </rdfs:comment>
+</List>
+
+<rdf:Property rdf:ID="first">
+  <rdfs:domain rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="rest">
+  <rdfs:domain rdf:resource="#List"/>
+  <rdfs:range rdf:resource="#List"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="item">
+  <rdfs:comment>
+    for item(L, I) read: I is an item in L; either first(L, I)
+    or item(R, I) where rest(L, R).
+  </rdfs:comment>
+  <rdfs:domain rdf:resource="#List"/>
+</rdf:Property>
+
+<!-- A class for ontologies themselves... -->
+
+<rdfs:Class rdf:ID="Ontology">
+  <rdfs:label>Ontology</rdfs:label>
+  <rdfs:comment>
+    An Ontology is a document that describes
+    a vocabulary of terms for communication between
+    (human and) automated agents.
+  </rdfs:comment>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="versionInfo">
+  <rdfs:label>versionInfo</rdfs:label>
+  <rdfs:comment>
+    generally, a string giving information about this
+    version; e.g. RCS/CVS keywords
+  </rdfs:comment>
+</rdf:Property>
+
+<!-- Importing, i.e. assertion by reference -->
+
+<rdf:Property rdf:ID="imports">
+  <rdfs:label>imports</rdfs:label>
+  <rdfs:comment>
+    for imports(X, Y) read: X imports Y;
+    i.e. X asserts the* contents of Y by reference;
+    i.e. if imports(X, Y) and you believe X and Y says something,
+    then you should believe it.
+    Note: "the contents" is, in the general case,
+    an il-formed definite description. Different
+    interactions with a resource may expose contents
+    that vary with time, data format, preferred language,
+    requestor credentials, etc. So for "the contents",
+    read "any contents".
+  </rdfs:comment>
+</rdf:Property>
+
+<!-- Importing terms from RDF/RDFS -->
+
+<!-- first, assert the contents of the RDF schema by reference -->
+<Ontology rdf:about="">
+  <imports rdf:resource="http://www.w3.org/2000/01/rdf-schema"/>
+</Ontology>
+
+<rdf:Property rdf:ID="subPropertyOf">
+  <samePropertyAs  rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
+</rdf:Property>
+
+<rdfs:Class rdf:ID="Literal">
+  <sameClassAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+</rdfs:Class>
+
+<rdfs:Class rdf:ID="Property">
+  <sameClassAs rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
+</rdfs:Class>
+
+<rdf:Property rdf:ID="type">
+  <samePropertyAs rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="value">
+  <samePropertyAs rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#value"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="subClassOf">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#subClassOf"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="domain">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#domain"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="range">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#range"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="label">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="comment">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#comment"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="seeAlso">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#seeAlso"/>
+</rdf:Property>
+
+<rdf:Property rdf:ID="isDefinedBy">
+  <samePropertyAs rdf:resource="http://www.w3.org/2000/01/rdf-schema#isDefinedBy"/>
+  <rdfs:subPropertyOf rdf:resource="#seeAlso"/>
+</rdf:Property>
+
+</rdf:RDF>

Added: incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/dces
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/dces?view=auto&rev=528394
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/dces (added)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/samples/rdf/vocabularies/dces Fri Apr 13 01:56:01 2007
@@ -0,0 +1,236 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE rdf:RDF [
+    <!ENTITY rdfns 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
+    <!ENTITY rdfsns 'http://www.w3.org/2000/01/rdf-schema#'>
+    <!ENTITY dcns 'http://purl.org/dc/elements/1.1/'>
+    <!ENTITY dctermsns 'http://purl.org/dc/terms/'>
+    <!ENTITY dctypens 'http://purl.org/dc/dcmitype/'>
+]>
+<rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<rdf:Description rdf:about="http://purl.org/dc/elements/1.1/">
+<dc:title xml:lang="en-US">The Dublin Core Element Set v1.1 namespace providing access to its content by means of an RDF Schema</dc:title>
+<dc:publisher xml:lang="en-US">The Dublin Core Metadata Initiative</dc:publisher>
+<dc:description xml:lang="en-US">The Dublin Core Element Set v1.1 namespace provides URIs for the Dublin Core Elements v1.1. Entries are declared using RDF Schema language to support RDF applications.</dc:description>
+<dc:language xml:lang="en-US">English</dc:language>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2003-03-24</dcterms:modified>
+<dc:source rdf:resource="http://dublincore.org/documents/dces/"/>
+<dc:source rdf:resource="http://dublincore.org/usage/decisions/"/>
+<dcterms:isReferencedBy rdf:resource="http://www.dublincore.org/documents/2001/10/26/dcmi-namespace/"/>
+<dcterms:isRequiredBy rdf:resource="http://purl.org/dc/terms/"/>
+<dcterms:isReferencedBy rdf:resource="http://purl.org/dc/dcmitype/"/>
+</rdf:Description>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/title">
+<rdfs:label xml:lang="en-US">Title</rdfs:label>
+<rdfs:comment xml:lang="en-US">A name given to the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Typically, a Title will be a name by which the resource is
+		formally known.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#title-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/creator">
+<rdfs:label xml:lang="en-US">Creator</rdfs:label>
+<rdfs:comment xml:lang="en-US">An entity primarily responsible for making the content 
+		of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Examples of a Creator include a person, an organisation,
+		or a service.  Typically, the name of a Creator should 
+		be used to indicate the entity.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#creator-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/subject">
+<rdfs:label xml:lang="en-US">Subject and Keywords</rdfs:label>
+<rdfs:comment xml:lang="en-US">The topic of the content of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Typically, a Subject will be expressed as keywords,
+		key phrases or classification codes that describe a topic
+		of the resource.  Recommended best practice is to select 
+		a value from a controlled vocabulary or formal 
+		classification scheme.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#subject-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/description">
+<rdfs:label xml:lang="en-US">Description</rdfs:label>
+<rdfs:comment xml:lang="en-US">An account of the content of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Description may include but is not limited to: an abstract,
+		table of contents, reference to a graphical representation
+		of content or a free-text account of the content.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#description-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/publisher">
+<rdfs:label xml:lang="en-US">Publisher</rdfs:label>
+<rdfs:comment xml:lang="en-US">An entity responsible for making the resource available</rdfs:comment>
+<dc:description xml:lang="en-US">Examples of a Publisher include a person, an organisation,
+		or a service.
+		Typically, the name of a Publisher should be used to
+		indicate the entity.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#publisher-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/contributor">
+<rdfs:label xml:lang="en-US">Contributor</rdfs:label>
+<rdfs:comment xml:lang="en-US">An entity responsible for making contributions to the
+		content of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Examples of a Contributor include a person, an 
+		organisation, or a service.  Typically, the name of a 
+		Contributor should be used to indicate the entity.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#contributor-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/date">
+<rdfs:label xml:lang="en-US">Date</rdfs:label>
+<rdfs:comment xml:lang="en-US">A date associated with an event in the life cycle of the
+		resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Typically, Date will be associated with the creation or
+		availability of the resource.  Recommended best practice
+		for encoding the date value is defined in a profile of
+		ISO 8601 [W3CDTF] and follows the YYYY-MM-DD format.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#date-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/type">
+<rdfs:label xml:lang="en-US">Resource Type</rdfs:label>
+<rdfs:comment xml:lang="en-US">The nature or genre of the content of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Type includes terms describing general categories, functions,
+		genres, or aggregation levels for content. Recommended best
+		practice is to select a value from a controlled vocabulary
+		(for example, the DCMI Type Vocabulary [DCMITYPE]). To 
+		describe the physical or digital manifestation of the 
+		resource, use the Format element.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#type-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/format">
+<rdfs:label xml:lang="en-US">Format</rdfs:label>
+<rdfs:comment xml:lang="en-US">The physical or digital manifestation of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Typically, Format may include the media-type or dimensions of
+		the resource. Format may be used to determine the software,
+		hardware or other equipment needed to display or operate the
+		resource. Examples of dimensions include size and duration.
+		Recommended best practice is to select a value from a
+		controlled vocabulary (for example, the list of Internet Media
+		Types [MIME] defining computer media formats).</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#format-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/identifier">
+<rdfs:label xml:lang="en-US">Resource Identifier</rdfs:label>
+<rdfs:comment xml:lang="en-US">An unambiguous reference to the resource within a given context.</rdfs:comment>
+<dc:description xml:lang="en-US">Recommended best practice is to identify the resource by means
+		of a string or number conforming to a formal identification
+		system.
+		Example formal identification systems include the Uniform
+		Resource Identifier (URI) (including the Uniform Resource
+		Locator (URL)), the Digital Object Identifier (DOI) and the
+		International Standard Book Number (ISBN).</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#identifier-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/source">
+<rdfs:label xml:lang="en-US">Source</rdfs:label>
+<rdfs:comment xml:lang="en-US">A reference to a resource from which the present resource
+		is derived.</rdfs:comment>
+<dc:description xml:lang="en-US">The present resource may be derived from the Source resource
+		in whole or in part.  Recommended best practice is to reference
+		the resource by means of a string or number conforming to a
+		formal identification system.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#source-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/language">
+<rdfs:label xml:lang="en-US">Language</rdfs:label>
+<rdfs:comment xml:lang="en-US">A language of the intellectual content of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Recommended best practice is to use RFC 3066 [RFC3066],
+		which, in conjunction with ISO 639 [ISO639], defines two-
+		and three-letter primary language tags with optional
+		subtags.  Examples include "en" or "eng" for English,
+		"akk" for Akkadian, and "en-GB" for English used in the
+		United Kingdom.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#language-005"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/relation">
+<rdfs:label xml:lang="en-US">Relation</rdfs:label>
+<rdfs:comment xml:lang="en-US">A reference to a related resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Recommended best practice is to reference the resource by means
+		of a string or number conforming to a formal identification
+		system.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#relation-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/coverage">
+<rdfs:label xml:lang="en-US">Coverage</rdfs:label>
+<rdfs:comment xml:lang="en-US">The extent or scope of the content of the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Coverage will typically include spatial location (a place name
+		or geographic coordinates), temporal period (a period label,
+		date, or date range) or jurisdiction (such as a named
+		administrative entity).
+		Recommended best practice is to select a value from a
+		controlled vocabulary (for example, the Thesaurus of Geographic
+		Names [TGN]) and that, where appropriate, named places or time
+		periods be used in preference to numeric identifiers such as
+		sets of coordinates or date ranges.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#coverage-004"/>
+</rdf:Property>
+<rdf:Property rdf:about="http://purl.org/dc/elements/1.1/rights">
+<rdfs:label xml:lang="en-US">Rights Management</rdfs:label>
+<rdfs:comment xml:lang="en-US">Information about rights held in and over the resource.</rdfs:comment>
+<dc:description xml:lang="en-US">Typically, a Rights element will contain a rights
+		management statement for the resource, or reference
+		a service providing such information. Rights information
+		often encompasses Intellectual Property Rights (IPR),
+		Copyright, and various Property Rights.
+		If the Rights element is absent, no assumptions can be made
+		about the status of these and other rights with respect to
+		the resource.</dc:description>
+<rdfs:isDefinedBy rdf:resource="http://purl.org/dc/elements/1.1/"/>
+<dcterms:issued>1999-07-02</dcterms:issued>
+<dcterms:modified>2002-10-04</dcterms:modified>
+<dc:type rdf:resource="http://dublincore.org/usage/documents/principles/#element"/>
+<dcterms:hasVersion rdf:resource="http://dublincore.org/usage/terms/history/#rights-004"/>
+</rdf:Property>
+</rdf:RDF>



Mime
View raw message