Added: websites/staging/marmotta/trunk/content/platform/ldp-module.html ============================================================================== --- websites/staging/marmotta/trunk/content/platform/ldp-module.html (added) +++ websites/staging/marmotta/trunk/content/platform/ldp-module.html Thu Apr 10 10:26:06 2014 @@ -0,0 +1,411 @@ +<!DOCTYPE html> +<!-- + | Generated by Apache Maven Doxia at 2014-04-10 + | Rendered using Apache Maven Fluido Skin 1.3.0 +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <link rel="schema.dcterms" href="http://purl.org/dc/terms/" /> + <meta name="dcterms.modified" content="2014-04-10" /> + <title>Apache Marmotta - Platform - LDP</title> + <meta name="description" content="Apache Marmotta - An Open Platform for Linked Data - Platform - LDP" /> + <meta name="keywords" content="Apache Marmotta, Linked Data, LDP, LDC, SPARQL, Platform, -, LDP" /> + <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" /> + <link rel="stylesheet" href="../css/site.css" /> + <link rel="stylesheet" href="../css/print.css" media="print" /> + <link rel="stylesheet" href="../css/prettify.css" /> + <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600" /> + + + + +<link rel="icon" type="image/png" href="/images/favicon_32.png"/> + + +<link title="doap" rel="meta" type="application/rdf+xml" href="/doap.rdf"/> + + +<script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script> + + <!-- Google Analytics --> + <script type="text/javascript"> + + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-38225305-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + + </script> + </head> + <body class="topBarEnabled"> + + + + + + <div id="topbar" class="navbar navbar-fixed-top "> + <div class="navbar-inner"> + <div class="container"><div class="nav-collapse"> + + + <a class="brand" href="../" title="Apache Marmotta"> + + + <img src="../images/Marmotta_Head.png" alt="Apache Marmotta" /> + + </a> + + <ul class="nav"> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Apache Marmotta <b class="caret"></b></a> + <ul class="dropdown-menu"> + + <li> <a href="../index.html" title="Home">Home</a> +</li> + + <li> <a href="../start.html" title="Getting Started">Getting Started</a> +</li> + + <li> <a href="../development.html" title="Development">Development</a> +</li> + + <li> <a href="../download.html" title="Download">Download</a> +</li> + + <li> <a href="../installation.html" title="Installation">Installation</a> +</li> + + <li> <a href="../configuration.html" title="Configuration">Configuration</a> +</li> + + <li> <a href="../team-list.html" title="Team">Team</a> +</li> + + <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a> +</li> + + <li> <a href="http://wiki.apache.org/marmotta" title="Wiki">Wiki</a> +</li> + + <li> <a href="http://issues.apache.org/jira/browse/MARMOTTA" title="Issue Tracker">Issue Tracker</a> +</li> + + <li> <a href="../acknowledgements.html" title="Acknowledgements">Acknowledgements</a> +</li> + + <li> <a href="../license.html" title="License">License</a> +</li> + + <li> <a href="../privacy.html" title="Privacy">Privacy</a> +</li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Platform <b class="caret"></b></a> + <ul class="dropdown-menu"> + + <li> <a href="../platform/index.html" title="Introduction">Introduction</a> +</li> + + <li> <a href="../platform/core-module.html" title="Core Module">Core Module</a> +</li> + + <li> <a href="../platform/backends.html" title="Backends">Backends</a> +</li> + + <li> <a href="../platform/ldcache-module.html" title="LDCache Module">LDCache Module</a> +</li> + + <li> <a href="../platform/ldpath-module.html" title="LDPath Module">LDPath Module</a> +</li> + + <li> <a href="../platform/reasoner-module.html" title="Reasoner Module">Reasoner Module</a> +</li> + + <li> <a href="../platform/security-module.html" title="Security Module">Security Module</a> +</li> + + <li> <a href="../platform/sparql-module.html" title="SPARQL Module">SPARQL Module</a> +</li> + + <li> <a href="../platform/user-module.html" title="User Module">User Module</a> +</li> + + <li> <a href="../platform/versioning-module.html" title="Versioning Module">Versioning Module</a> +</li> + + <li> <a href="../platform/cloud.html" title="Cloud Setup">Cloud Setup</a> +</li> + + <li> <a href="../client-library.html" title="Client Library">Client Library</a> +</li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">KiWi Triple Store <b class="caret"></b></a> + <ul class="dropdown-menu"> + + <li> <a href="../kiwi/index.html" title="Introduction">Introduction</a> +</li> + + <li> <a href="../kiwi/triplestore.html" title="Store">Store</a> +</li> + + <li> <a href="../kiwi/transactions.html" title="Transactions">Transactions</a> +</li> + + <li> <a href="../kiwi/sparql.html" title="SPARQL">SPARQL</a> +</li> + + <li> <a href="../kiwi/tripletable.html" title="Triple Table">Triple Table</a> +</li> + + <li> <a href="../kiwi/reasoner.html" title="Reasoner">Reasoner</a> +</li> + + <li> <a href="../kiwi/versioning.html" title="Versioning">Versioning</a> +</li> + + <li> <a href="../kiwi/loader.html" title="KiWi Loader">KiWi Loader</a> +</li> + + <li> <a href="../kiwi/contextaware.html" title="Context Aware">Context Aware</a> +</li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Libraries <b class="caret"></b></a> + <ul class="dropdown-menu"> + + <li class="dropdown-submenu"> + <a href="../ldclient/" title="LDClient">LDClient</a> + <ul class="dropdown-menu"> + <li> <a href="../ldclient/index.html" title="Introduction">Introduction</a> +</li> + <li> <a href="../ldclient/usage.html" title="Usage">Usage</a> +</li> + <li> <a href="../ldclient/modules.html" title="Modules">Modules</a> +</li> + <li> <a href="../ldclient/dataproviders.html" title="Data Providers">Data Providers</a> +</li> + </ul> + </li> + + <li class="dropdown-submenu"> + <a href="../ldcache/" title="LDCache">LDCache</a> + <ul class="dropdown-menu"> + <li> <a href="../ldcache/index.html" title="Introduction">Introduction</a> +</li> + <li> <a href="../ldcache/usage.html" title="Usage">Usage</a> +</li> + <li> <a href="../ldcache/backends.html" title="Backends">Backends</a> +</li> + <li> <a href="../ldcache/wrappers.html" title="Wrappers">Wrappers</a> +</li> + </ul> + </li> + + <li class="dropdown-submenu"> + <a href="../ldpath/" title="LDPath">LDPath</a> + <ul class="dropdown-menu"> + <li> <a href="../ldpath/index.html" title="Introduction">Introduction</a> +</li> + <li> <a href="../ldpath/language.html" title="Language">Language</a> +</li> + <li> <a href="../ldpath/usage.html" title="Usage">Usage</a> +</li> + <li> <a href="../ldpath/backends.html" title="Backends">Backends</a> +</li> + <li> <a href="../ldpath/functions.html" title="Functions">Functions</a> +</li> + <li> <a href="../ldpath/template.html" title="Template">Template</a> +</li> + </ul> + </li> + + <li> <a href="../sesame.html" title="Sesame Tools">Sesame Tools</a> +</li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project <b class="caret"></b></a> + <ul class="dropdown-menu"> + + <li class="dropdown-submenu"> + <a href="../project-info.html" title="Project Information">Project Information</a> + <ul class="dropdown-menu"> + <li> <a href="../index.html" title="About">About</a> +</li> + <li> <a href="../team-list.html" title="Project Team">Project Team</a> +</li> + <li> <a href="../dependency-info.html" title="Dependency Information">Dependency Information</a> +</li> + <li> <a href="../dependency-management.html" title="Dependency Management">Dependency Management</a> +</li> + <li> <a href="../plugins.html" title="Project Plugins">Project Plugins</a> +</li> + <li> <a href="../integration.html" title="Continuous Integration">Continuous Integration</a> +</li> + <li> <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> +</li> + <li> <a href="../source-repository.html" title="Source Repository">Source Repository</a> +</li> + <li> <a href="../license.html" title="Project License">Project License</a> +</li> + <li> <a href="../plugin-management.html" title="Plugin Management">Plugin Management</a> +</li> + <li> <a href="../distribution-management.html" title="Distribution Management">Distribution Management</a> +</li> + <li> <a href="../project-summary.html" title="Project Summary">Project Summary</a> +</li> + <li> <a href="../mail-lists.html" title="Mailing Lists">Mailing Lists</a> +</li> + <li> <a href="../dependencies.html" title="Dependencies">Dependencies</a> +</li> + </ul> + </li> + + <li class="dropdown-submenu"> + <a href="../project-reports.html" title="Project Reports">Project Reports</a> + <ul class="dropdown-menu"> + <li> <a href="../apidocs/index.html" title="JavaDocs">JavaDocs</a> +</li> + </ul> + </li> + </ul> + </li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">The ASF <b class="caret"></b></a> + <ul class="dropdown-menu"> + + <li> <a href="http://www.apache.org" title="The Apache Software Foundation">The Apache Software Foundation</a> +</li> + + <li> <a href="http://www.apache.org/foundation/how-it-works.html" title="How Apache Works">How Apache Works</a> +</li> + + <li> <a href="http://www.apache.org/security/" title="Security">Security</a> +</li> + + <li> <a href="http://www.apache.org/foundation/sponsorship.html" title="Become a Sponsor">Become a Sponsor</a> +</li> + + <li> <a href="http://www.apache.org/foundation/thanks.html" title="Thanks">Thanks</a> +</li> + </ul> + </li> + </ul> + + + + + </div> + + </div> + </div> + </div> + + <div class="container"> + <div id="banner"> + <div class="pull-left"> + <div id="bannerLeft"> + <h2>Apache Marmotta Site</h2> + </div> + </div> + <div class="pull-right"> <div id="bannerRight"> + <img src="../images/Marmotta_Logo_250x102.png" alt="Apache Marmotta"/> + </div> + </div> + <div class="clear"><hr/></div> + </div> + + <div id="breadcrumbs"> + <ul class="breadcrumb"> + + + <li id="publishDate">Last Published: 2014-04-10</li> + <li class="divider">|</li> <li id="projectVersion">Version: 3.1.0-incubating</li> + + + + + </ul> + </div> + + + + <div id="bodyColumn" > + + <p> <!-- awaiting for https://jira.codehaus.org/browse/DOXIA-472 --></p> +<h1>Apache Marmotta Platform: LDP</h1> +<p>Since 3.2.0 Marmotta <a class="externalLink" href="http://wiki.apache.org/marmotta/LDPImplementationReport">provides experimental support</a> for the <a class="externalLink" href="http://www.w3.org/TR/2014/WD-ldp-20140311/">current working draft</a> of the <a class="externalLink" href="http://www.w3.org/TR/ldp/">Linked Data Platform 1.0</a> specification.</p> +<p>The ASF activelly participares in the <a class="externalLink" href="http://www.w3.org/2012/ldp">W3C Working Group</a> helping to define the standard, and also providing an early implementation.</p> +<div class="section"> +<h2>Implementation Restrictions<a name="Implementation_Restrictions"></a></h2> +<p>The current LDP support should be <i>compliant</i> with the <a class="externalLink" href="http://www.w3.org/TR/2014/WD-ldp-20140311/">current working draft</a>, but <i>not complete</i> yet. For now there few <a class="externalLink" href="http://wiki.apache.org/marmotta/LDPImplementationReport#Implementation_Restrictions">implementation restrictions</a>, which will be addressed in upcoming releases.</p> +<p>In addition, as soon as the test suite evolves, we’ll provide formal implementation reports.</p></div> +<div class="section"> +<h2>Usage<a name="Usage"></a></h2> +<p>Temporally available under <tt>/ldp</tt> namespace, until we clarify how the current raw Linked Data resource management would live together with LDP, here some examples how to use it: </p> +<div class="section"> +<h3>Add a source resource to a container<a name="Add_a_source_resource_to_a_container"></a></h3> + +<div class="source"> +<pre>curl -i -X POST -d @test.ttl -H "Content-Type: text/turtle" -H "Slug: test" http://localhost:8080/ldp/container1 +curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container1/test +</pre></div> +<p>where <tt>test.ttl</tt> contains the <abbr title="LDP RDF Source">LDP-RS</abbr> you want to add to the <tt>/container1</tt> container.</p></div> +<div class="section"> +<h3>Add a binary resource to a container<a name="Add_a_binary_resource_to_a_container"></a></h3> + +<div class="source"> +<pre>curl -i -X POST --data-binary @test.png -H "Content-Type: image/png" -H "Slug: test" http://localhost:8080/ldp/container2 +curl -i http://localhost:8080/ldp/container2/test +curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container2/test.png +curl -i -H "Accept: image/png" http://localhost:8080/ldp/container2/test.png +</pre></div> +<p>where <tt>test.png</tt> is the <abbr title="LDP Non-RDF Source">LDP-NR</abbr> you want to add to the <tt>/container2</tt> container.</p></div></div> + </div> + </div> + + <hr/> + + <footer> + <div class="container"> + + <p id="poweredBy" class="pull-right"> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + </p> + + <p> + Copyright © 2012-2014 + <a href="http://www.apache.org">The Apache Software Foundation</a>. + All Rights Reserved. + + </p> + + +<p>Licensed under the Apache License, Version 2.0.</p> + +<p>Apache, Marmotta, the Apache feather and Marmotta logos are trademarks + of The Apache Software Foundation.</p> + + </div> + </footer> + + <script type="text/javascript" src="../js/prettify.js"></script> + <script type="text/javascript" src="../js/marmotta.js"></script> + <script type="text/javascript" src="../js/apache-maven-fluido-1.3.0.min.js"></script> + + </body> + +</html>
