clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1464148 [16/34] - in /clerezza/site/production: ./ architecture/ architecture/images/ bundle-doc/ bundle-doc/org.apache.clerezza.bundledevtool/ bundle-doc/org.apache.clerezza.bundledevtool/intro-content-el/ bundle-doc/org.apache.clerezza.p...
Date Wed, 03 Apr 2013 18:37:57 GMT
Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,359 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Smart Content Binding
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Smart Content Binding
+</h1>
+<div class="tx-content">
+
+	<div>The RDF support in Apache Clerezza
+</div>
+
+	<div>Smart Content Binding is just the name for the RDFsupport in clerezza.
+</div>
+
+	<div><h2>Overview
+</h2>
+<div class="tx-content">
+
+	<div><h3>Introduction
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			Smart Content Binding (SCB) is an open source framework developed by 
+			clerezza.org aiming primarily at providing a java implementation of the 
+			graph data model specified by W3C RDF  and 
+			functionalities to operate on that data model. SCB offers a service 
+			interface to access multiple named graphs and it can use various 
+			providers to manage RDF graphs in a technology specific manner, e.g., 
+			using Jena <a href="#ref2"> </a> (TBD) or Sesame<a href="#ref3"> </a>. 
+			It also provides façades that allow an application to use Jena or Sesame (TBD) 
+			APIs to process RDF graphs (note that the choice of a façade is independent of
+                        the chosen backend; you can for example use the Jena façade to write
+                        your code against the Jena API while using the Sesame provider to store
+                        your data in a Sesame store). 
+			Furthermore, SCB offers a serialization and a parsing service to convert 
+			a graph into a certain representation (format) and vice versa. In order 
+			to support ontologies usage, SCB provides a tool to convert ontologies 
+			defined in various formats including RDF/XML into Java classes.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Architecture
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			SCB comprises the following architectural components as depicted in Fig. 1:
+		</p>
+		<ul xmlns="http://www.w3.org/1999/xhtml">
+			<li>Core</li>
+			<li>Facades</li>
+			<li>Utilities</li>
+			<li>Storage Providers</li>
+			<li>Parsing Providers</li>
+			<li>Serializing Providers</li>
+			<li>Ontologies Tool</li>
+		</ul>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			<img src="images/scb_architecture.png" alt="SCB Architecture"/>
+			<br/><i>Figure 1: SCB Architecture</i>
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The Core contains interface definitions of the RDF graph data model and its 
+			implementation. The three main classes are <code>Graph</code>, <code>MGraph</code>, 
+			and <code>TripleCollection</code>. The class <code>Graph</code> represents an 
+			immutable RDF Graph, as such its identity criterion is defined in terms of 
+			graph-isomorphism. The class <code>MGraph</code> represents a mutable RDF Graph, 
+			which enables triples to be added to or removed from a graph. The class 
+			<code>TripleCollection</code> is the super class of both the class <code>Graph</code> 
+			and <code>M</code><code></code><code></code><code></code><code></code><code></code><code></code><code></code><code>Graph</code>. 
+			SCB Core provides three services: <code>TcManager</code> [<a href="#ref4">4</a>] allows access to 
+			the various <code>TripleCollection</code>s, <code>Parser</code> [<a href="#ref5">5</a>] and 
+			<code>Serializer</code> [<a href="#ref6">6</a>] to allow reading and writing graphs from and to 
+			various formats. In an OSGi environment these services are accessed using the 
+			service registry or injected using OSGi Declarative Services. In a non OSGi environment 
+			static factory methods are used to return an instance. 
+			The <code>TcManager</code> delegates actual processing tasks to a specific Storage Provider 
+			chosen from a set of Storage Providers based on their priority number (weight). 
+			Storage Providers can be dynamically bound to or unbound from the Core. 
+			The functionality required by the Parser and Serializer is delegated to registered 
+			Parsing and Serializing Providers respectively, according to their capability 
+			(supported formats). Later registered providers shadow previous ones for the same format.
+		</p>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The current implementation of SCB includes a Jena Façade. The Jena Façade allows an 
+			application to use Jena API to manipulate a TC. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			In order to ease operations on a resource in a TC, the Utilities component provides 
+			a class with a set of useful methods, e.g., to delete all triples (statements) with 
+			the resource as subject and a specified predicate. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			Finally, the Ontologies Tool contains a standalone application called SchemaGen to 
+			generate the Java source code with constants from an ontology description.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Artifacts
+</h3>
+<div class="tx-content">		<p xmlns="http://www.w3.org/1999/xhtml">
+			Each architectural component described above comprises one or more artifacts as 
+			listed in Table 1.
+			<br/><br/><i>Table 1: Artifacts of each architectural components</i><br/>
+		</p>
+		<table cellpadding="4" border="1" xmlns="http://www.w3.org/1999/xhtml">
+			<tr>
+				<th>Architectural Component</th>
+				<th>Artifact</th>
+
+				<th>Artifact Type</th>
+			</tr>
+			<tr>
+				<td rowspan="2">Core</td>
+				<td>org.apache.clerezza.rdf.core</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+
+			<tr>
+				<td>org.apache.clerezza.rdf.core.test</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Façades</td>
+				<td>org.apache.clerezza.rdf.jena.facade</td>
+
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Utilities</td>
+				<td>org.apache.clerezza.rdf.utils</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+
+			<tr>
+				<td rowspan="2">Storage Providers</td>
+				<td>org.apache.clerezza.rdf.sesame.storage</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>org.apache.clerezza.rdf.jena.storage</td>
+
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Parsing Providers</td>
+				<td>org.apache.clerezza.rdf.jena.parser</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+
+			<tr>
+				<td>Serializing Providers</td>
+				<td>org.apache.clerezza.rdf.jena.serializer</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Ontologies Tool</td>
+
+				<td>org.apache.clerezza.rdf.tool.schemagen</td>
+				<td>Executable jar</td>
+			</tr>
+		</table>
+
+</div>
+</div>
+
+	<div><h3>Building SCB
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			If you want to build SCB from its sources, you need JDK version 1.6 to compile. 
+			Maven version 2.0.9 has been used to build SCB.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Developing Applications using SCB
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			To develop an application on top of SCB, you need to have the Core and optionally 
+			Utilities and Façades.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Deploying an Application Requiring SCB
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			To deploy an application which uses SCB, Java(TM) SE Runtime Environment 6 or 
+			higher is needed. If the application does not use OSGi, then the SCB Core, 
+			the jars required for compilation, as well as the needed implementations 
+			(typically one provider for storage, serialization, and parsing) must be in 
+			the classpath. If the application uses OSGi, these jars are loaded as bundles, 
+			and to run in OSGi, Declarative Services must be enabled (see the documentation 
+			of your OSGi container). 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+
+			The use of SCB in an OSGi environment has been tested with Apache Felix [<a href="#ref7">7</a>]
+			and Eclipse Equinox [<a href="#ref8">8</a>].
+		</p>
+</div>
+</div>
+
+	<div><h3>Extending and Customizing SCB
+</h3>
+<div class="tx-content">
+
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h2>Developing with SCB
+</h2>
+<div class="tx-content">
+
+	<div>Once you have an overview over SCB the best resource is the javadoc API documentation. The following gives hints and describes best prectices on particular toopics.
+</div>
+
+	<div><h3>When to use locks?
+</h3>
+<div class="tx-content">
+
+	<div>The MGraphs returned by the TcManager are lockable. A LockableMGraph has a getLock()-Method returning a ReadWriteLock. Write-Locks can be used if the applications logic requires it, i.e. when it wants to ensure that the MGraph isn't modified by another thread while some triples are being added or removed bading on the presence or absence of other triples (note that its a violation of the open world assumption if the absence of some triples causes some actions to be done).
+</div>
+
+	<div>Readlocks must be used when multiple threads access an MGraph and a method returning an Iterator is used. In this case a read-lock must be obtained before calling the method on MGraph and released only after the last usage of the returned iterator. Failing to do so may result in ConcurrentModification when another threads modifies the MGraph while we are iterating over it.
+</div>
+
+	<div>Currently (this might change infuture versions), it is also necessary to lock on the MGraphs against which a sparql select queries is directed. The lock on the MGraphs should be kept till iteration over the resultset is compleeted.
+</div>
+
+	<div><h4>How do I create deadlock-safe locks?
+</h4>
+<div class="tx-content">There is no such thing, if you try to get a write-lock withing a read-locked section you'll have a deadlock.
+</div>
+</div>
+
+	<div><h4>What is the best way to Lock a Graph in a service? (the developers, wich use the service know nothing about the lock and set own locks - so the service needs to check something) 
+</h4>
+<div class="tx-content">The service documentation should be clear about which MGarphs the service might be writing to, so the caller can make sure it holds no read-lock on one of these MGraph.
+</div>
+</div>
+
+	<div><h4>Where do I find additional documenation and source-code examples?
+</h4>
+<div class="tx-content">See the documentation and tutorials for the java.util.concurrent.locks package.
+</div>
+</div>
+
+</div>
+</div>
+
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,23 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://clerezza.org/2009/08/documentation#"
+    xmlns:j.1="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="mvn:org.apache.clerezza/rdf.core/0.13-SNAPSHOT">
+    <j.0:documentation rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.1:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-content"/>
+    <j.1:pos>1</j.1:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.1:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding-title"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.1:pos>0</j.1:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding">
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.1:contains rdf:nodeID="A1"/>
+    <j.1:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.core/smart-content-binding.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,359 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Smart Content Binding
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Smart Content Binding
+</h1>
+<div class="tx-content">
+
+	<div>The RDF support in Apache Clerezza
+</div>
+
+	<div>Smart Content Binding is just the name for the RDFsupport in clerezza.
+</div>
+
+	<div><h2>Overview
+</h2>
+<div class="tx-content">
+
+	<div><h3>Introduction
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			Smart Content Binding (SCB) is an open source framework developed by 
+			clerezza.org aiming primarily at providing a java implementation of the 
+			graph data model specified by W3C RDF  and 
+			functionalities to operate on that data model. SCB offers a service 
+			interface to access multiple named graphs and it can use various 
+			providers to manage RDF graphs in a technology specific manner, e.g., 
+			using Jena <a href="#ref2"> </a> (TBD) or Sesame<a href="#ref3"> </a>. 
+			It also provides façades that allow an application to use Jena or Sesame (TBD) 
+			APIs to process RDF graphs (note that the choice of a façade is independent of
+                        the chosen backend; you can for example use the Jena façade to write
+                        your code against the Jena API while using the Sesame provider to store
+                        your data in a Sesame store). 
+			Furthermore, SCB offers a serialization and a parsing service to convert 
+			a graph into a certain representation (format) and vice versa. In order 
+			to support ontologies usage, SCB provides a tool to convert ontologies 
+			defined in various formats including RDF/XML into Java classes.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Architecture
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			SCB comprises the following architectural components as depicted in Fig. 1:
+		</p>
+		<ul xmlns="http://www.w3.org/1999/xhtml">
+			<li>Core</li>
+			<li>Facades</li>
+			<li>Utilities</li>
+			<li>Storage Providers</li>
+			<li>Parsing Providers</li>
+			<li>Serializing Providers</li>
+			<li>Ontologies Tool</li>
+		</ul>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			<img src="images/scb_architecture.png" alt="SCB Architecture"/>
+			<br/><i>Figure 1: SCB Architecture</i>
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The Core contains interface definitions of the RDF graph data model and its 
+			implementation. The three main classes are <code>Graph</code>, <code>MGraph</code>, 
+			and <code>TripleCollection</code>. The class <code>Graph</code> represents an 
+			immutable RDF Graph, as such its identity criterion is defined in terms of 
+			graph-isomorphism. The class <code>MGraph</code> represents a mutable RDF Graph, 
+			which enables triples to be added to or removed from a graph. The class 
+			<code>TripleCollection</code> is the super class of both the class <code>Graph</code> 
+			and <code>M</code><code/><code/><code/><code/><code/><code/><code/><code>Graph</code>. 
+			SCB Core provides three services: <code>TcManager</code> [<a href="#ref4">4</a>] allows access to 
+			the various <code>TripleCollection</code>s, <code>Parser</code> [<a href="#ref5">5</a>] and 
+			<code>Serializer</code> [<a href="#ref6">6</a>] to allow reading and writing graphs from and to 
+			various formats. In an OSGi environment these services are accessed using the 
+			service registry or injected using OSGi Declarative Services. In a non OSGi environment 
+			static factory methods are used to return an instance. 
+			The <code>TcManager</code> delegates actual processing tasks to a specific Storage Provider 
+			chosen from a set of Storage Providers based on their priority number (weight). 
+			Storage Providers can be dynamically bound to or unbound from the Core. 
+			The functionality required by the Parser and Serializer is delegated to registered 
+			Parsing and Serializing Providers respectively, according to their capability 
+			(supported formats). Later registered providers shadow previous ones for the same format.
+		</p>
+
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			The current implementation of SCB includes a Jena Façade. The Jena Façade allows an 
+			application to use Jena API to manipulate a TC. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			In order to ease operations on a resource in a TC, the Utilities component provides 
+			a class with a set of useful methods, e.g., to delete all triples (statements) with 
+			the resource as subject and a specified predicate. 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+			Finally, the Ontologies Tool contains a standalone application called SchemaGen to 
+			generate the Java source code with constants from an ontology description.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Artifacts
+</h3>
+<div class="tx-content">		<p xmlns="http://www.w3.org/1999/xhtml">
+			Each architectural component described above comprises one or more artifacts as 
+			listed in Table 1.
+			<br/><br/><i>Table 1: Artifacts of each architectural components</i><br/>
+		</p>
+		<table cellpadding="4" border="1" xmlns="http://www.w3.org/1999/xhtml">
+			<tr>
+				<th>Architectural Component</th>
+				<th>Artifact</th>
+
+				<th>Artifact Type</th>
+			</tr>
+			<tr>
+				<td rowspan="2">Core</td>
+				<td>org.apache.clerezza.rdf.core</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+
+			<tr>
+				<td>org.apache.clerezza.rdf.core.test</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Façades</td>
+				<td>org.apache.clerezza.rdf.jena.facade</td>
+
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Utilities</td>
+				<td>org.apache.clerezza.rdf.utils</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+
+			<tr>
+				<td rowspan="2">Storage Providers</td>
+				<td>org.apache.clerezza.rdf.sesame.storage</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>org.apache.clerezza.rdf.jena.storage</td>
+
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Parsing Providers</td>
+				<td>org.apache.clerezza.rdf.jena.parser</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+
+			<tr>
+				<td>Serializing Providers</td>
+				<td>org.apache.clerezza.rdf.jena.serializer</td>
+				<td>Jar and OSGi bundle</td>
+			</tr>
+			<tr>
+				<td>Ontologies Tool</td>
+
+				<td>org.apache.clerezza.rdf.tool.schemagen</td>
+				<td>Executable jar</td>
+			</tr>
+		</table>
+
+</div>
+</div>
+
+	<div><h3>Building SCB
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			If you want to build SCB from its sources, you need JDK version 1.6 to compile. 
+			Maven version 2.0.9 has been used to build SCB.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Developing Applications using SCB
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			To develop an application on top of SCB, you need to have the Core and optionally 
+			Utilities and Façades.
+		</p>
+
+</div>
+</div>
+
+	<div><h3>Deploying an Application Requiring SCB
+</h3>
+<div class="tx-content"><p xmlns="http://www.w3.org/1999/xhtml">
+			To deploy an application which uses SCB, Java(TM) SE Runtime Environment 6 or 
+			higher is needed. If the application does not use OSGi, then the SCB Core, 
+			the jars required for compilation, as well as the needed implementations 
+			(typically one provider for storage, serialization, and parsing) must be in 
+			the classpath. If the application uses OSGi, these jars are loaded as bundles, 
+			and to run in OSGi, Declarative Services must be enabled (see the documentation 
+			of your OSGi container). 
+		</p>
+		<p xmlns="http://www.w3.org/1999/xhtml">
+
+			The use of SCB in an OSGi environment has been tested with Apache Felix [<a href="#ref7">7</a>]
+			and Eclipse Equinox [<a href="#ref8">8</a>].
+		</p>
+</div>
+</div>
+
+	<div><h3>Extending and Customizing SCB
+</h3>
+<div class="tx-content">
+
+</div>
+</div>
+
+</div>
+</div>
+
+	<div><h2>Developing with SCB
+</h2>
+<div class="tx-content">
+
+	<div>Once you have an overview over SCB the best resource is the javadoc API documentation. The following gives hints and describes best prectices on particular toopics.
+</div>
+
+	<div><h3>When to use locks?
+</h3>
+<div class="tx-content">
+
+	<div>The MGraphs returned by the TcManager are lockable. A LockableMGraph has a getLock()-Method returning a ReadWriteLock. Write-Locks can be used if the applications logic requires it, i.e. when it wants to ensure that the MGraph isn't modified by another thread while some triples are being added or removed bading on the presence or absence of other triples (note that its a violation of the open world assumption if the absence of some triples causes some actions to be done).
+</div>
+
+	<div>Readlocks must be used when multiple threads access an MGraph and a method returning an Iterator is used. In this case a read-lock must be obtained before calling the method on MGraph and released only after the last usage of the returned iterator. Failing to do so may result in ConcurrentModification when another threads modifies the MGraph while we are iterating over it.
+</div>
+
+	<div>Currently (this might change infuture versions), it is also necessary to lock on the MGraphs against which a sparql select queries is directed. The lock on the MGraphs should be kept till iteration over the resultset is compleeted.
+</div>
+
+	<div><h4>How do I create deadlock-safe locks?
+</h4>
+<div class="tx-content">There is no such thing, if you try to get a write-lock withing a read-locked section you'll have a deadlock.
+</div>
+</div>
+
+	<div><h4>What is the best way to Lock a Graph in a service? (the developers, wich use the service know nothing about the lock and set own locks - so the service needs to check something) 
+</h4>
+<div class="tx-content">The service documentation should be clear about which MGarphs the service might be writing to, so the caller can make sure it holds no read-lock on one of these MGraph.
+</div>
+</div>
+
+	<div><h4>Where do I find additional documenation and source-code examples?
+</h4>
+<div class="tx-content">See the documentation and tutorials for the java.util.concurrent.locks package.
+</div>
+</div>
+
+</div>
+</div>
+
+</div>
+</div>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			To upload triples with a POST request, a client can use the URI path "/graph" and place the triples and other required information into the body as multipart/form-data which consists of
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>a file labeled "graph" containing the triples and specifying the mime-type.</li>
+<li>a text field labeled "name" specifying the name of the MGraph. If an MGraph with this name does not already exist, a new one will be created.</li>
+<li>an optional text field labeled "mode" specifying the mode. If the mode is "replace", existing triples of the MGraph will be deleted before new triples are added. If the mode is not specified or is "append", posted triples will be added to the MGraph.</li>
+<li>an optional text field labeled "redirection" specifying an URI which the client should be redirected to in case of success.</li>
+</ul>
+A response with the status code BAD REQUEST (400) is returned if the required data are missing. If the request can be satisfied, one of the following responses is returned:
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>SEE OTHER (303), if redirection is specified.</li>
+<li>CREATED (201), if redirection is not specified and a new MGraph is created.</li>
+<li>NO CONTENT (204), if redirection is not specified and no new MGraph is created.</li>
+</ul>
+<p xmlns="http://www.w3.org/1999/xhtml">
+For your convenience you may access a web-form at the Uri-Path <code>/graph/upload-form</code>.</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,31 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content"/>
+    <j.0:pos>1</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:parseType="Literal">To upload triples with a POST request, a client can use the URI path "/graph" and place the triples and other required information into the body as multipart/form-data which consists of
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>a file labeled "graph" containing the triples and specifying the mime-type.</li>
+<li>a text field labeled "name" specifying the name of the MGraph. If an MGraph with this name does not already exist, a new one will be created.</li>
+<li>an optional text field labeled "mode" specifying the mode. If the mode is "replace", existing triples of the MGraph will be deleted before new triples are added. If the mode is not specified or is "append", posted triples will be added to the MGraph.</li>
+<li>an optional text field labeled "redirection" specifying an URI which the client should be redirected to in case of success.</li>
+</ul>
+A response with the status code BAD REQUEST (400) is returned if the required data are missing. If the request can be satisfied, one of the following responses is returned:
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>SEE OTHER (303), if redirection is specified.</li>
+<li>CREATED (201), if redirection is not specified and a new MGraph is created.</li>
+<li>NO CONTENT (204), if redirection is not specified and no new MGraph is created.</li>
+</ul>
+<p xmlns="http://www.w3.org/1999/xhtml">
+For your convenience you may access a web-form at the Uri-Path <code>/graph/upload-form</code>.</p>
+</j.0:infoBit>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			To upload triples with a POST request, a client can use the URI path "/graph" and place the triples and other required information into the body as multipart/form-data which consists of
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>a file labeled "graph" containing the triples and specifying the mime-type.</li>
+<li>a text field labeled "name" specifying the name of the MGraph. If an MGraph with this name does not already exist, a new one will be created.</li>
+<li>an optional text field labeled "mode" specifying the mode. If the mode is "replace", existing triples of the MGraph will be deleted before new triples are added. If the mode is not specified or is "append", posted triples will be added to the MGraph.</li>
+<li>an optional text field labeled "redirection" specifying an URI which the client should be redirected to in case of success.</li>
+</ul>
+A response with the status code BAD REQUEST (400) is returned if the required data are missing. If the request can be satisfied, one of the following responses is returned:
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>SEE OTHER (303), if redirection is specified.</li>
+<li>CREATED (201), if redirection is not specified and a new MGraph is created.</li>
+<li>NO CONTENT (204), if redirection is not specified and no new MGraph is created.</li>
+</ul>
+<p xmlns="http://www.w3.org/1999/xhtml">
+For your convenience you may access a web-form at the Uri-Path <code>/graph/upload-form</code>.</p>
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Upload Triples with a POST Request
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title">
+    <j.0:infoBit rdf:parseType="Literal">Upload Triples with a POST Request</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title"/>
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Upload Triples with a POST Request
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,119 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Upload Triples with a POST Request
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Upload Triples with a POST Request
+</h1>
+<div class="tx-content">To upload triples with a POST request, a client can use the URI path &quot;/graph&quot; and place the triples and other required information into the body as multipart/form-data which consists of
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>a file labeled &quot;graph&quot; containing the triples and specifying the mime-type.</li>
+<li>a text field labeled &quot;name&quot; specifying the name of the MGraph. If an MGraph with this name does not already exist, a new one will be created.</li>
+<li>an optional text field labeled &quot;mode&quot; specifying the mode. If the mode is &quot;replace&quot;, existing triples of the MGraph will be deleted before new triples are added. If the mode is not specified or is &quot;append&quot;, posted triples will be added to the MGraph.</li>
+<li>an optional text field labeled &quot;redirection&quot; specifying an URI which the client should be redirected to in case of success.</li>
+</ul>
+A response with the status code BAD REQUEST (400) is returned if the required data are missing. If the request can be satisfied, one of the following responses is returned:
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>SEE OTHER (303), if redirection is specified.</li>
+<li>CREATED (201), if redirection is not specified and a new MGraph is created.</li>
+<li>NO CONTENT (204), if redirection is not specified and no new MGraph is created.</li>
+</ul>
+<p xmlns="http://www.w3.org/1999/xhtml">
+For your convenience you may access a web-form at the Uri-Path <code>/graph/upload-form</code>.</p>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0">
+    <j.0:contains rdf:nodeID="A0"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+    <j.0:contains rdf:nodeID="A1"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-content"/>
+    <j.0:pos>1</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content">
+    <j.0:contains rdf:nodeID="A2"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:pos>1</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0-title"/>
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/0.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,119 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Upload Triples with a POST Request
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Upload Triples with a POST Request
+</h1>
+<div class="tx-content">To upload triples with a POST request, a client can use the URI path &quot;/graph&quot; and place the triples and other required information into the body as multipart/form-data which consists of
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>a file labeled &quot;graph&quot; containing the triples and specifying the mime-type.</li>
+<li>a text field labeled &quot;name&quot; specifying the name of the MGraph. If an MGraph with this name does not already exist, a new one will be created.</li>
+<li>an optional text field labeled &quot;mode&quot; specifying the mode. If the mode is &quot;replace&quot;, existing triples of the MGraph will be deleted before new triples are added. If the mode is not specified or is &quot;append&quot;, posted triples will be added to the MGraph.</li>
+<li>an optional text field labeled &quot;redirection&quot; specifying an URI which the client should be redirected to in case of success.</li>
+</ul>
+A response with the status code BAD REQUEST (400) is returned if the required data are missing. If the request can be satisfied, one of the following responses is returned:
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>SEE OTHER (303), if redirection is specified.</li>
+<li>CREATED (201), if redirection is not specified and a new MGraph is created.</li>
+<li>NO CONTENT (204), if redirection is not specified and no new MGraph is created.</li>
+</ul>
+<p xmlns="http://www.w3.org/1999/xhtml">
+For your convenience you may access a web-form at the Uri-Path <code>/graph/upload-form</code>.</p>
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			The bundle SCB Web allows access to SCB graphs over HTTP with JAX-RS.
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1">
+    <j.0:infoBit rdf:parseType="Literal">The bundle SCB Web allows access to SCB graphs over HTTP with JAX-RS.</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/1.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			The bundle SCB Web allows access to SCB graphs over HTTP with JAX-RS.
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			The platform allows the current user to download all triple collections that he has access to through the URI path "/admin/backup/download". The resulted file is a compressed archive in zip format. All triple collections in this file are serialized in N-Triples format. Furthermore, a file called "triplecollections.nt" is contained in backup.zip, which describes the mapping of file names to triple collection names.
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,17 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content">
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+    <j.0:infoBit rdf:parseType="Literal">The platform allows the current user to download all triple collections that he has access to through the URI path "/admin/backup/download". The resulted file is a compressed archive in zip format. All triple collections in this file are serialized in N-Triples format. Furthermore, a file called "triplecollections.nt" is contained in backup.zip, which describes the mapping of file names to triple collection names.
+</j.0:infoBit>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:pos>1</j.0:pos>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			The platform allows the current user to download all triple collections that he has access to through the URI path "/admin/backup/download". The resulted file is a compressed archive in zip format. All triple collections in this file are serialized in N-Triples format. Furthermore, a file called "triplecollections.nt" is contained in backup.zip, which describes the mapping of file names to triple collection names.
+
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Backup of Triple Collections
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,16 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title">
+    <j.0:infoBit rdf:parseType="Literal">Backup of Triple Collections</j.0:infoBit>
+    <rdf:type rdf:resource="http://discobits.org/ontology#XHTMLInfoDiscoBit"/>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A0">
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			Backup of Triple Collections
+
+	</body>
+</html>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,105 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Backup of Triple Collections
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Backup of Triple Collections
+</h1>
+<div class="tx-content">The platform allows the current user to download all triple collections that he has access to through the URI path &quot;/admin/backup/download&quot;. The resulted file is a compressed archive in zip format. All triple collections in this file are serialized in N-Triples format. Furthermore, a file called &quot;triplecollections.nt&quot; is contained in backup.zip, which describes the mapping of file names to triple collection names.
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.rdf
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.rdf?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.rdf (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.rdf Wed Apr  3 18:37:39 2013
@@ -0,0 +1,27 @@
+<rdf:RDF
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:j.0="http://discobits.org/ontology#" > 
+  <rdf:Description rdf:nodeID="A0">
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2"/>
+    <j.0:pos>2</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content">
+    <j.0:contains rdf:nodeID="A0"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A1">
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-content"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:pos>1</j.0:pos>
+  </rdf:Description>
+  <rdf:Description rdf:about="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2">
+    <j.0:contains rdf:nodeID="A1"/>
+    <j.0:contains rdf:nodeID="A2"/>
+    <rdf:type rdf:resource="http://discobits.org/ontology#TitledContent"/>
+  </rdf:Description>
+  <rdf:Description rdf:nodeID="A2">
+    <j.0:pos>0</j.0:pos>
+    <rdf:type rdf:resource="http://discobits.org/ontology#Entry"/>
+    <j.0:holds rdf:resource="http://incubator.apache.org/clerezza/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2-title"/>
+  </rdf:Description>
+</rdf:RDF>

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.xhtml
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.xhtml?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.xhtml (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content-el/2.xhtml Wed Apr  3 18:37:39 2013
@@ -0,0 +1,105 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+					<head>
+						<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet"/>
+						<title>Backup of Triple Collections
+</title>
+					</head>
+					<body>
+						<div class="zz-header">
+
+							<div class="bar"></div>
+							<div class="logo">
+								<a href="http://incubator.apache.org/clerezza/" style=""><img src="/clerezza/images/logo.png" alt="logo"/></a>
+							</div>
+						</div>
+						<div class="column nav">
+							<ul>
+								<li class="top-nav-entry"><div class="title">Documentation</div>
+
+									<ul class="nav-entries">
+										<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+										<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+										<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+										<li><a href="/clerezza/faq/">FAQ</a></li>
+									</ul>
+								</li>
+
+								<li class="top-nav-entry"><div class="title">Project Infos</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/downloads/">Downloads</a></li>
+										<li><a href="/clerezza/contributing/">Contributing</a></li>
+										<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+										<li><a href="/clerezza/mailinglists/">Mailing lists</a></li>
+										<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+										<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+									</ul>
+								</li>
+								<li class="top-nav-entry"><div class="title">Sponsorship</div>
+									<ul class="nav-entries">
+										<li><a href="/clerezza/thanks/">Thanks</a></li>
+										<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+										<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+									</ul>
+								</li>
+							</ul>
+						</div>
+
+						<div class="zz-content">
+							<h1>Backup of Triple Collections
+</h1>
+<div class="tx-content">The platform allows the current user to download all triple collections that he has access to through the URI path &quot;/admin/backup/download&quot;. The resulted file is a compressed archive in zip format. All triple collections in this file are serialized in N-Triples format. Furthermore, a file called &quot;triplecollections.nt&quot; is contained in backup.zip, which describes the mapping of file names to triple collection names.
+
+</div>
+
+						</div>
+						<div class="footer">
+							<div class="logos"><img src="/clerezza/images/feather.png"/><img src="/clerezza/images/sw-vert-w3c.png"/><img src="/clerezza/images/footer-logo.png"/></div>
+
+							<div class="divider"></div>
+							<div class="dark">
+								<div class="sitemap">
+									<div class="sitemap-title">Sitemap</div>
+									<div class="sitemap-content">
+										<div class="sitemap-column">
+											<div class="title">Documentation</div>
+											<ul>
+
+												<li><a href="/clerezza/getting-started/">Getting Started</a></li>
+												<li><a href="/clerezza/architecture/">The Apache Clerezza Stack</a></li>
+												<li><a href="http://incubator.apache.org/clerezza/mvn-site" target="_blank">API docs</a></li>
+												<li><a href="/clerezza/faq/">FAQ</a></li>
+											</ul>
+
+										</div>
+										<div class="sitemap-column">
+
+											<div class="title">Project Infos</div>
+											<ul>
+												<li><a href="/clerezza/downloads/">Downloads</a></li>
+												<li><a href="/clerezza/contributing/">Contributing</a></li>
+												<li><a href="http://www.apache.org/licenses/" target="_blank">License</a></li>
+												<li><a href="mailinglists/">Mailing lists</a></li>
+												<li><a href="http://issues.apache.org/jira/browse/CLEREZZA" target="_blank">Issue Tracker</a></li>
+
+												<li><a href="http://svn.apache.org/viewvc/incubator/clerezza/trunk/" target="_blank">Source Repository</a></li>
+											</ul>
+										</div>
+										<div class="sitemap-column">
+											<div class="title">Sponsorship</div>
+											<ul>
+												<li><a href="/clerezza/thanks/">Thanks</a></li>
+												<li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank">Become a Sponsor</a></li>
+												<li><a href="http://www.apache.org/foundation/buy_stuff.html" target="_blank">Buy Stuff</a></li>
+											</ul>
+										</div>
+									</div>
+
+								</div>
+								<div class="copyright">Apache Clerezza, Clerezza, Apache, the Apache feather logo, and the Apache Clerezza project logo are trademarks of The Apache Software Foundation. <br></br>© 2011 The Apache Software Foundation.</div>
+							</div>
+						</div>
+
+
+					</body>
+				</html>
\ No newline at end of file

Added: clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content.html
URL: http://svn.apache.org/viewvc/clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content.html?rev=1464148&view=auto
==============================================================================
--- clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content.html (added)
+++ clerezza/site/production/bundle-doc/org.apache.clerezza.rdf.web.core/scb-web-content.html Wed Apr  3 18:37:39 2013
@@ -0,0 +1,44 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
+	<head>
+		<link type="text/css" href="/clerezza/style/style.css" rel="stylesheet" />
+		<meta content="noindex, nofollow" name="robots"/>
+		<title>Untitled Content</title>
+	</head>
+	<body>
+			
+
+	<div>The bundle SCB Web allows access to SCB graphs over HTTP with JAX-RS.
+</div>
+
+	<div><h1>Upload Triples with a POST Request
+</h1>
+<div class='tx-content'>To upload triples with a POST request, a client can use the URI path "/graph" and place the triples and other required information into the body as multipart/form-data which consists of
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>a file labeled "graph" containing the triples and specifying the mime-type.</li>
+<li>a text field labeled "name" specifying the name of the MGraph. If an MGraph with this name does not already exist, a new one will be created.</li>
+<li>an optional text field labeled "mode" specifying the mode. If the mode is "replace", existing triples of the MGraph will be deleted before new triples are added. If the mode is not specified or is "append", posted triples will be added to the MGraph.</li>
+<li>an optional text field labeled "redirection" specifying an URI which the client should be redirected to in case of success.</li>
+</ul>
+A response with the status code BAD REQUEST (400) is returned if the required data are missing. If the request can be satisfied, one of the following responses is returned:
+<ul xmlns="http://www.w3.org/1999/xhtml">
+<li>SEE OTHER (303), if redirection is specified.</li>
+<li>CREATED (201), if redirection is not specified and a new MGraph is created.</li>
+<li>NO CONTENT (204), if redirection is not specified and no new MGraph is created.</li>
+</ul>
+<p xmlns="http://www.w3.org/1999/xhtml">
+For your convenience you may access a web-form at the Uri-Path <code>/graph/upload-form</code>.</p>
+
+</div>
+</div>
+
+	<div><h1>Backup of Triple Collections
+</h1>
+<div class='tx-content'>The platform allows the current user to download all triple collections that he has access to through the URI path "/admin/backup/download". The resulted file is a compressed archive in zip format. All triple collections in this file are serialized in N-Triples format. Furthermore, a file called "triplecollections.nt" is contained in backup.zip, which describes the mapping of file names to triple collection names.
+
+</div>
+</div>
+
+
+	</body>
+</html>



Mime
View raw message