You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by bu...@apache.org on 2015/04/27 10:49:42 UTC

svn commit: r949325 [14/14] - in /websites/staging/marmotta/trunk/content: ./ apidocs/ apidocs/org/apache/marmotta/commons/sesame/transactions/api/ apidocs/org/apache/marmotta/commons/sesame/transactions/api/class-use/ apidocs/org/apache/marmotta/commo...

Modified: websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-summary.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-summary.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-summary.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:13 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:47 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>org.apache.marmotta.platform.user.webservices (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-tree.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-tree.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-tree.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:13 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:47 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>org.apache.marmotta.platform.user.webservices Class Hierarchy (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-use.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-use.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/org/apache/marmotta/platform/user/webservices/package-use.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:14 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:48 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>Uses of Package org.apache.marmotta.platform.user.webservices (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/apidocs/overview-frame.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/overview-frame.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/overview-frame.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:13 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:47 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>Overview List (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/apidocs/overview-summary.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/overview-summary.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/overview-summary.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:15 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:49 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>Overview (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/apidocs/overview-tree.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/overview-tree.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/overview-tree.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:14 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:49 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>Class Hierarchy (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/apidocs/serialized-form.html
==============================================================================
--- websites/staging/marmotta/trunk/content/apidocs/serialized-form.html (original)
+++ websites/staging/marmotta/trunk/content/apidocs/serialized-form.html Mon Apr 27 08:49:27 2015
@@ -2,7 +2,7 @@
 <!-- NewPage -->
 <html lang="en">
 <head>
-<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:35:13 UTC 2015 -->
+<!-- Generated by javadoc (version 1.7.0_51) on Mon Apr 27 08:46:47 UTC 2015 -->
 <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
 <title>Serialized Form (Apache Marmotta Site 3.3.0 API)</title>
 <meta name="date" content="2015-04-27">

Modified: websites/staging/marmotta/trunk/content/platform/ldpath-module.html
==============================================================================
--- websites/staging/marmotta/trunk/content/platform/ldpath-module.html (original)
+++ websites/staging/marmotta/trunk/content/platform/ldpath-module.html Mon Apr 27 08:49:27 2015
@@ -349,6 +349,8 @@
             <p> <!-- awaiting for https://jira.codehaus.org/browse/DOXIA-472 --></p>
 <h1>Apache Marmotta Platform: LDPath</h1>
 <p>This module provides <a href="../ldpath">LDPath</a> support in the Marmotta plaform.</p>
+<div class="section">
+<h2>Protocol<a name="Protocol"></a></h2>
 <p>LDPath querying is exposed via a simple RESTful protocol, using JSON for describing the results. Programs can be evaluated using either <tt>GET</tt> or <tt>POST</tt> with slightly different methods (check the web servcices documentation for any further details), where the context <tt>uri</tt> must be always sent as query parameter.</p>
 <p>The results&#x2019; schema is very simple:</p>
 
@@ -357,11 +359,13 @@
 <li>Each path of the program generates a property with the same name.</li>
   
 <li>The value of the property is an array with the result of the path evaluation.  Each results is always componsed by a <tt>value</tt> with the string representation  and a <tt>type</tt> with its type (<tt>uri</tt>/<tt>bnode</tt>/<tt>literal</tt>); optionally literals could  come typed with <tt>lang</tt> and/or <tt>datatype</tt>.</li>
-</ul>
+</ul></div>
+<div class="section">
+<h2>Example<a name="Example"></a></h2>
 <p>Let&#x2019;s use this very simple program as example, one that lists all the friend of a concrete URI. Using cURL the request will lool like:</p>
 
 <div class="source">
-<pre>curl -X POST --data ' @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; friends=foaf:knows/foaf:name ; ' 'http://localhost:8080/marmotta/ldpath/program?uri=http%3A%2F%2Fwww.wikier.org%2Ffoaf%23wikier' -H 'Content-Type: text/plain'
+<pre>curl -X POST --data ' @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; friends=foaf:knows/foaf:name ; ' -H 'Content-Type: text/plain' 'http://localhost:8080/marmotta/ldpath/program?uri=http%3A%2F%2Fwww.wikier.org%2Ffoaf%23wikier'
 </pre></div>
 <p>and should return something like:</p>
 
@@ -374,7 +378,7 @@
     ...
   ]
 }
-</pre></div>
+</pre></div></div>
                   </div>
           </div>