You are viewing a plain text version of this content. The canonical link for it is here.
Posted to triplesoup-commits@incubator.apache.org by le...@apache.org on 2007/04/13 17:20:01 UTC
svn commit: r528559 [4/6] - 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/RDFStor...
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_ms.h
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_ms.h?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_ms.h (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_ms.h Fri Apr 13 10:19:54 2007
@@ -1,69 +1,19 @@
-/*
-##############################################################################
-# Copyright (c) 2000-2006 All rights reserved
-# Alberto Reggiori <ar...@webweaving.org>
-# Dirk-Willem van Gulik <di...@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 <ar...@webweaving.org> and
-# Dirk-Willem van Gulik <di...@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.
-#
-##############################################################################
-#
-*/
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#ifndef _H_RDFSTORE_MS
#define _H_RDFSTORE_MS
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_serializer.h
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_serializer.h?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_serializer.h (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_serializer.h Fri Apr 13 10:19:54 2007
@@ -1,71 +1,19 @@
-/*
-##############################################################################
-# Copyright (c) 2000-2006 All rights reserved
-# Alberto Reggiori <ar...@webweaving.org>
-# Dirk-Willem van Gulik <di...@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 <ar...@webweaving.org> and
-# Dirk-Willem van Gulik <di...@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.
-#
-##############################################################################
-#
-# $Id: rdfstore_serializer.h,v 1.4 2006/06/19 10:10:23 areggiori Exp $
-#
-*/
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#ifndef _H_RDFSTORE_SERIALIZER
#define _H_RDFSTORE_SERIALIZER
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_utf8.h
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_utf8.h?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_utf8.h (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_utf8.h Fri Apr 13 10:19:54 2007
@@ -1,71 +1,19 @@
-/*
-##############################################################################
-# Copyright (c) 2000-2006 All rights reserved
-# Alberto Reggiori <ar...@webweaving.org>
-# Dirk-Willem van Gulik <di...@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 <ar...@webweaving.org> and
-# Dirk-Willem van Gulik <di...@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.
-#
-##############################################################################
-#
-# $Id: rdfstore_utf8.h,v 1.5 2006/06/19 10:10:23 areggiori Exp $
-#
-*/
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#ifndef _H_RDFSTORE_UTF8
#define _H_RDFSTORE_UTF8
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_xsd.h
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_xsd.h?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_xsd.h (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/include/rdfstore_xsd.h Fri Apr 13 10:19:54 2007
@@ -1,69 +1,19 @@
-/*
-##############################################################################
-# Copyright (c) 2000-2006 All rights reserved
-# Alberto Reggiori <ar...@webweaving.org>
-# Dirk-Willem van Gulik <di...@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 <ar...@webweaving.org> and
-# Dirk-Willem van Gulik <di...@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.
-#
-##############################################################################
-#
-*/
+/* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
#ifndef _H_RDFSTORE_XSD
#define _H_RDFSTORE_XSD
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBD/RDFStore.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBD/RDFStore.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBD/RDFStore.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBD/RDFStore.pm Fri Apr 13 10:19:54 2007
@@ -1,48 +1,52 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1
-# * - first hacked version of DBI driver for RDFStore
-# * version 0.2
-# * - added SELECT DISTINCT support
-# * - updated RDF-for-XML format to return xsi:type information
-# * - start adding empty bound/var support
-# * - added ?prefix:var QName support to vars
-# * - updated RDF/XML format to stream one single grap
-# * - added SPARQL CONSTRUCT support
-# * - added DBD::RDFStore::st::getQueryStatement() method
-# * - renamed asRDF DBI parameter as results - and removed output handle and output_string modes
-# * - updated XML and misc RDF output format interface to use DBD::RDFStore::st specific methods:
-# * fetchrow_XML(), fetchall_XML(), fetchsubgraph_serialize(), fetchallgraph_serialize()
-# * - added fetchsubgraph() and fetchallgraph() methods to return matches as RDFStore::Model
-# * - added SPARQL DESCRIBE support
-# * - fixed bug into _prepareTriplepattern() when bNode is substituted
-# * - added simple RDF/S rdfs:subClassOf rdfs:subPropertyOf and owl:sameAs inferencing if aval into input RDF merge and requested
-# * - updated search() method call to use new XS code interface (hash ref)
-# * - added simpler XML serialization (dawg-xml) see http://www.w3.org/2001/sw/DataAccess/rf1/
-# * - replaced rdfqr-results with dawg-results format http://www.w3.org/2001/sw/DataAccess/tests/result-set#
-# * - removed rs:size from dawg-results format see http://lists.w3.org/Archives/Public/public-rdf-dawg/2004OctDec/0196.html
-# * - added not standard RDQL/SPARQL DELETE support
-# * - updated to rw mode for database connection if specified or DELETE requested
-# * - added default SPARQL PREFIX op: <http://www.w3.org/2001/sw/DataAccess/operations> and PREFIX fn: <http://www.w3.org/2004/07/xpath-functions>
-# * - added basic set of SPARQL operations and functions - see http://www.w3.org/2001/sw/DataAccess/rq23/#tests
-# * - constraints are now process using a RPN stack
-# * - added simple SPARQL OPTIONAL keyword support
-# * - fixed bug when processing bNodes
-# * - added SPARQL LIMIT support
-# * - added SPARQL OFFSET support
-# * - added SPARQL ORDER BY support
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1
+# - first hacked version of DBI driver for RDFStore
+# version 0.2
+# - added SELECT DISTINCT support
+# - updated RDF-for-XML format to return xsi:type information
+# - start adding empty bound/var support
+# - added ?prefix:var QName support to vars
+# - updated RDF/XML format to stream one single grap
+# - added SPARQL CONSTRUCT support
+# - added DBD::RDFStore::st::getQueryStatement() method
+# - renamed asRDF DBI parameter as results - and removed output handle and output_string modes
+# - updated XML and misc RDF output format interface to use DBD::RDFStore::st specific methods:
+# fetchrow_XML(), fetchall_XML(), fetchsubgraph_serialize(), fetchallgraph_serialize()
+# - added fetchsubgraph() and fetchallgraph() methods to return matches as RDFStore::Model
+# - added SPARQL DESCRIBE support
+# - fixed bug into _prepareTriplepattern() when bNode is substituted
+# - added simple RDF/S rdfs:subClassOf rdfs:subPropertyOf and owl:sameAs inferencing if aval into input RDF merge and requested
+# - updated search() method call to use new XS code interface (hash ref)
+# - added simpler XML serialization (dawg-xml) see http://www.w3.org/2001/sw/DataAccess/rf1/
+# - replaced rdfqr-results with dawg-results format http://www.w3.org/2001/sw/DataAccess/tests/result-set#
+# - removed rs:size from dawg-results format see http://lists.w3.org/Archives/Public/public-rdf-dawg/2004OctDec/0196.html
+# - added not standard RDQL/SPARQL DELETE support
+# - updated to rw mode for database connection if specified or DELETE requested
+# - added default SPARQL PREFIX op: <http://www.w3.org/2001/sw/DataAccess/operations> and PREFIX fn: <http://www.w3.org/2004/07/xpath-functions>
+# - added basic set of SPARQL operations and functions - see http://www.w3.org/2001/sw/DataAccess/rq23/#tests
+# - constraints are now process using a RPN stack
+# - added simple SPARQL OPTIONAL keyword support
+# - fixed bug when processing bNodes
+# - added SPARQL LIMIT support
+# - added SPARQL OFFSET support
+# - added SPARQL ORDER BY support
+#
package DBD::RDFStore;
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBMS.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBMS.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBMS.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/DBMS.pm Fri Apr 13 10:19:54 2007
@@ -1,19 +1,22 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# *
-# * DBMS.pm -- Perl 5 interface to DBMS sockets
-# *
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+#
+# DBMS.pm -- Perl 5 interface to DBMS sockets
+#
=NAME DBMS
=head1 NAME
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Digest/Digestable.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Digest/Digestable.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Digest/Digestable.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Digest/Digestable.pm Fri Apr 13 10:19:54 2007
@@ -1,18 +1,22 @@
-# *
-# * Copyright (c) 2000-2004 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Wed May 23 18:16:29 CEST 2001
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Wed May 23 18:16:29 CEST 2001
+#
package RDFStore::Digest::Digestable;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Literal.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Literal.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Literal.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Literal.pm Fri Apr 13 10:19:54 2007
@@ -1,32 +1,36 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - modified new() equals(), getLabel() methods accordingly to rdf-api-2000-10-30
-# * - modified toString()
-# * version 0.3
-# * - fixed bugs when checking references/pointers (defined and ref() )
-# * version 0.4
-# * - updated accordingly to rdf-api-2001-01-19
-# * - modified getLabel() and getURI() to return a lebel even if the Literal is a BLOB (using Storable)
-# * - updated equals() method to make a real comparison of BLOBs using Storable module
-# * version 0.41
-# * - added getDigest() to generate the digest using quotes and the label
-# * version 0.42
-# * - updated accordingly to new RDFStore API
-# * - removed BLOB support
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - modified new() equals(), getLabel() methods accordingly to rdf-api-2000-10-30
+# - modified toString()
+# version 0.3
+# - fixed bugs when checking references/pointers (defined and ref() )
+# version 0.4
+# - updated accordingly to rdf-api-2001-01-19
+# - modified getLabel() and getURI() to return a lebel even if the Literal is a BLOB (using Storable)
+# - updated equals() method to make a real comparison of BLOBs using Storable module
+# version 0.41
+# - added getDigest() to generate the digest using quotes and the label
+# version 0.42
+# - updated accordingly to new RDFStore API
+# - removed BLOB support
+#
package RDFStore::Literal;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Model.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Model.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Model.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Model.pm Fri Apr 13 10:19:54 2007
@@ -1,72 +1,76 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - fixed bug in new() to check if triples is HASH ref when passed by user
-# * - fixed bug in find() do avoid to return instances of SetModel (see SchemaModel.pm also)
-# * Now result sets are put in an object(model) of the the same type - see find()
-# * - modified add() remove() clone() duplicate() and added toString() makePrivate()
-# * getNamespace() getLocalName() methods accordingly to rdf-api-2000-10-30
-# * - modifed new(), duplicate(), clone() and find() to support cloned models
-# * Due the fact that Data::MagicTie does not support the clone method, when
-# * either the triples or the index are duplicated (or cloned) the user could
-# * specify on which HASH(es) (tied or not) to store the results (see duplicate())
-# * - modified find() to manage normal Models and indexed Models differently
-# * - added optional indirect indexing to find() i.e. the FindIndex stores just digested keys
-# * and not the full BLOB; fetch from an index then require an additional look up in triples
-# * version 0.3
-# * - fixed bug in find(). Check the type of $t before using methods on it
-# * - added toStrawmanRDF() to serialise the model in strawman RDF for RDFStore::Parser::OpenHealth
-# * - fixed bug in create()
-# * - fixed bugs when checking references/pointers (defined and ref() )
-# * - modified updateDigest() method accordingly to rdf-api-2000-11-13
-# * version 0.31
-# * - commented out isEmpty() check in find() due to DBMS(3) efficency problems
-# * - fixed bug in add() when adding statements with a Literal value
-# * - updated toStrawmanRDF() method
-# * - modifed add() to avoid update of existing statements
-# * version 0.4
-# * - modifed add() to return undef if the triples exists already in the database
-# * - changed way to return undef in subroutines
-# * - renamed triples hash to store
-# * - adapted to use the new Data::MagicTie interface
-# * - complete re-design of the indexing and storage method
-# * - added getOptions() method
-# * - Devon Smith <de...@taller.pscl.cwru.edu> changed getDigestBytes() to generate digests and hashes
-# * that match Stanford java ones exactly
-# * - added inheritance from RDFStore::Digest::Digestable
-# * - removed RDFStore::Resource inheritance
-# * version 0.41
-# * - updated _getLookupValue() and _getValuesFromLookup() to consider negative hashcodes
-# * version 0.42
-# * - complete redesign of the indexing method up to free-text search on literals
-# * - added tied array iterator RDFStore::Model::Statements to allow fetching results one by one
-# * - modified find() to allow a 4th paramater to make free-text search over literals
-# * version 0.43
-# * - brand new design now using the faster C/XS RDFStore(3) module....finally :)
-# * - updated methods to avoid a full copy of statements across when the model is shared if possible
-# * - added basic support for statements grouping - see setContext(), getContext() and resetContext()
-# * - zapped toStrawmanRDF() method
-# * - added serialize() method to generally dump a model/graph to a string or filehanlde
-# * - added isConnected() and isRemote() methods
-# * - added unite(), subtract(), intersect(), complement() and exor() methods
-# * - re-added RDFStore::Resource inheritance
-# * - added getParser(), getReader(), getSerializer() and getWriter() methods
-# * version 0.44
-# * - updated search() method call to use new XS code interface (hash ref)
-# * - added ifModifiedSince() method
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - fixed bug in new() to check if triples is HASH ref when passed by user
+# - fixed bug in find() do avoid to return instances of SetModel (see SchemaModel.pm also)
+# Now result sets are put in an object(model) of the the same type - see find()
+# - modified add() remove() clone() duplicate() and added toString() makePrivate()
+# getNamespace() getLocalName() methods accordingly to rdf-api-2000-10-30
+# - modifed new(), duplicate(), clone() and find() to support cloned models
+# Due the fact that Data::MagicTie does not support the clone method, when
+# either the triples or the index are duplicated (or cloned) the user could
+# specify on which HASH(es) (tied or not) to store the results (see duplicate())
+# - modified find() to manage normal Models and indexed Models differently
+# - added optional indirect indexing to find() i.e. the FindIndex stores just digested keys
+# and not the full BLOB; fetch from an index then require an additional look up in triples
+# version 0.3
+# - fixed bug in find(). Check the type of $t before using methods on it
+# - added toStrawmanRDF() to serialise the model in strawman RDF for RDFStore::Parser::OpenHealth
+# - fixed bug in create()
+# - fixed bugs when checking references/pointers (defined and ref() )
+# - modified updateDigest() method accordingly to rdf-api-2000-11-13
+# version 0.31
+# - commented out isEmpty() check in find() due to DBMS(3) efficency problems
+# - fixed bug in add() when adding statements with a Literal value
+# - updated toStrawmanRDF() method
+# - modifed add() to avoid update of existing statements
+# version 0.4
+# - modifed add() to return undef if the triples exists already in the database
+# - changed way to return undef in subroutines
+# - renamed triples hash to store
+# - adapted to use the new Data::MagicTie interface
+# - complete re-design of the indexing and storage method
+# - added getOptions() method
+# - Devon Smith <de...@taller.pscl.cwru.edu> changed getDigestBytes() to generate digests and hashes
+# that match Stanford java ones exactly
+# - added inheritance from RDFStore::Digest::Digestable
+# - removed RDFStore::Resource inheritance
+# version 0.41
+# - updated _getLookupValue() and _getValuesFromLookup() to consider negative hashcodes
+# version 0.42
+# - complete redesign of the indexing method up to free-text search on literals
+# - added tied array iterator RDFStore::Model::Statements to allow fetching results one by one
+# - modified find() to allow a 4th paramater to make free-text search over literals
+# version 0.43
+# - brand new design now using the faster C/XS RDFStore(3) module....finally :)
+# - updated methods to avoid a full copy of statements across when the model is shared if possible
+# - added basic support for statements grouping - see setContext(), getContext() and resetContext()
+# - zapped toStrawmanRDF() method
+# - added serialize() method to generally dump a model/graph to a string or filehanlde
+# - added isConnected() and isRemote() methods
+# - added unite(), subtract(), intersect(), complement() and exor() methods
+# - re-added RDFStore::Resource inheritance
+# - added getParser(), getReader(), getSerializer() and getWriter() methods
+# version 0.44
+# - updated search() method call to use new XS code interface (hash ref)
+# - added ifModifiedSince() method
+#
package RDFStore::Model;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/NodeFactory.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/NodeFactory.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/NodeFactory.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/NodeFactory.pm Fri Apr 13 10:19:54 2007
@@ -1,30 +1,34 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - modified createResource() method accordingly to rdf-api-2000-10-30
-# * version 0.4
-# * - changed way to return undef in subroutines
-# * - implemented createOrdinal()
-# * version 0.41
-# * - added anonymous resource support via createAnonymousResource() and createbNode() - see also RDFStore::Resource(3)
-# * - added statements reification support via createReifiedStatement() - see also RDFStore::Statement(3)
-# * - updated accordingly to new RDFStore API
-# * - added createNTriple() method
-# * version 0.42
-# * - fixed bNodes identifers generation
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - modified createResource() method accordingly to rdf-api-2000-10-30
+# version 0.4
+# - changed way to return undef in subroutines
+# - implemented createOrdinal()
+# version 0.41
+# - added anonymous resource support via createAnonymousResource() and createbNode() - see also RDFStore::Resource(3)
+# - added statements reification support via createReifiedStatement() - see also RDFStore::Statement(3)
+# - updated accordingly to new RDFStore API
+# - added createNTriple() method
+# version 0.42
+# - fixed bNodes identifers generation
+#
package RDFStore::NodeFactory;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Object.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Object.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Object.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Object.pm Fri Apr 13 10:19:54 2007
@@ -1,18 +1,22 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2005/06/09 at 16:21 CEST
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2005/06/09 at 16:21 CEST
+#
package RDFStore::Object;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser.pm Fri Apr 13 10:19:54 2007
@@ -1,20 +1,24 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Dec 16 00:51:44 CET 2003
-# * version 0.2
-# * - updated wget() adding Accept: HTTP header and use LWP::UserAgent if available
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Tue Dec 16 00:51:44 CET 2003
+# version 0.2
+# - updated wget() adding Accept: HTTP header and use LWP::UserAgent if available
+#
package RDFStore::Parser;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/NTriples.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/NTriples.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/NTriples.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/NTriples.pm Fri Apr 13 10:19:54 2007
@@ -1,20 +1,24 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Apr 8 00:28:24 CEST 2003
-# * version 0.2
-# * - updated wget() method invocation
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Tue Apr 8 00:28:24 CEST 2003
+# version 0.2
+# - updated wget() method invocation
+#
package RDFStore::Parser::NTriples;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/SiRPAC.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/SiRPAC.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/SiRPAC.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/SiRPAC.pm Fri Apr 13 10:19:54 2007
@@ -1,117 +1,121 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - fixed bug in parsefile() to read URL-less filenames
-# * (version0.1 was working only with 'file:' URL prefix)
-# * - fixed a lot of bugs/inconsistences in new(), parse(), setSource(), parsestring()
-# * processXML() in the fetchSchema part, normalizeResourceIdentifier()
-# * - added parse_start a la XML::parser for no-blocking stream
-# * parsing using XML::Parser::ExpatNB
-# * - pod documentation updated
-# * - does not use URI::file anymore
-# * - Modified createResource(), RDFStore::Parser::SiRPAC::Element and
-# * RDFStore::Parser::SiRPAC::DataElement accordingly to rdf-api-2000-10-30
-# * - General bug fixing accordingly to rdf-api-2000-10-30
-# * NOTE: Expat supports well XML Namespaces and SiRPAC could use all the
-# * XML::Parser Namespace methods (e.g. generate_namespace()) to generate the
-# * corresponding Qname; it uses arrays and simple operations instead for efficency
-# * version 0.3
-# * - fixed bug in expandAttributes() when expand rdf:value
-# * - Modified addOrder() expandAttributes() accordingly to rdf-api-2000-11-13
-# * - fixed bug in parse() parse_start() to set the Source right
-# * - fixed bug in RDFXML_StartElementHandler() when parseLiteral process attributes also
-# * - fixed bug in processTypedNode() to manage new attlist way
-# * - fixed bug in processPredicate() to manage new attlist way
-# * - fixed bugs due to the modifications due rdf-api-2000-10-30. Now $n->{tag} is either
-# * $n->name() or $n->localName(); code got more clear also
-# * - fixed addTriple() and reify() - more checking and modified to manage right $subject
-# * version 0.31
-# * - updated documentation
-# * - fixed bug in parse_start() and parse() to check $file_or_uri
-# * is a reference to an URI object
-# * - changed wget() Socket handle to work with previous Perl versions (not my $handle) and
-# * do HTTP GET even on HTTP 'Location' redirect header
-# * - fixed bug in RDFXML_CharacterDataHand() when trim text and $preserveWhiteSpace
-# * - fixed bug in processTypedNode() when remove attributes
-# * - commented off croak in expandAttributes() when 'expanding predicate element' for
-# * production http://www.w3.org/TR/REC-rdf-syntax/#typedNode for xhtml2rdf stuff
-# * version 0.4
-# * - changed way to return undef in subroutines
-# * - now creation of Bag instances for each Description block is an option
-# * - fixed a few warnings
-# * - fixed bug in getAttributeValue() when check attribute name
-# * - fixed bug in setSource() when add trailing '#' char
-# * - added bug fixing in RDFXML_StartElementHandler(), newReificationID() and processPredicate() by rob@eorbit.net
-# * - fixed warnings in getAttributeValue(), RDFXML_StartElementHandler()
-# * - added GenidNumber parameter
-# * - updated accordingly to http://www.w3.org/RDF/Implementations/SiRPAC/
-# * - bug fix in reify() when generate the subject property triple
-# * - added getReificationCounter()
-# * version 0.41
-# * - fixed bug with XML::Parser 2.30 using expat-1.95.1
-# * * XMLSCHEMA set to http://www.w3.org/XML/1998/namespace (see http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-using)
-# * * added XMLSCHEMA_prefix
-# * - changed RDF_SCHEMA_NS to http://www.w3.org/2000/01/rdf-schema#
-# * version 0.42
-# * - updated accordingly to RDF Core Working Group decisions (see
-# * http://www.w3.org/2000/03/rdf-tracking/#attention-developers)
-# * * rdf-ns-prefix-confusion (carp if error)
-# * * rdfms-abouteachprefix (removed aboutEachPrefix)
-# * * rdfms-empty-property-elements (updated processDescription() and processPredicate())
-# * * rdf-containers-formalmodel (updated processListItem())
-# * - added RDFCore_Issues option
-# * - fixed bug when calling setSource() internally
-# * - updated normalizeResourceIdentifier()
-# * - fixed bug in processListItem() when calling processContainer()
-# * - fixed bug in processPredicate() for empty predicate elements having zero attributes
-# * version 0.43
-# * - fixed bug in processDescription()
-# * - fixed bug in processTypedNode() when removeAttribute
-# * - fixed bug in normalizeResourceIdentifier() when LocalName contains '#'
-# * - removed xml:space handling in RDFXML_CharacterDataHandler()
-# * - fixed bug in processPredicate() - does not generate triples when PCDATA is pure whitespaces stuff and there are XML subelements
-# * - fixed bug in processListItem() when generate rdf:li elements
-# * - added rdfcroak() instead of using $expat->xpcroak()
-# * - updated newReificationID()
-# * - added RDFMS_nodeID and RDFMS_datatype
-# * - updated reify()
-# * - added rdf:nodeID support
-# * - added rdf:parseType="Collection" support to processPredicate()
-# * - fixed bug in processPredicate() to force resource object nodes for rdf:type on predicate with rdf:resource
-# * - removed parse_start() method and added parsestream() to do expat no-blocking parseing of large XML streams
-# * - removed processListItem() - new specs require to process containers as nomral predicates and simply enumerating elements
-# * - fixed bug in processContainer() to treat RDF containers just like any other typed node but with rdf:li or rdf:_n nodes
-# * - added xml:base support
-# * - added xml:lang support
-# * - added manage_bNodes callback/hanlder
-# * - updated bNode identifier generation algorithm - now parser run wide unique - see newReificationID()
-# * - various fixes when using getAttributeValue()
-# * - updated rdfcroak() to return source name too when failing
-# * - updated processXML() - removed the fetchSchema part
-# * - force source to STDIN: if not defined
-# * - removed RDFCore_Issues option - now default
-# * - added rdfwarn()
-# * - added warnings()
-# * - moved common code to RDFStore::Parser
-# * - added rdf:datatype support
-# * - added rdfstore:context support
-# * version 0.44
-# * - updated wget() method invocation
-# * - force rdf:parseType="Literal" if rdf:dataType="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"
-# * - fixed bug in processDescription() when expanding rdf:nodeID on predicate with inline typed node
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - fixed bug in parsefile() to read URL-less filenames
+# (version0.1 was working only with 'file:' URL prefix)
+# - fixed a lot of bugs/inconsistences in new(), parse(), setSource(), parsestring()
+# processXML() in the fetchSchema part, normalizeResourceIdentifier()
+# - added parse_start a la XML::parser for no-blocking stream
+# parsing using XML::Parser::ExpatNB
+# - pod documentation updated
+# - does not use URI::file anymore
+# - Modified createResource(), RDFStore::Parser::SiRPAC::Element and
+# RDFStore::Parser::SiRPAC::DataElement accordingly to rdf-api-2000-10-30
+# - General bug fixing accordingly to rdf-api-2000-10-30
+# NOTE: Expat supports well XML Namespaces and SiRPAC could use all the
+# XML::Parser Namespace methods (e.g. generate_namespace()) to generate the
+# corresponding Qname; it uses arrays and simple operations instead for efficency
+# version 0.3
+# - fixed bug in expandAttributes() when expand rdf:value
+# - Modified addOrder() expandAttributes() accordingly to rdf-api-2000-11-13
+# - fixed bug in parse() parse_start() to set the Source right
+# - fixed bug in RDFXML_StartElementHandler() when parseLiteral process attributes also
+# - fixed bug in processTypedNode() to manage new attlist way
+# - fixed bug in processPredicate() to manage new attlist way
+# - fixed bugs due to the modifications due rdf-api-2000-10-30. Now $n->{tag} is either
+# $n->name() or $n->localName(); code got more clear also
+# - fixed addTriple() and reify() - more checking and modified to manage right $subject
+# version 0.31
+# - updated documentation
+# - fixed bug in parse_start() and parse() to check $file_or_uri
+# is a reference to an URI object
+# - changed wget() Socket handle to work with previous Perl versions (not my $handle) and
+# do HTTP GET even on HTTP 'Location' redirect header
+# - fixed bug in RDFXML_CharacterDataHand() when trim text and $preserveWhiteSpace
+# - fixed bug in processTypedNode() when remove attributes
+# - commented off croak in expandAttributes() when 'expanding predicate element' for
+# production http://www.w3.org/TR/REC-rdf-syntax/#typedNode for xhtml2rdf stuff
+# version 0.4
+# - changed way to return undef in subroutines
+# - now creation of Bag instances for each Description block is an option
+# - fixed a few warnings
+# - fixed bug in getAttributeValue() when check attribute name
+# - fixed bug in setSource() when add trailing '#' char
+# - added bug fixing in RDFXML_StartElementHandler(), newReificationID() and processPredicate() by rob@eorbit.net
+# - fixed warnings in getAttributeValue(), RDFXML_StartElementHandler()
+# - added GenidNumber parameter
+# - updated accordingly to http://www.w3.org/RDF/Implementations/SiRPAC/
+# - bug fix in reify() when generate the subject property triple
+# - added getReificationCounter()
+# version 0.41
+# - fixed bug with XML::Parser 2.30 using expat-1.95.1
+# * XMLSCHEMA set to http://www.w3.org/XML/1998/namespace (see http://www.w3.org/TR/1999/REC-xml-names-19990114/#ns-using)
+# * added XMLSCHEMA_prefix
+# - changed RDF_SCHEMA_NS to http://www.w3.org/2000/01/rdf-schema#
+# version 0.42
+# - updated accordingly to RDF Core Working Group decisions (see
+# http://www.w3.org/2000/03/rdf-tracking/#attention-developers)
+# * rdf-ns-prefix-confusion (carp if error)
+# * rdfms-abouteachprefix (removed aboutEachPrefix)
+# * rdfms-empty-property-elements (updated processDescription() and processPredicate())
+# * rdf-containers-formalmodel (updated processListItem())
+# - added RDFCore_Issues option
+# - fixed bug when calling setSource() internally
+# - updated normalizeResourceIdentifier()
+# - fixed bug in processListItem() when calling processContainer()
+# - fixed bug in processPredicate() for empty predicate elements having zero attributes
+# version 0.43
+# - fixed bug in processDescription()
+# - fixed bug in processTypedNode() when removeAttribute
+# - fixed bug in normalizeResourceIdentifier() when LocalName contains '#'
+# - removed xml:space handling in RDFXML_CharacterDataHandler()
+# - fixed bug in processPredicate() - does not generate triples when PCDATA is pure whitespaces stuff and there are XML subelements
+# - fixed bug in processListItem() when generate rdf:li elements
+# - added rdfcroak() instead of using $expat->xpcroak()
+# - updated newReificationID()
+# - added RDFMS_nodeID and RDFMS_datatype
+# - updated reify()
+# - added rdf:nodeID support
+# - added rdf:parseType="Collection" support to processPredicate()
+# - fixed bug in processPredicate() to force resource object nodes for rdf:type on predicate with rdf:resource
+# - removed parse_start() method and added parsestream() to do expat no-blocking parseing of large XML streams
+# - removed processListItem() - new specs require to process containers as nomral predicates and simply enumerating elements
+# - fixed bug in processContainer() to treat RDF containers just like any other typed node but with rdf:li or rdf:_n nodes
+# - added xml:base support
+# - added xml:lang support
+# - added manage_bNodes callback/hanlder
+# - updated bNode identifier generation algorithm - now parser run wide unique - see newReificationID()
+# - various fixes when using getAttributeValue()
+# - updated rdfcroak() to return source name too when failing
+# - updated processXML() - removed the fetchSchema part
+# - force source to STDIN: if not defined
+# - removed RDFCore_Issues option - now default
+# - added rdfwarn()
+# - added warnings()
+# - moved common code to RDFStore::Parser
+# - added rdf:datatype support
+# - added rdfstore:context support
+# version 0.44
+# - updated wget() method invocation
+# - force rdf:parseType="Literal" if rdf:dataType="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"
+# - fixed bug in processDescription() when expanding rdf:nodeID on predicate with inline typed node
+#
package RDFStore::Parser::SiRPAC;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Model.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Model.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Model.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Model.pm Fri Apr 13 10:19:54 2007
@@ -1,35 +1,39 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - Init() now setSourceURI() for the model
-# * - now the result set is a SetModel
-# * version 0.3
-# * - fixed bug in Assert() checking if $st is a ref and valid RDFStore::Statement
-# * version 0.31
-# * - updated documentation
-# * version 0.4
-# * - modified Assert() to print only new statements
-# * - fixed a few warnings
-# * - updated accordingly to new RDFStore::Model
-# * version 0.41
-# * - renamed
-# * - added Context option to the storage
-# * - fixed typing error when passing the nodeFactory to the model
-# * - allows to specify an existing RDFStore::Model as input
-# * - added owl:imports support
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - Init() now setSourceURI() for the model
+# - now the result set is a SetModel
+# version 0.3
+# - fixed bug in Assert() checking if $st is a ref and valid RDFStore::Statement
+# version 0.31
+# - updated documentation
+# version 0.4
+# - modified Assert() to print only new statements
+# - fixed a few warnings
+# - updated accordingly to new RDFStore::Model
+# version 0.41
+# - renamed
+# - added Context option to the storage
+# - fixed typing error when passing the nodeFactory to the model
+# - allows to specify an existing RDFStore::Model as input
+# - added owl:imports support
+#
package RDFStore::Parser::Styles::RDFStore::Model;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Statement.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Statement.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Statement.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Parser/Styles/RDFStore/Statement.pm Fri Apr 13 10:19:54 2007
@@ -1,18 +1,22 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Aug 24 16:15:10 CEST 2004
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Tue Aug 24 16:15:10 CEST 2004
+#
package RDFStore::Parser::Styles::RDFStore::Statement;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/RDFNode.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/RDFNode.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/RDFNode.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/RDFNode.pm Fri Apr 13 10:19:54 2007
@@ -1,27 +1,31 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - modified getDigest() equals() methods accordingly to rdf-api-2000-10-30
-# * version 0.4
-# * - updated accordingly to rdf-api-2001-01-19
-# * - fixed bug in hashCode() to avoid bulding the digest each time
-# * - added inheritance from RDFStore::Digest::Digestable
-# * version 0.41
-# * - updated accordingly to new RDFStore API
-# * - removed BLOB support
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - modified getDigest() equals() methods accordingly to rdf-api-2000-10-30
+# version 0.4
+# - updated accordingly to rdf-api-2001-01-19
+# - fixed bug in hashCode() to avoid bulding the digest each time
+# - added inheritance from RDFStore::Digest::Digestable
+# version 0.41
+# - updated accordingly to new RDFStore API
+# - removed BLOB support
+#
package RDFStore::RDFNode;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Resource.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Resource.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Resource.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Resource.pm Fri Apr 13 10:19:54 2007
@@ -1,34 +1,38 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - modified new() getURI() getLabel() and added getNamespace()
-# * getLocalName()methods accordingly to rdf-api-2000-10-30
-# * - modified toString()
-# * version 0.3
-# * - fixed bugs when checking references/pointers (defined and ref() )
-# * version 0.4
-# * - added check on local name when create a new Resource
-# * - updated accordingly to rdf-api-2001-01-19
-# * - allow creation of resources from URI(3) objects or strings using XMLNS LocalPart
-# * - hashCode() and getDigest() return separated values for localName and namespace if requested
-# * version 0.41
-# * - added anonymous resources support - see also RDFStore::NodeFactory(3) and RDFStore::Model(3)
-# * - added isAnonymous() and isbNode()
-# * - updated accordingly to new RDFStore API
-# * - removed BLOB support
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - modified new() getURI() getLabel() and added getNamespace()
+# getLocalName()methods accordingly to rdf-api-2000-10-30
+# - modified toString()
+# version 0.3
+# - fixed bugs when checking references/pointers (defined and ref() )
+# version 0.4
+# - added check on local name when create a new Resource
+# - updated accordingly to rdf-api-2001-01-19
+# - allow creation of resources from URI(3) objects or strings using XMLNS LocalPart
+# - hashCode() and getDigest() return separated values for localName and namespace if requested
+# version 0.41
+# - added anonymous resources support - see also RDFStore::NodeFactory(3) and RDFStore::Model(3)
+# - added isAnonymous() and isbNode()
+# - updated accordingly to new RDFStore API
+# - removed BLOB support
+#
package RDFStore::Resource;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/SchemaModel.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/SchemaModel.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/SchemaModel.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/SchemaModel.pm Fri Apr 13 10:19:54 2007
@@ -1,30 +1,34 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - 2000/11/03 at 04:30 CEST
-# * version 0.2
-# * - general fixing and improvements
-# * * instances and closure are Model
-# * version 0.3
-# * - added getLocalName() and getNamespace() to delegate to instances
-# * - changed checking to RDFStore::Model type
-# * - modified toString()
-# * - fixed bugs when checking references/pointers (defined and ref() )
-# * - fixed miss-spell in validate()
-# * version 0.4
-# * - complete review of the code
-# * - updated accordingly to new RDFStore::Model
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - 2000/11/03 at 04:30 CEST
+# version 0.2
+# - general fixing and improvements
+# * instances and closure are Model
+# version 0.3
+# - added getLocalName() and getNamespace() to delegate to instances
+# - changed checking to RDFStore::Model type
+# - modified toString()
+# - fixed bugs when checking references/pointers (defined and ref() )
+# - fixed miss-spell in validate()
+# version 0.4
+# - complete review of the code
+# - updated accordingly to new RDFStore::Model
+#
package RDFStore::SchemaModel;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer.pm Fri Apr 13 10:19:54 2007
@@ -1,18 +1,22 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Jan 28 15:30:00 CET 2003
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Tue Jan 28 15:30:00 CET 2003
+#
package RDFStore::Serializer;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/NTriples.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/NTriples.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/NTriples.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/NTriples.pm Fri Apr 13 10:19:54 2007
@@ -1,18 +1,22 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Jan 28 15:30:00 CET 2003
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Tue Jan 28 15:30:00 CET 2003
+#
package RDFStore::Serializer::NTriples;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RDFXML.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RDFXML.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RDFXML.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RDFXML.pm Fri Apr 13 10:19:54 2007
@@ -1,20 +1,24 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Jan 28 15:30:00 CET 2003
-# * version 0.2
-# * - fixed bug when model context is set
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# Changes:
+# version 0.1 - Tue Jan 28 15:30:00 CET 2003
+# version 0.2
+# - fixed bug when model context is set
+#
package RDFStore::Serializer::RDFXML;
{
Modified: incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RSS.pm
URL: http://svn.apache.org/viewvc/incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RSS.pm?view=diff&rev=528559&r1=528558&r2=528559
==============================================================================
--- incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RSS.pm (original)
+++ incubator/triplesoup/donations/TRIPLES-3-RDFStore/lib/RDFStore/Serializer/RSS.pm Fri Apr 13 10:19:54 2007
@@ -1,20 +1,23 @@
-# *
-# * Copyright (c) 2000-2006 Alberto Reggiori <ar...@webweaving.org>
-# * Dirk-Willem van Gulik <di...@webweaving.org>
-# *
-# * NOTICE
-# *
-# * This product is distributed under a BSD/ASF like license as described in the 'LICENSE'
-# * file you should have received together with this source code. If you did not get a
-# * a copy of such a license agreement you can pick up one at:
-# *
-# * http://rdfstore.sourceforge.net/LICENSE
-# *
-# * Changes:
-# * version 0.1 - Tue Jan 28 15:30:00 CET 2003
-# * version 0.2
-# * - fixed bug when model context is set
-# *
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Changes:
+# version 0.1 - Tue Jan 28 15:30:00 CET 2003
+# version 0.2
+# - fixed bug when model context is set
+#
package RDFStore::Serializer::RSS;
{