You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2015/03/22 14:07:16 UTC

[3/3] clerezza git commit: CLEREZZA-969, CLEREZZA-970: projects now in rdf/

CLEREZZA-969, CLEREZZA-970: projects now in rdf/

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/05879362
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/05879362
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/05879362

Branch: refs/heads/rdf-commons
Commit: 05879362bbee535886be683c9de9e75fa027ab84
Parents: 7732b99
Author: Reto Gmuer <re...@apache.org>
Authored: Sun Mar 22 13:06:56 2015 +0000
Committer: Reto Gmuer <re...@apache.org>
Committed: Sun Mar 22 13:06:56 2015 +0000

----------------------------------------------------------------------
 provisioning/rdf/pom.xml                        |  20 +-
 rdf.jena.serializer/LICENSE                     | 201 ---------
 rdf.jena.serializer/pom.xml                     |  52 ---
 .../jena/serializer/JenaSerializerProvider.java |  97 ----
 ....rdf.core.serializedform.SerializingProvider |   1 -
 .../serializer/TestJenaSerializerProvider.java  | 174 --------
 rdf.metadata/LICENSE                            | 201 ---------
 rdf.metadata/pom.xml                            |  48 --
 .../rdf/metadata/MetaDataGenerator.java         |  42 --
 rdf.rdfa/pom.xml                                | 106 -----
 .../clerezza/rdf/rdfa/ClerezzaRDFaParser.java   |  79 ----
 .../rdf/rdfa/ClerezzaStatementSink.java         | 103 -----
 .../clerezza/rdf/rdfa/HTMLRDFaParser.java       |  54 ---
 .../clerezza/rdf/rdfa/XHTMLRDFaParser.java      |  46 --
 ...ezza.rdf.core.serializedform.ParsingProvider |   2 -
 rdf.rdfa/src/test/resources/1.ttl               | 445 -------------------
 rdf.rdfa/src/test/resources/1.xhtml             | 399 -----------------
 rdf.rdfa/src/test/resources/log4j.properties    |  26 --
 18 files changed, 10 insertions(+), 2086 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/provisioning/rdf/pom.xml
----------------------------------------------------------------------
diff --git a/provisioning/rdf/pom.xml b/provisioning/rdf/pom.xml
index 45f2803..c33868c 100644
--- a/provisioning/rdf/pom.xml
+++ b/provisioning/rdf/pom.xml
@@ -87,39 +87,39 @@
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.core</artifactId>
-            <version>0.14</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.ontologies</artifactId>
-            <version>0.12</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.utils</artifactId>
-            <version>0.14</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.metadata</artifactId>
-            <version>0.2</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.jena.commons</artifactId>
-            <version>0.7</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.jena.facade</artifactId>
-            <version>0.14</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.rdfa</artifactId>
-            <version>0.2</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
-        <dependency>
+        <!-- <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.rdfjson</artifactId>
             <version>0.4</version>
@@ -128,7 +128,7 @@
             <groupId>org.apache.clerezza.ext</groupId>
             <artifactId>org.json.simple</artifactId>
             <version>0.4</version>
-        </dependency>
+        </dependency> -->
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.jena.serializer</artifactId>
@@ -137,7 +137,7 @@
         <dependency>
             <groupId>org.apache.clerezza</groupId>
             <artifactId>rdf.jena.parser</artifactId>
