Author: buildbot
Date: Thu Sep 13 15:24:25 2012
New Revision: 831914

Log:
Staging update by buildbot for stanbol

Modified:
    websites/staging/stanbol/trunk/content/   (props changed)
    
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/refactor.html
    
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html

Propchange: websites/staging/stanbol/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Sep 13 15:24:25 2012
@@ -1 +1 @@
-1384360
+1384368

Modified: 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/refactor.html
==============================================================================
--- 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/refactor.html
 (original)
+++ 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/refactor.html
 Thu Sep 13 15:24:25 2012
@@ -146,13 +146,11 @@ translated into the construct template, 
 <em>(Please note, that the following links to the actual service endpoint link 
to a running instance of Apache Stanbol. If you use other domains or ports than 
"localhost:8080", then please change accordingly)</em></p>
 <h3 id="refactor-engine-refactor">Refactor Engine ("/refactor"):</h3>
 <ul>
-<li>
-<p>The Refactor Engine <strong>@/refactor</strong> performs a refactoring 
applying an existing recipe in the rule store to the provided RDF graph. The 
RDF graph can be either in the Stanbol triplestore or provided as a file.
-In the first case the output of the refactoring is stored in the triplestore. 
The request should be done as it follows:</p>
-</li>
-<li>
-<p>Method: POST</p>
-</li>
+<li>The Refactor Engine <strong>@/refactor</strong> performs a refactoring 
applying an existing recipe in the rule store to the provided RDF graph. </li>
+</ul>
+<p>The request should be done as it follows:</p>
+<ul>
+<li>Method: GET</li>
 <li>Parameters:<ul>
 <li>input-graph: the ID of RDF graph in the triplestore provided as input</li>
 <li>output-graph: the ID of RDF graph in the triplestore in which we want to 
store the result.</li>
@@ -167,7 +165,11 @@ http://localhost:8080/refactor
 </pre></div>
 
 
-<p>In the case we want to refactor an external RDF graph provided as file the 
request should be done as follows:</p>
+<h3 id="refactor-engine-refactorapply">Refactor Engine 
("/refactor/apply"):</h3>
+<ul>
+<li>Refactor Engine <strong>@/refactor/apply</strong> performs a refactoring 
applying an recipe as string to the provided RDF graph as input source.</li>
+</ul>
+<p>The request should be done as it follows:</p>
 <ul>
 <li>Method: POST</li>
 <li>Parameters:<ul>
@@ -175,20 +177,28 @@ http://localhost:8080/refactor
 <li>input: the RDF graph to which the refactoring has to be applied. The graph 
has to be provided as a binary file (MANDATORY)</li>
 </ul>
 </li>
+<li>Accepts:<ul>
+<li>application/rdf+xml</li>
+<li>text/html</li>
+<li>text/plain</li>
+<li>application/owl+xml</li>
+<li>text/owl-functional</li>
+<li>text/owl-manchester</li>
+<li>application/rdf+json,</li>
+<li>text/turle</li>
+</ul>
+</li>
 </ul>
 <p>Example:</p>
 <div class="codehilite"><pre>curl -X POST -H <span 
class="s2">&quot;Content-type: multipart/form-data&quot;</span> <span 
class="se">\</span>
--F <span class="nv">description</span><span class="o">=</span>recipeTestA -F 
<span class="nv">rules</span><span class="o">=</span>@graph.rdf <span 
class="se">\</span>
-http://localhost:8080/refactor
+-H <span class="s2">&quot;Accept: application/rdf+json&quot;</span> <span 
class="se">\</span>
+-F <span class="nv">recipe</span><span class="o">=</span>recipeTestA -F <span 
class="nv">input</span><span class="o">=</span>@graph.rdf <span 
class="se">\</span>
+http://localhost:8080/refactor/apply
 </pre></div>
 
 
-<h3 id="refactor-engine-refactorapply">Refactor Engine 
("/refactor/apply"):</h3>
-<ul>
-<li>Refactor Engine <strong>@/refactor/apply</strong> performs a refactoring 
applying an recipe as string to the provided RDF graph as input source.</li>
-</ul>
 <hr />
-<p><em><a href="../rules.html">Back to Stanbol Rules</a></em></p>
+<p><em><a href="..">Back to Stanbol Rules</a></em></p>
   </div>
   
   <div id="footer">

Modified: 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html
==============================================================================
--- 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html
 (original)
+++ 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/components/rules/store.html
 Thu Sep 13 15:24:25 2012
@@ -226,7 +226,7 @@ http://localhost:8080/rules/find/rules
 
 
 <hr />
-<p><em><a href="../rules.html">Back to Stanbol Rules</a></em></p>
+<p><em><a href="..">Back to Stanbol Rules</a></em></p>
   </div>
   
   <div id="footer">


Reply via email to