-            <version>0.12</version>
+            <version>1.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.clerezza</groupId>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.jena.serializer/LICENSE
----------------------------------------------------------------------
diff --git a/rdf.jena.serializer/LICENSE b/rdf.jena.serializer/LICENSE
deleted file mode 100644
index 261eeb9..0000000
--- a/rdf.jena.serializer/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.jena.serializer/pom.xml
----------------------------------------------------------------------
diff --git a/rdf.jena.serializer/pom.xml b/rdf.jena.serializer/pom.xml
deleted file mode 100644
index 55b6ddb..0000000
--- a/rdf.jena.serializer/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-<!--
-
- 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.
-
--->
-
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <artifactId>clerezza</artifactId>
-        <groupId>org.apache.clerezza</groupId>
-        <version>0.5</version>
-        <relativePath>../parent</relativePath>
-    </parent>
-    <groupId>org.apache.clerezza</groupId>
-    <artifactId>rdf.jena.serializer</artifactId>
-    <packaging>bundle</packaging>
-    <version>1.0.0-SNAPSHOT</version>
-    <name>Clerezza - SCB Jena based Serializer</name>
-    <description>A SerializingProvider based on jena</description>
-    <dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.clerezza</groupId>
-            <artifactId>rdf.jena.facade</artifactId>
-            <version>0.14</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.scr.annotations</artifactId>
-        </dependency>
-    </dependencies>
-</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.jena.serializer/src/main/java/org/apache/clerezza/rdf/jena/serializer/JenaSerializerProvider.java
----------------------------------------------------------------------
diff --git a/rdf.jena.serializer/src/main/java/org/apache/clerezza/rdf/jena/serializer/JenaSerializerProvider.java b/rdf.jena.serializer/src/main/java/org/apache/clerezza/rdf/jena/serializer/JenaSerializerProvider.java
deleted file mode 100644
index e425cb5..0000000
--- a/rdf.jena.serializer/src/main/java/org/apache/clerezza/rdf/jena/serializer/JenaSerializerProvider.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * 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.
- */
-package org.apache.clerezza.rdf.jena.serializer;
-
-import java.io.OutputStream;
-
-import org.apache.clerezza.rdf.core.serializedform.SerializingProvider;
-import org.apache.clerezza.rdf.core.serializedform.SupportedFormat;
-import org.apache.clerezza.rdf.jena.facade.JenaGraph;
-
-import com.hp.hpl.jena.rdf.model.Model;
-import com.hp.hpl.jena.rdf.model.ModelFactory;
-import com.hp.hpl.jena.rdf.model.RDFWriter;
-import java.util.concurrent.locks.Lock;
-import java.util.concurrent.locks.ReentrantReadWriteLock;
-import org.apache.clerezza.rdf.core.TripleCollection;
-import org.apache.clerezza.rdf.core.access.LockableMGraph;
-import org.apache.clerezza.rdf.core.serializedform.UnsupportedSerializationFormatException;
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.Property;
-import org.apache.felix.scr.annotations.Service;
-/**
- * A {@link org.apache.clerezza.rdf.core.serializedform.SerializingProvider} based on Jena
- *
- * @author mir
- */
-/*
- * see http://jena.sourceforge.net/IO/iohowto.html
- */
-@Component
-@Service(SerializingProvider.class)
-@Property(name="supportedFormat", value={SupportedFormat.RDF_XML,
-    SupportedFormat.TURTLE,    SupportedFormat.X_TURTLE,
-    SupportedFormat.N_TRIPLE, SupportedFormat.N3})
-@SupportedFormat({SupportedFormat.RDF_XML,
-    SupportedFormat.TURTLE,    SupportedFormat.X_TURTLE,
-    SupportedFormat.N_TRIPLE, SupportedFormat.N3})
-public class JenaSerializerProvider implements SerializingProvider {
-
-    @Override
-    public void serialize(OutputStream serializedGraph, TripleCollection tc,
-            String formatIdentifier) {
-        String jenaFormat = getJenaFormat(formatIdentifier);
-        Lock l = (tc instanceof LockableMGraph) ? ((LockableMGraph)tc).getLock().readLock() : (new ReentrantReadWriteLock()).readLock();
-        l.lock();
-        try {
-            com.hp.hpl.jena.graph.Graph graph = new JenaGraph(tc);
-            Model model = ModelFactory.createModelForGraph(graph);
-            RDFWriter writer = model.getWriter(jenaFormat);
-            if ("RDF/XML".equals(jenaFormat)) {
-                //jena complains about some URIs that aren't truely bad
-                //see: http://tech.groups.yahoo.com/group/jena-dev/message/38313
-                writer.setProperty("allowBadURIs", Boolean.TRUE);
-            }
-            writer.write(model, serializedGraph, "");
-        } finally {
-            l.unlock();
-        }
-    }
-
-    private String getJenaFormat(String formatIdentifier) {
-        int semicolonPos = formatIdentifier.indexOf(';');
-        if (semicolonPos > -1) {
-            formatIdentifier = formatIdentifier.substring(0, semicolonPos);
-        }
-        if (formatIdentifier.equals(SupportedFormat.RDF_XML)) {
-            return "RDF/XML";
-        }
-        if (formatIdentifier.equals(SupportedFormat.TURTLE) ||
-                formatIdentifier.equals(SupportedFormat.X_TURTLE)) {
-            return "TURTLE";
-        }
-        if (formatIdentifier.equals(SupportedFormat.N3)) {
-            return "N3";
-        }
-        if (formatIdentifier.equals(SupportedFormat.N_TRIPLE)) {
-            return "N-TRIPLE";
-        }
-        throw new UnsupportedSerializationFormatException(formatIdentifier);
-    }
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.jena.serializer/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.SerializingProvider
----------------------------------------------------------------------
diff --git a/rdf.jena.serializer/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.SerializingProvider b/rdf.jena.serializer/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.SerializingProvider
deleted file mode 100644
index 8a9b397..0000000
--- a/rdf.jena.serializer/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.SerializingProvider
+++ /dev/null
@@ -1 +0,0 @@
-org.apache.clerezza.rdf.jena.serializer.JenaSerializerProvider
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.jena.serializer/src/test/java/org/apache/clerezza/rdf/jena/serializer/TestJenaSerializerProvider.java
----------------------------------------------------------------------
diff --git a/rdf.jena.serializer/src/test/java/org/apache/clerezza/rdf/jena/serializer/TestJenaSerializerProvider.java b/rdf.jena.serializer/src/test/java/org/apache/clerezza/rdf/jena/serializer/TestJenaSerializerProvider.java
deleted file mode 100644
index 073a0c7..0000000
--- a/rdf.jena.serializer/src/test/java/org/apache/clerezza/rdf/jena/serializer/TestJenaSerializerProvider.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- * 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.
- */
-package org.apache.clerezza.rdf.jena.serializer;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.io.InputStream;
-
-import org.junit.Assert;
-import org.junit.Test;
-import org.apache.clerezza.rdf.core.Graph;
-import org.apache.clerezza.rdf.core.MGraph;
-import org.apache.clerezza.rdf.core.impl.SimpleMGraph;
-import org.apache.clerezza.rdf.core.serializedform.SerializingProvider;
-import org.apache.clerezza.rdf.jena.facade.JenaGraph;
-
-import com.hp.hpl.jena.rdf.model.Model;
-import com.hp.hpl.jena.rdf.model.ModelFactory;
-import org.apache.clerezza.rdf.core.BNode;
-import org.apache.clerezza.rdf.core.LiteralFactory;
-import org.apache.clerezza.rdf.core.UriRef;
-import org.apache.clerezza.rdf.core.impl.TripleImpl;
-
-/**
- * Serializes a Graph to different formats
- * 
- * @author mir
- */
-public class TestJenaSerializerProvider {
-
-    private MGraph mGraph;
-
-    private void initializeGraph() {
-        mGraph = new SimpleMGraph();
-        com.hp.hpl.jena.graph.Graph graph = new JenaGraph(mGraph);
-        Model model = ModelFactory.createModelForGraph(graph);
-        // create the resource
-        // and add the properties cascading style
-        String URI = "http://example.org/";
-        model.createResource(URI + "A").addProperty(
-                model.createProperty(URI + "B"), "C").addProperty(
-                model.createProperty(URI + "D"),
-                model.createResource().addProperty(
-                        model.createProperty(URI + "E"), "F").addProperty(
-                        model.createProperty(URI + "G"), "H"));
-        mGraph.add(new TripleImpl(new UriRef("http://foo/bar"),
-                new UriRef("http://foo/bar"),
-                LiteralFactory.getInstance().createTypedLiteral("foo")));
-        mGraph.add(new TripleImpl(new UriRef("http://foo/bar"),
-                new UriRef("http://foo/bar"),
-                LiteralFactory.getInstance().createTypedLiteral(54675)));
-        mGraph.add(new TripleImpl(new BNode(),
-                new UriRef("http://foo/bar"),
-                new UriRef("http://foo/bar")));
-    }
-
-    /*
-     * Serialize Graph to turtle format and deserialize.
-     */
-    @Test
-    public void testTurtleSerializer() {
-        initializeGraph();
-        SerializingProvider provider = new JenaSerializerProvider();
-
-        ByteArrayOutputStream serializedGraph = new ByteArrayOutputStream();
-        provider.serialize(serializedGraph, mGraph.getGraph(),
-                "text/turtle");
-        InputStream in = new ByteArrayInputStream(serializedGraph.toByteArray());
-
-        Graph deserializedGraph = parse(in, "TURTLE");
-        // due to http://issues.trialox.org/jira/browse/RDF-6 we cannot just
-        // check
-        // that the two graphs are equals
-        Assert.assertEquals(deserializedGraph.size(), mGraph.getGraph().size());
-        Assert.assertEquals(deserializedGraph.hashCode(), mGraph.getGraph()
-                .hashCode());
-        // isomorphism delegated to jena
-        JenaGraph jenaGraphFromNTriples = new JenaGraph(deserializedGraph);
-        JenaGraph jenaGraphFromTurtle = new JenaGraph(mGraph.getGraph());
-        Assert.assertTrue(jenaGraphFromNTriples
-                .isIsomorphicWith(jenaGraphFromTurtle));
-    }
-
-    @Test
-    public void testTurtleSerializerWithParam() {
-        initializeGraph();
-        SerializingProvider provider = new JenaSerializerProvider();
-
-        ByteArrayOutputStream serializedGraph = new ByteArrayOutputStream();
-        provider.serialize(serializedGraph, mGraph.getGraph(),
-                "text/turtle;param=test");
-        InputStream in = new ByteArrayInputStream(serializedGraph.toByteArray());
-
-        Graph deserializedGraph = parse(in, "TURTLE");
-        Assert.assertEquals(mGraph.getGraph(), deserializedGraph);
-
-    }
-
-    
-    /*
-     * Serialize Graph to rdf+xml format and deserialize.
-     */
-    @Test
-    public void testRdfXmlSerializer() {
-        initializeGraph();
-
-        SerializingProvider provider = new JenaSerializerProvider();
-
-        ByteArrayOutputStream serializedGraph = new ByteArrayOutputStream();
-        provider.serialize(serializedGraph, mGraph.getGraph(),
-                "application/rdf+xml");
-        InputStream in = new ByteArrayInputStream(serializedGraph.toByteArray());
-
-        Graph deserializedGraph = parse(in, "RDF/XML-ABBREV");
-        Assert.assertEquals(mGraph.getGraph(), deserializedGraph);
-    }
-
-    /*
-     * Serialize Graph to rdf+nt format and deserialize.
-     */
-    @Test
-    public void testRdfNtSerializer() {
-        initializeGraph();
-        SerializingProvider provider = new JenaSerializerProvider();
-
-        ByteArrayOutputStream serializedGraph = new ByteArrayOutputStream();
-        provider.serialize(serializedGraph, mGraph.getGraph(), "application/n-triples");
-        InputStream in = new ByteArrayInputStream(serializedGraph.toByteArray());
-
-        Graph deserializedGraph = parse(in, "N-TRIPLE");
-        Assert.assertEquals(mGraph.getGraph(), deserializedGraph);
-    }
-
-    /*
-     * Serialize Graph to rdf+n3 format and deserialize.
-     */
-    @Test
-    public void testRdfN3Serializer() {
-        initializeGraph();
-        SerializingProvider provider = new JenaSerializerProvider();
-
-        ByteArrayOutputStream serializedGraph = new ByteArrayOutputStream();
-        provider.serialize(serializedGraph, mGraph.getGraph(), "text/rdf+n3");
-        InputStream in = new ByteArrayInputStream(serializedGraph.toByteArray());
-
-        Graph deserializedGraph = parse(in, "N3");
-        Assert.assertEquals(mGraph.getGraph(), deserializedGraph);
-    }
-
-    private Graph parse(InputStream serializedGraph, String jenaFormat) {
-        MGraph mResult = new SimpleMGraph();
-        com.hp.hpl.jena.graph.Graph graph = new JenaGraph(mResult);
-        Model model = ModelFactory.createModelForGraph(graph);
-        String base = "urn:x-relative:";
-        model.read(serializedGraph, base, jenaFormat);
-        return mResult.getGraph();
-    }
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.metadata/LICENSE
----------------------------------------------------------------------
diff --git a/rdf.metadata/LICENSE b/rdf.metadata/LICENSE
deleted file mode 100644
index 261eeb9..0000000
--- a/rdf.metadata/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.metadata/pom.xml
----------------------------------------------------------------------
diff --git a/rdf.metadata/pom.xml b/rdf.metadata/pom.xml
deleted file mode 100644
index 0f5072d..0000000
--- a/rdf.metadata/pom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-<!--
-
- 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.
-
--->
-
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <artifactId>clerezza</artifactId>
-        <groupId>org.apache.clerezza</groupId>
-        <version>0.5</version>
-        <relativePath>../parent</relativePath>
-    </parent>
-    <groupId>org.apache.clerezza</groupId>
-    <artifactId>rdf.metadata</artifactId>
-    <packaging>bundle</packaging>
-    <version>1.0.0-SNAPSHOT</version>
-    <name>Clerezza - SCB Metadata</name>
-    <description>An interface that specifies how to create meta data about data
-    depending on its media type.</description>
-    <dependencies>
-        <dependency>
-            <groupId>javax.ws.rs</groupId>
-            <artifactId>jsr311-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.clerezza</groupId>
-            <artifactId>rdf.utils</artifactId>
-            <version>0.14</version>
-        </dependency>
-    </dependencies>
-</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.metadata/src/main/java/org/apache/clerezza/rdf/metadata/MetaDataGenerator.java
----------------------------------------------------------------------
diff --git a/rdf.metadata/src/main/java/org/apache/clerezza/rdf/metadata/MetaDataGenerator.java b/rdf.metadata/src/main/java/org/apache/clerezza/rdf/metadata/MetaDataGenerator.java
deleted file mode 100644
index 6d74a04..0000000
--- a/rdf.metadata/src/main/java/org/apache/clerezza/rdf/metadata/MetaDataGenerator.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * 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.
- */
-
-package org.apache.clerezza.rdf.metadata;
-
-import javax.ws.rs.core.MediaType;
-import org.apache.clerezza.rdf.utils.GraphNode;
-
-/**
- * An implementation of <code>MetaDataGenerator</code> generates meta data
- * about specified data depending on its media type.
- *
- * @author mir
- */
-public interface MetaDataGenerator {
-
-    /**
-     * Generates meta data about the specified bytes depending on its mediaType.
-     * The meta data will be added to the specified graph node.
-     * @param node The graph node to which the meta data will be added
-     * @param data The data from which the meta data is generated
-     * @param mediaType The media type of the data
-     */
-    public void generate(GraphNode node, byte[] data, MediaType mediaType);
-    
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/pom.xml
----------------------------------------------------------------------
diff --git a/rdf.rdfa/pom.xml b/rdf.rdfa/pom.xml
deleted file mode 100644
index 036e38f..0000000
--- a/rdf.rdfa/pom.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
-
- 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.
-
---><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <artifactId>clerezza</artifactId>
-        <groupId>org.apache.clerezza</groupId>
-        <version>0.5</version>
-        <relativePath>../parent</relativePath>
-    </parent>
-    <groupId>org.apache.clerezza</groupId>
-    <artifactId>rdf.rdfa</artifactId>
-    <packaging>bundle</packaging>
-    <version>1.0.0-SNAPSHOT</version>
-    <name>Clerezza - SCB RDFa parsing support</name>
-    <description>
-        A SAX-based parser for RDFa 
-    </description>
-    <inceptionYear>2010</inceptionYear>
-    <developers>
-        <developer>
-            <name>Henry Story</name>
-            <email>henry.story@bblfish.net</email>
-            <organization>Sun Microsystems</organization>
-            <organizationUrl>http://sun.com/</organizationUrl>
-        </developer>
-    </developers>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.clerezza</groupId>
-            <artifactId>rdf.core</artifactId>
-            <version>0.14</version>
-        </dependency>
-        <dependency>
-            <groupId>net.rootdev</groupId>
-            <artifactId>java-rdfa</artifactId>
-            <exclusions>
-                <exclusion>
-                    <artifactId>log4j</artifactId>
-                    <groupId>log4j</groupId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>net.rootdev</groupId>
-            <artifactId>java-rdfa-htmlparser</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>nu.validator.htmlparser</groupId>
-            <artifactId>htmlparser</artifactId>
-            <version>1.2.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.scr.annotations</artifactId>
-        </dependency>
-        <!-- see http://weblogs.java.net/blog/kohsuke/archive/2009/03/my_project_of_t.html
-        not in central repo
-        <dependency>
-            <groupId>org.kohsuke.metainf-services</groupId>
-            <artifactId>metainf-services</artifactId>
-            <version>1.1</version>
-        </dependency> -->
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Embed-Dependency>*;groupId=net.rootdev</Embed-Dependency>
-                        <Embed-Transitive>false</Embed-Transitive>
-                        <Export-Package>
-                        </Export-Package>
-                        <Import-Package>
-                            !com.ibm.uvm.tools,!com.thoughtworks.qdox.model,
-                            !javax.microedition.io,!javax.persistence,!nu.xom,
-                            !org.apache.felix.*,!org.mozilla.*,
-                            !nu.validator.saxtree,
-                            *
-                        </Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaRDFaParser.java
----------------------------------------------------------------------
diff --git a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaRDFaParser.java b/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaRDFaParser.java
deleted file mode 100644
index ab3b8e2..0000000
--- a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaRDFaParser.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * 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.
- */
-package org.apache.clerezza.rdf.rdfa;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-import net.rootdev.javardfa.Parser;
-import org.apache.clerezza.rdf.core.Graph;
-import org.apache.clerezza.rdf.core.MGraph;
-import org.apache.clerezza.rdf.core.UriRef;
-import org.apache.clerezza.rdf.core.impl.SimpleMGraph;
-import org.apache.clerezza.rdf.core.serializedform.ParsingProvider;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-
-/**
- *
- * @author Henry Story <he...@bblfish.net>
- */
-public abstract class ClerezzaRDFaParser implements ParsingProvider {
-
-    private static Logger log = LoggerFactory.getLogger(ClerezzaRDFaParser.class);
-
-
-    @Override
-    public void parse(MGraph target, InputStream in, String formatIdentifier, UriRef baseUri) {
-        try {
-            parse(target, new InputSource(in), baseUri);
-        } catch (IOException e) {
-            throw new RuntimeException(e);
-        }
-    }
-
-    private void parse(MGraph target, InputSource in, UriRef baseURI) throws IOException {
-        Parser parser = new Parser(new ClerezzaStatementSink(target));
-        if (baseURI != null) {
-            parser.setBase(baseURI.getUnicodeString());
-        } else {
-            parser.setBase("urn:x-relative:root");
-        }
-        initParser(parser);
-        try {
-            XMLReader xreader = getReader();
-            xreader.setContentHandler(parser);
-            xreader.parse(in);
-        } catch (SAXException ex) {
-            throw new RuntimeException("SAX Error when parsing", ex);
-        }
-    }
-
-    protected abstract XMLReader getReader() throws SAXException;
-
-    /**
-     * subclasses may override this method to do some specific initialisation of parser
-     * @param parser
-     */
-    protected void initParser(Parser parser) {
-    }
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaStatementSink.java
----------------------------------------------------------------------
diff --git a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaStatementSink.java b/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaStatementSink.java
deleted file mode 100644
index b2ba94a..0000000
--- a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/ClerezzaStatementSink.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * 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.
- */
-package org.apache.clerezza.rdf.rdfa;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import net.rootdev.javardfa.StatementSink;
-import org.apache.clerezza.rdf.core.*;
-import org.apache.clerezza.rdf.core.impl.PlainLiteralImpl;
-import org.apache.clerezza.rdf.core.impl.TripleImpl;
-import org.apache.clerezza.rdf.core.impl.TypedLiteralImpl;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- *
- * @author Henry Story <he...@bblfish.net>
- */
-public class ClerezzaStatementSink implements StatementSink {
-
-    private static Logger log = LoggerFactory.getLogger(ClerezzaStatementSink.class);
-    private Map<String, BNode> bnodeLookup;
-    MGraph mgraph;
-
-    public ClerezzaStatementSink(MGraph mGraph) {
-        this.mgraph = mGraph;
-    }
-
-    @Override
-    public void start() {
-        bnodeLookup = new HashMap<String, BNode>();
-    }
-
-    @Override
-    public void end() {
-        bnodeLookup = null;
-    }
-
-    @Override
-    public void addObject(String subject, String predicate, String object) {
-        mgraph.add(new TripleImpl(transform(subject), new UriRef(predicate), transform(object)));
-    }
-
-    private NonLiteral transform(String nonLiteral) {
-        NonLiteral s;
-        Resource o;
-        if (nonLiteral.startsWith("_:")) {
-            s = bnodeLookup.get(nonLiteral);
-            if (s == null) {
-                s = new BNode();
-                bnodeLookup.put(nonLiteral, (BNode) s);
-            }
-        } else {
-            s = new UriRef(nonLiteral);
-        }
-        return s;
-    }
-
-    @Override
-    public void addLiteral(String subject, String predicate, String lex, String lang, String datatype) {
-        Literal obj;
-        if (datatype == null) {
-            if (lang == null) {
-                obj = new PlainLiteralImpl(lex);
-            } else {
-                obj = new PlainLiteralImpl(lex, new Language(lang));
-            }
-        } else {
-            obj = new TypedLiteralImpl(lex, new UriRef(datatype));
-        }
-        mgraph.add(new TripleImpl(transform(subject), new UriRef(predicate), obj));
-    }
-
-    @Override
-    public void addPrefix(String prefix, String uri) {
-//       try {
-//         handler.handleNamespace(prefix, uri);
-//      } catch (RDFHandlerException rDFHandlerException) {
-//         java.util.logging.Logger.getLogger(ClerezzaStatementSink.class.getName()).log(Level.WARNING, null, rDFHandlerException);
-//      }
-    }
-
-    @Override
-    public void setBase(String base) {
-    }
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/HTMLRDFaParser.java
----------------------------------------------------------------------
diff --git a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/HTMLRDFaParser.java b/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/HTMLRDFaParser.java
deleted file mode 100644
index 1211348..0000000
--- a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/HTMLRDFaParser.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * 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.
- */
-package org.apache.clerezza.rdf.rdfa;
-
-import net.rootdev.javardfa.Parser;
-import net.rootdev.javardfa.Setting;
-import nu.validator.htmlparser.common.XmlViolationPolicy;
-import nu.validator.htmlparser.sax.HtmlParser;
-import org.apache.clerezza.rdf.core.serializedform.ParsingProvider;
-import org.apache.clerezza.rdf.core.serializedform.SupportedFormat;
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.Property;
-import org.apache.felix.scr.annotations.Service;
-import org.xml.sax.XMLReader;
-
-/**
- * @author Henry Story <he...@bblfish.net>
- */
-@Component()
-@Service(ParsingProvider.class)
-@Property(name = "supportedFormat", value = {"text/html"})
-@SupportedFormat("text/html")
-public class HTMLRDFaParser extends ClerezzaRDFaParser {
-
-    @Override
-    public XMLReader getReader() {
-        HtmlParser reader = new HtmlParser();
-        reader.setXmlPolicy(XmlViolationPolicy.ALLOW);
-        reader.setXmlnsPolicy(XmlViolationPolicy.ALLOW);
-        reader.setMappingLangToXmlLang(false);
-        return reader;
-    }
-
-    @Override
-    public void initParser(Parser parser) {
-        parser.enable(Setting.ManualNamespaces);
-    }
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/XHTMLRDFaParser.java
----------------------------------------------------------------------
diff --git a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/XHTMLRDFaParser.java b/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/XHTMLRDFaParser.java
deleted file mode 100644
index 9e4c1e5..0000000
--- a/rdf.rdfa/src/main/java/org/apache/clerezza/rdf/rdfa/XHTMLRDFaParser.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * 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.
- */
-package org.apache.clerezza.rdf.rdfa;
-
-import org.apache.clerezza.rdf.core.serializedform.ParsingProvider;
-import org.apache.clerezza.rdf.core.serializedform.SupportedFormat;
-import org.apache.felix.scr.annotations.Component;
-import org.apache.felix.scr.annotations.Property;
-import org.apache.felix.scr.annotations.Service;
-import org.xml.sax.SAXException;
-import org.xml.sax.XMLReader;
-import org.xml.sax.helpers.XMLReaderFactory;
-
-/**
- *
- * @author Henry Story <he...@bblfish.net>
- */
-@Component()
-@Service(ParsingProvider.class)
-@Property(name = "supportedFormat", value = {"application/xhtml+xml"})
-@SupportedFormat("application/xhtml+xml")
-public class XHTMLRDFaParser extends ClerezzaRDFaParser {
-
-    @Override
-    public XMLReader getReader() throws SAXException {
-        XMLReader reader = XMLReaderFactory.createXMLReader();
-        reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
-        return reader;
-    }
-}

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.ParsingProvider
----------------------------------------------------------------------
diff --git a/rdf.rdfa/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.ParsingProvider b/rdf.rdfa/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.ParsingProvider
deleted file mode 100644
index e32f74f..0000000
--- a/rdf.rdfa/src/main/resources/META-INF/services/org.apache.clerezza.rdf.core.serializedform.ParsingProvider
+++ /dev/null
@@ -1,2 +0,0 @@
-org.apache.clerezza.rdf.rdfa.HTMLRDFaParser
-org.apache.clerezza.rdf.rdfa.XHTMLRDFaParser

http://git-wip-us.apache.org/repos/asf/clerezza/blob/05879362/rdf.rdfa/src/test/resources/1.ttl
----------------------------------------------------------------------
diff --git a/rdf.rdfa/src/test/resources/1.ttl b/rdf.rdfa/src/test/resources/1.ttl
deleted file mode 100644
index fd3ba19..0000000
--- a/rdf.rdfa/src/test/resources/1.ttl
+++ /dev/null
@@ -1,445 +0,0 @@
-@prefix cert: <http://www.w3.org/ns/auth/cert#> .
-@prefix dc: <http://purl.org/dc/terms/> .
-@prefix demiblog: <http://ontologi.es/demiblog#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix google: <http://rdf.data-vocabulary.org/#> .
-@prefix iso8601: <urn:iso:std:iso:8601#> .
-@prefix og: <http://opengraphprotocol.org/schema/> .
-@prefix ogp: <http://opengraphprotocol.org/schema/> .
-@prefix ov: <http://open.vocab.org/terms/> .
-@prefix owl: <http://www.w3.org/2002/07/owl#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix rsa: <http://www.w3.org/ns/auth/rsa#> .
-@prefix rss: <http://purl.org/rss/1.0/> .
-@prefix sioc: <http://rdfs.org/sioc/ns#> .
-@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
-@prefix status: <http://ontologi.es/status#> .
-@prefix tags: <http://www.holygoat.co.uk/owl/redwood/0.1/tags/> .
-@prefix this: <http://tobyinkster.co.uk/#> .
-@prefix v: <http://rdf.data-vocabulary.org/#> .
-@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
-@prefix wot: <http://xmlns.com/wot/0.1/> .
-@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
-@prefix xml: <http://www.w3.org/XML/1998/namespace> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-
-
-<http://identi.ca/notice/6214301> rss:title "tobyink: My website <http://tobyinkster.co.uk/> is now running #demiblog3 <http://demiblog.org/>. A lot faster than previous CMS." ;
-     sioc:links_to <http://tobyinkster.co.uk/> ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://identi.ca/notice/6214301> . 
-
-<http://tobyinkster.co.uk/?format=text%2fhtml> xhv:stylesheet <http://tobyinkster.co.uk/styles/screen.css> . 
-
-<http://tobyinkster.co.uk/_blog/> xhv:alternate <http://tobyinkster.co.uk/_blog/?format=application%2fatom%2bxml>, <http://tobyinkster.co.uk/_blog/?format=application%2frss%2bxml> . 
-
-<http://tobyinkster.co.uk/pgp/X509_B0-25-11-2E-AF-78-11-F9-68-59-3B-BC-BC-79-5C-FF-5A-91-58-C0.pem> rdfs:label "B0:25:11:2E:AF:78:11:F9:68:59:3B:BC:BC:79:5C:FF:5A:91:58:C0" ;
-     cert:public_key this:key_rsa_B025112EAF7811F968593BBCBC795CFF5A9158C0 . 
-
-<http://alpha.libre.fm/user/tobyink#acct> a sioc:UserAccount ;
-     sioc:account_of this:i ;
-     foaf:accountName "tobyink" ;
-     foaf:accountProfilePage <http://alpha.libre.fm/user/tobyink> . 
-
-<http://buzzword.org.uk/> dc:creator this:i ;
-     foaf:maker this:i . 
-
-<http://identi.ca/user/36737#acct> a sioc:UserAccount ;
-     sioc:account_of this:i ;
-     foaf:accountName "tobyink" ;
-     foaf:accountProfilePage <http://identi.ca/tobyink> . 
-
-<http://ontologi.es/> dc:creator this:i ;
-     foaf:maker this:i . 
-
-status:Standard rdfs:label "Standard" ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://ontologi.es/status%23Standard> . 
-
-rss:item rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://purl.org/rss/1.0/item> . 
-
-<http://rdfa.check.info/> dc:creator this:i ;
-     foaf:maker this:i . 
-
-sioc:Item rdfs:label "Item"@en ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://rdfs.org/sioc/ns%23Item> . 
-
-<http://tobyinkster.co.uk> rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://tobyinkster.co.uk> ;
-     owl:sameAs <http://tobyinkster.co.uk/> ;
-     foaf:primaryTopic this:i . 
-
-<http://tobyinkster.co.uk/#accounts/CPAN> sioc:account_of this:i ;
-     foaf:accountProfilePage <http://search.cpan.org/~tobyink/> . 
-
-<http://tobyinkster.co.uk/#accounts/FOAF-Wiki> sioc:account_of this:i ;
-     foaf:accountName "TobyInk" ;
-     foaf:accountProfilePage <http://wiki.foaf-project.org/w/User:TobyInk> . 
-
-<http://tobyinkster.co.uk/#accounts/GitHub> sioc:account_of this:i ;
-     foaf:accountName "tobyink" ;
-     foaf:accountProfilePage <http://github.com/tobyink> . 
-
-<http://tobyinkster.co.uk/#accounts/PerlMonks> sioc:account_of this:i ;
-     foaf:accountName "tobyink" ;
-     foaf:accountProfilePage <http://www.perlmonks.org/?node=tobyink> . 
-
-<http://tobyinkster.co.uk/#accounts/SIOC-Wiki> sioc:account_of this:i ;
-     foaf:accountName "TobyInk" ;
-     foaf:accountProfilePage <http://wiki.sioc-project.org/index.php/User:TobyInk> . 
-
-<http://tobyinkster.co.uk/#accounts/W3C-Wiki-ESW> sioc:account_of this:i ;
-     foaf:accountName "Tinkster" ;
-     foaf:accountProfilePage <http://esw.w3.org/User:Tinkster> . 
-
-<http://tobyinkster.co.uk/#accounts/W3C-Wiki-RDFaWG> sioc:account_of this:i ;
-     foaf:accountName "Tinkster" ;
-     foaf:accountProfilePage <http://www.w3.org/2010/02/rdfa/wiki/User:Tinkster> . 
-
-<http://tobyinkster.co.uk/#accounts/W3C-Wiki-SWIG> sioc:account_of this:i ;
-     foaf:accountName "Tinkster" ;
-     foaf:accountProfilePage <http://www.w3.org/2001/sw/wiki/User:Tinkster> . 
-
-<http://tobyinkster.co.uk/#accounts/W3C-Wiki-SWXG> sioc:account_of this:i ;
-     foaf:accountName "Tinkster" ;
-     foaf:accountProfilePage <http://www.w3.org/2005/Incubator/socialweb/wiki/User:Tinkster> . 
-
-<http://tobyinkster.co.uk/#accounts/Wikipedia> sioc:account_of this:i ;
-     foaf:accountName "Tobyink" ;
-     foaf:accountProfilePage <http://en.wikipedia.org/wiki/User:Tobyink> . 
-
-<http://tobyinkster.co.uk/#accounts/gitorious> sioc:account_of this:i ;
-     foaf:accountName "tobyink" ;
-     foaf:accountProfilePage <http://gitorious.com/~tobyink> . 
-
-<http://tobyinkster.co.uk/#accounts/microformats.org-Wiki> sioc:account_of this:i ;
-     foaf:accountName "TobyInk" ;
-     foaf:accountProfilePage <http://microformats.org/wiki/User:TobyInk> . 
-
-<http://tobyinkster.co.uk/#accounts/ohloh> sioc:account_of this:i ;
-     foaf:accountName "tobyink" ;
-     foaf:accountProfilePage <http://www.ohloh.net/accounts/tobyink> . 
-
-<http://tobyinkster.co.uk/#accounts/rdfa.info-Wiki> sioc:account_of this:i ;
-     foaf:accountName "TobyInk" ;
-     foaf:accountProfilePage <http://rdfa.info/wiki/User:TobyInk> . 
-
-this:key_pgp_6A2A7D39 wot:fingerprint "5524 A8FF E3EB 3ACF 85B3  36E8 CEBF 8128 6A2A 7D39" ;
-     wot:hex_id "6A2A7D39" ;
-     wot:identity this:i ;
-     wot:length "768" ;
-     wot:pubkeyAddress <http://tobyinkster.co.uk/pgp/6A2A7D39> . 
-
-this:key_pgp_C3881954 dc:valid "P1Y/2010-02-03"^^iso8601:timeInterval ;
-     wot:fingerprint "A8B1 AEC7 8D00 40DD 5D03  0241 6042 C04C C388 1954" ;
-     wot:hex_id "C3881954" ;
-     wot:identity this:i ;
-     wot:length "4096" ;
-     wot:pubkeyAddress <http://tobyinkster.co.uk/pgp/C3881954> . 
-
-this:key_rsa_B025112EAF7811F968593BBCBC795CFF5A9158C0 a rsa:RSAPublicKey ;
-     dc:valid "P1Y/2013-06-22"^^iso8601:timeInterval ;
-     cert:identity this:i ;
-     rsa:modulus """d08e f5e3 e41d fef0 775d 8857 8a64 7566
-fab0 c89a 6305 5ee5 ea67 730c 0046 bc48
-a117 e4c1 7ac1 92f5 7e6c 4f63 8d34 0338
-360d 78b2 0f8a 79d9 1007 de20 f12c 6a1b
-c5c3 cf30 03c8 1411 cd1b 8e11 fd06 3970
-2625 aaf5 2cdc 1929 bbd0 2075 d669 2404
-390c 7f2d 8dfc 98fa 51e0 f779 68b8 eed0
-81db 781c c874 5c2f 31bf ac9d 960f c94f"""^^cert:hex ;
-     rsa:public_exponent "65537"^^cert:int . 
-
-<http://tobyinkster.co.uk/*i> rdfs:label "Toby Inkster" . 
-
-<http://tobyinkster.co.uk/_describe?uri=http://ontologi.es/status%23Standard> rdfs:label "Standard" . 
-
-<http://tobyinkster.co.uk/_describe?uri=http://rdfs.org/sioc/ns%23Item> rdfs:label "Item" . 
-
-<http://tobyinkster.co.uk/_describe?uri=http://www.lingvoj.org/lingvo/en-gb> rdfs:label "English (GB)" . 
-
-<http://tobyinkster.co.uk/_describe?uri=http://xmlns.com/foaf/0.1/Document> rdfs:label "Document" . 
-
-<http://tobyinkster.co.uk/_describe?uri=http://xmlns.com/foaf/0.1/PersonalProfileDocument> rdfs:label "PersonalProfileDocument" . 
-
-<http://tobyinkster.co.uk/rdf/foaf#me> owl:sameAs this:i . 
-
-<http://tobyinkster.co.uk/~tobyink/#> owl:sameAs this:i . 
-
-<http://www.lingvoj.org/lingvo/en-gb> rdfs:label "English (GB)"@en-gb ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://www.lingvoj.org/lingvo/en-gb> . 
-
-foaf:PersonalProfileDocument rdfs:label "PersonalProfileDocument" ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://xmlns.com/foaf/0.1/PersonalProfileDocument> . 
-
-<irc://irc.freenode.net/tobyink,isnick> a foaf:OnlineChatAccount ;
-     foaf:accountName "tobyink" ;
-     foaf:accountServiceHomepage <http://freenode.net/> . 
-
-<http://alpha.libre.fm/user/tobyink> dc:contributor this:i ;
-     foaf:primaryTopic this:i . 
-
-<http://dbpedia.org/resource/Atheism> rdfs:label "Atheism" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Atheism> ;
-     foaf:page <http://en.wikipedia.org/wiki/Atheism> . 
-
-<http://dbpedia.org/resource/East_Sussex> rdfs:label "East Sussex" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/East_Sussex> ;
-     foaf:page <http://en.wikipedia.org/wiki/East_Sussex> . 
-
-<http://dbpedia.org/resource/Free_software> rdfs:label "Free software" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Free_software> ;
-     foaf:page <http://en.wikipedia.org/wiki/Free_software> . 
-
-<http://dbpedia.org/resource/Liberalism> rdfs:label "Liberalism" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Liberalism> ;
-     foaf:page <http://en.wikipedia.org/wiki/Liberalism> . 
-
-<http://dbpedia.org/resource/PHP> rdfs:label "PHP" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/PHP> ;
-     foaf:page <http://en.wikipedia.org/wiki/PHP> . 
-
-<http://dbpedia.org/resource/Perl> rdfs:label "Perl" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Perl> ;
-     foaf:page <http://en.wikipedia.org/wiki/Perl> . 
-
-<http://dbpedia.org/resource/Semantic_Web> rdfs:label "Semantic Web" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Semantic_Web> ;
-     foaf:page <http://en.wikipedia.org/wiki/Semantic_Web> . 
-
-<http://dbpedia.org/resource/Slow_Food> rdfs:label "Slow Food" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Slow_Food> ;
-     foaf:page <http://en.wikipedia.org/wiki/Slow_Food> . 
-
-<http://dbpedia.org/resource/Social_web#The_Social_Web_as_a_future_network> rdfs:label "The Social Web as a future network" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/Social_web#The_Social_Web_as_a_future_network> ;
-     foaf:page <http://en.wikipedia.org/wiki/Social_web#The_Social_Web_as_a_future_network> . 
-
-<http://dbpedia.org/resource/W3C#Standards> rdfs:label "W3C Standards" ;
-     foaf:isPrimaryTopicOf <http://en.wikipedia.org/wiki/W3C#Standards> ;
-     foaf:page <http://en.wikipedia.org/wiki/W3C#Standards> . 
-
-<http://en.wikipedia.org/wiki/User:Tobyink> foaf:primaryTopic this:i . 
-
-<http://esw.w3.org/User:Tinkster> foaf:primaryTopic this:i . 
-
-<http://github.com/tobyink> foaf:primaryTopic this:i . 
-
-<http://gitorious.com/~tobyink> foaf:primaryTopic this:i . 
-
-<http://microformats.org/wiki/User:TobyInk> foaf:primaryTopic this:i . 
-
-<http://rdfa.info/wiki/User:TobyInk> foaf:primaryTopic this:i . 
-
-<http://search.cpan.org/~tobyink/> foaf:primaryTopic this:i . 
-
-this:home_lewes a v:Address ;
-     v:country-name "UK" ;
-     v:locality "Lewes" ;
-     v:region "East Sussex" . 
-
-<http://tobyinkster.co.uk/blog/> dc:creator this:i ;
-     foaf:maker this:i . 
-
-<http://tobyinkster.co.uk/licence/c> rdfs:label "All rights reserved" ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/licence/c> . 
-
-<http://tobyinkster.co.uk/tag/colophon/#concept> rdfs:label "colophon"@en-gb ;
-     tags:name "colophon"@en-gb ;
-     skos:prefLabel "colophon"@en-gb . 
-
-<http://tobyinkster.co.uk/tag/homepage/#concept> rdfs:label "homepage"@en-gb ;
-     tags:name "homepage"@en-gb ;
-     skos:prefLabel "homepage"@en-gb . 
-
-<http://tobyinkster.co.uk/tag/toby-inkster/#concept> rdfs:label "toby-inkster"@en-gb ;
-     tags:name "toby-inkster"@en-gb ;
-     skos:prefLabel "toby-inkster"@en-gb . 
-
-<http://wiki.foaf-project.org/w/User:TobyInk> foaf:primaryTopic this:i . 
-
-<http://wiki.sioc-project.org/index.php/User:TobyInk> foaf:primaryTopic this:i . 
-
-<http://www.gravatar.com/avatar/c42f5f533d5e2032aae76abe2eb3584b?s=128> foaf:depicts this:i . 
-
-<http://www.ohloh.net/accounts/tobyink> foaf:primaryTopic this:i . 
-
-<http://www.perlmonks.org/?node=tobyink> foaf:primaryTopic this:i . 
-
-<http://www.w3.org/2001/sw/wiki/User:Tinkster> foaf:primaryTopic this:i . 
-
-<http://www.w3.org/2005/Incubator/socialweb/wiki/User:Tinkster> foaf:primaryTopic this:i . 
-
-<http://www.w3.org/2010/02/rdfa/wiki/User:Tinkster> foaf:primaryTopic this:i . 
-
-<http://en.wikipedia.org/wiki/Atheism> a foaf:Document ;
-     dc:title "Atheism" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Atheism> . 
-
-<http://en.wikipedia.org/wiki/East_Sussex> a foaf:Document ;
-     dc:title "East Sussex" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/East_Sussex> . 
-
-<http://en.wikipedia.org/wiki/Free_software> a foaf:Document ;
-     dc:title "Free software" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Free_software> . 
-
-<http://en.wikipedia.org/wiki/Liberalism> a foaf:Document ;
-     dc:title "Liberalism" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Liberalism> . 
-
-<http://en.wikipedia.org/wiki/PHP> a foaf:Document ;
-     dc:title "PHP" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/PHP> . 
-
-<http://en.wikipedia.org/wiki/Perl> a foaf:Document ;
-     dc:title "Perl" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Perl> . 
-
-<http://en.wikipedia.org/wiki/Semantic_Web> a foaf:Document ;
-     dc:title "Semantic Web" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Semantic_Web> . 
-
-<http://en.wikipedia.org/wiki/Slow_Food> a foaf:Document ;
-     dc:title "Slow Food" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Slow_Food> . 
-
-<http://en.wikipedia.org/wiki/Social_web#The_Social_Web_as_a_future_network> a foaf:Document ;
-     dc:title "Social Web — The Social Web as a Future Network" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/Social_web#The_Social_Web_as_a_future_network> . 
-
-<http://en.wikipedia.org/wiki/W3C#Standards> a foaf:Document ;
-     dc:title "W3C — Standards" ;
-     foaf:primaryTopic <http://dbpedia.org/resource/W3C#Standards> . 
-
-<http://identi.ca/tobyink> dc:contributor this:i ;
-     foaf:primaryTopic this:i . 
-
-<http://tobyinkster.co.uk/> a
-         rss:item,
-         sioc:Item,
-         foaf:Document,
-         foaf:PersonalProfileDocument ;
-     rdfs:label "Toby Inkster"@en-gb ;
-     status:status status:Standard ;
-     ov:creatorUserAgent "dbvis/6.0.11" ;
-     og:country-name "UK" ;
-     og:email "mail@tobyinkster.co.uk" ;
-     og:image "http://www.gravatar.com/avatar/c42f5f533d5e2032aae76abe2eb3584b?s=128" ;
-     og:locality "Lewes" ;
-     og:phone_number "+44 7855 833657" ;
-     og:region "East Sussex" ;
-     og:title "Toby Inkster" ;
-     og:type "person" ;
-     og:url "http://tobyinkster.co.uk/" ;
-     dc:created "2007-04-06T18:03:44+01:00"^^xsd:dateTime ;
-     dc:creator this:i ;
-     dc:dateAccepted "2007-04-06T18:03:44+01:00"^^xsd:dateTime ;
-     dc:identifier "111"^^demiblog:article_id ;
-     dc:issued "2007-04-06T18:03:44+01:00"^^xsd:dateTime ;
-     dc:language <http://www.lingvoj.org/lingvo/en-gb> ;
-     dc:license <http://tobyinkster.co.uk/licence/c> ;
-     dc:modified "2010-05-28T15:11:44+01:00"^^xsd:dateTime ;
-     dc:publisher this:i ;
-     dc:rightsHolder this:i ;
-     dc:subject <http://tobyinkster.co.uk/tag/colophon/#concept>, <http://tobyinkster.co.uk/tag/homepage/#concept>, <http://tobyinkster.co.uk/tag/toby-inkster/#concept> ;
-     dc:title "Toby Inkster"@en-gb ;
-     rss:link "http://tobyinkster.co.uk/" ;
-     rss:title "Toby Inkster"@en-gb ;
-     sioc:ip_address "127.0.0.1" ;
-     tags:taggedWithTag <http://tobyinkster.co.uk/tag/colophon/#concept>, <http://tobyinkster.co.uk/tag/homepage/#concept>, <http://tobyinkster.co.uk/tag/toby-inkster/#concept> ;
-     xhv:alternate <http://tobyinkster.co.uk/_OEmbedProxy?url=http%3A%2F%2Ftobyinkster.co.uk%2F&format=json>, <http://tobyinkster.co.uk/_OEmbedProxy?url=http%3A%2F%2Ftobyinkster.co.uk%2F&format=xml> ;
-     xhv:meta <http://tobyinkster.co.uk/?format=application%2Frdf%2Bxml> ;
-     owl:sameAs <http://tobyinkster.co.uk> ;
-     foaf:maker this:i ;
-     foaf:primaryTopic this:i . 
-
-foaf:Document rdfs:label "Document" ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/_describe?uri=http://xmlns.com/foaf/0.1/Document> . 
-
-this:i a v:Person, foaf:Person ;
-     rdfs:label "Toby Inkster" ;
-     v:address this:home_lewes ;
-     v:name "Toby Inkster" ;
-     v:tel <si...@ekiga.net>, <tel:+44-7855-833657> ;
-     v:url <http://tobyinkster.co.uk/> ;
-     rdfs:seeAlso <http://tobyinkster.co.uk/*i> ;
-     owl:sameAs <http://tobyinkster.co.uk/rdf/foaf#me>, <http://tobyinkster.co.uk/~tobyink/#> ;
-     vcard:fn "Toby Inkster" ;
-     foaf:account
-         <http://alpha.libre.fm/user/tobyink#acct>,
-         <http://identi.ca/user/36737#acct>,
-         <http://tobyinkster.co.uk/#accounts/CPAN>,
-         <http://tobyinkster.co.uk/#accounts/FOAF-Wiki>,
-         <http://tobyinkster.co.uk/#accounts/GitHub>,
-         <http://tobyinkster.co.uk/#accounts/PerlMonks>,
-         <http://tobyinkster.co.uk/#accounts/SIOC-Wiki>,
-         <http://tobyinkster.co.uk/#accounts/W3C-Wiki-ESW>,
-         <http://tobyinkster.co.uk/#accounts/W3C-Wiki-RDFaWG>,
-         <http://tobyinkster.co.uk/#accounts/W3C-Wiki-SWIG>,
-         <http://tobyinkster.co.uk/#accounts/W3C-Wiki-SWXG>,
-         <http://tobyinkster.co.uk/#accounts/Wikipedia>,
-         <http://tobyinkster.co.uk/#accounts/gitorious>,
-         <http://tobyinkster.co.uk/#accounts/microformats.org-Wiki>,
-         <http://tobyinkster.co.uk/#accounts/ohloh>,
-         <http://tobyinkster.co.uk/#accounts/rdfa.info-Wiki>,
-         <irc://irc.freenode.net/tobyink,isnick> ;
-     foaf:aimChatID "inka80" ;
-     foaf:based_near this:home_lewes ;
-     foaf:depiction <http://www.gravatar.com/avatar/c42f5f533d5e2032aae76abe2eb3584b?s=128> ;
-     foaf:homepage <http://identi.ca/tobyink>, <http://tobyinkster.co.uk/> ;
-     foaf:icqChatID "6622880" ;
-     foaf:img <http://www.gravatar.com/avatar/c42f5f533d5e2032aae76abe2eb3584b?s=128> ;
-     foaf:interest
-         <http://en.wikipedia.org/wiki/Atheism>,
-         <http://en.wikipedia.org/wiki/East_Sussex>,
-         <http://en.wikipedia.org/wiki/Free_software>,
-         <http://en.wikipedia.org/wiki/Liberalism>,
-         <http://en.wikipedia.org/wiki/PHP>,
-         <http://en.wikipedia.org/wiki/Perl>,
-         <http://en.wikipedia.org/wiki/Semantic_Web>,
-         <http://en.wikipedia.org/wiki/Slow_Food>,
-         <http://en.wikipedia.org/wiki/Social_web#The_Social_Web_as_a_future_network>,
-         <http://en.wikipedia.org/wiki/W3C#Standards> ;
-     foaf:jabberID "tobyink@jabber.linux.it" ;
-     foaf:made
-         <http://buzzword.org.uk/>,
-         <http://goddamn.co.uk/viewvc/>,
-         <http://ontologi.es/>,
-         <http://rdfa.check.info/>,
-         <http://tobyinkster.co.uk/>,
-         <http://tobyinkster.co.uk/blog/> ;
-     foaf:mbox <ma...@tobyinkster.co.uk> ;
-     foaf:name "Toby Inkster" ;
-     foaf:nick "tobyink" ;
-     foaf:openid <http://openid.tobyinkster.co.uk/tobyink>, <http://tobyinkster.co.uk/> ;
-     foaf:page
-         <http://alpha.libre.fm/user/tobyink>,
-         <http://en.wikipedia.org/wiki/User:Tobyink>,
-         <http://esw.w3.org/User:Tinkster>,
-         <http://github.com/tobyink>,
-         <http://gitorious.com/~tobyink>,
-         <http://goddamn.co.uk/viewvc/>,
-         <http://microformats.org/wiki/User:TobyInk>,
-         <http://rdfa.info/wiki/User:TobyInk>,
-         <http://search.cpan.org/~tobyink/>,
-         <http://wiki.foaf-project.org/w/User:TobyInk>,
-         <http://wiki.sioc-project.org/index.php/User:TobyInk>,
-         <http://www.ohloh.net/accounts/tobyink>,
-         <http://www.perlmonks.org/?node=tobyink>,
-         <http://www.w3.org/2001/sw/wiki/User:Tinkster>,
-         <http://www.w3.org/2005/Incubator/socialweb/wiki/User:Tinkster>,
-         <http://www.w3.org/2010/02/rdfa/wiki/User:Tinkster> ;
-     foaf:phone <si...@ekiga.net>, <tel:+44-7855-833657> ;
-     foaf:topic_interest
-         <http://dbpedia.org/resource/Atheism>,
-         <http://dbpedia.org/resource/East_Sussex>,
-         <http://dbpedia.org/resource/Free_software>,
-         <http://dbpedia.org/resource/Liberalism>,
-         <http://dbpedia.org/resource/PHP>,
-         <http://dbpedia.org/resource/Perl>,
-         <http://dbpedia.org/resource/Semantic_Web>,
-         <http://dbpedia.org/resource/Slow_Food>,
-         <http://dbpedia.org/resource/Social_web#The_Social_Web_as_a_future_network>,
-         <http://dbpedia.org/resource/W3C#Standards> ;
-     foaf:weblog <http://identi.ca/tobyink>, <http://tobyinkster.co.uk/blog/> ;
-     foaf:yahooChatID "tobyink" ;
-     wot:hasKey this:key_pgp_6A2A7D39, this:key_pgp_C3881954 .