You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by en...@apache.org on 2011/07/02 21:21:21 UTC

svn commit: r1142273 [2/2] - in /incubator/stanbol/trunk: integration-tests/ integration-tests/src/test/java/org/apache/stanbol/ontologymanager/web/it/ ontologymanager/ontonet/ ontologymanager/ontonet/src/main/java/org/apache/stanbol/ontologymanager/on...

Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ConsistentRefactoring/index.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ConsistentRefactoring/index.ftl?rev=1142273&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ConsistentRefactoring/index.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ConsistentRefactoring/index.ftl Sat Jul  2 19:21:18 2011
@@ -0,0 +1,15 @@
+<#import "/imports/common.ftl" as common>
+<#import "/imports/reasonersDescription.ftl" as reasonersDescription>
+
+<#escape x as x?html>
+<@common.page title="Apache Stanbol Ontology Consistent Refactoring" hasrestapi=false> 
+
+   <div class="panel" id="webview">
+      <p>This is the start page of the ontology consistent refactoring.</p>
+    </div>
+    
+    <hr>
+    <#include "inc_consistentRefactoring.ftl">
+
+  </...@common.page>
+</#escape>
\ No newline at end of file

Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/inc_enrichment.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/inc_enrichment.ftl?rev=1142273&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/inc_enrichment.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/inc_enrichment.ftl Sat Jul  2 19:21:18 2011
@@ -0,0 +1,44 @@
+<h4>Subresource reasoners/enrichment</h4>
+<p>Service to run the reasoner over the input data applying the given scope, a session and recipe and returns all the inferred knowledge.</p>
+
+<h4> POST reasoners/enrichment</h4>
+<table>
+  <tbody>
+    <tr>
+      <th>Description</th>
+      <td>Service to perform a rule based reasoning.</td>
+    </tr>
+    <tr>
+      <th>Request</th>
+      <td>POST <code>/reasoners/enrichment</code></td>
+    </tr>
+    <tr>
+      <th>Parameter</th>
+      <td>
+      <ul>
+      	<li><code>session</code>: the session IRI used to classify the input.</li>
+      	<li><code>scope</code>: the scope IRI used to classify the input.</li>
+      	<li><code>recipe</code>: the recipe IRI to apply.</li>
+      	<li><code>file</code>: a file to be given as input classified. (Cannot be used in conjunction with <code>input-graph</code>.)</li>
+      	<li><code>input-graph</code>: a reference to a graph IRI in the knowledge store. (Cannot be used in conjunction with <code>file</code>.)</li>
+      	<li><code>owllink-endpoint</code>: reasoner server end-point URL. (If this parameter is not provided, the system will use the HermiT reasoner HermiT).</li>
+      </ul>
+      </td>
+    </tr>
+    <tr>
+      <th>Consumes</th>
+      <td><code>Content-type:multipart/form-data</code</td>
+    </tr>
+    <tr>
+      <th>Produces</th>
+      <td>An ontology. Format depends on requested media type</td>
+    </tr>
+  </tbody>
+</table>
+
+<h5>Example</h5>
+
+<pre>INSERIRE ESEMPIO1</pre>
+<pre>INSERIRE ESEMPIO2</pre>
+<pre>INSERIRE ESEMPIO3</pre>
+

Added: incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/index.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/index.ftl?rev=1142273&view=auto
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/index.ftl (added)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/Enrichment/index.ftl Sat Jul  2 19:21:18 2011
@@ -0,0 +1,15 @@
+<#import "/imports/common.ftl" as common>
+<#import "/imports/reasonersDescription.ftl" as reasonersDescription>
+
+<#escape x as x?html>
+<@common.page title="Apache Stanbol Ontology Enrichment" hasrestapi=false> 
+
+   <div class="panel" id="webview">
+      <p>This is the start page of the ontology enrichment.</p>
+    </div>
+    
+    <hr>
+    <#include "inc_enrichment.ftl">
+
+  </...@common.page>
+</#escape>
\ No newline at end of file

Modified: incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ReasonersResource/index.ftl
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ReasonersResource/index.ftl?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ReasonersResource/index.ftl (original)
+++ incubator/stanbol/trunk/reasoners/web/src/main/resources/org/apache/stanbol/reasoners/web/templates/org/apache/stanbol/reasoners/web/resources/ReasonersResource/index.ftl Sat Jul  2 19:21:18 2011
@@ -1,9 +1,56 @@
 <#import "/imports/common.ftl" as common>
 <#import "/imports/reasonersDescription.ftl" as reasonersDescription>
+
 <#escape x as x?html>
-<@common.page title="Apache Stanbol Reasoners" hasrestapi=false> 
+<@common.page title="Apache Stanbol Reasoners" hasrestapi=true> 
+
+    <@reasonersDescription.view />
+		
+    <div class="panel" id="webview">
+      <p>This is the start page of the reasoners responsible for classification, consistency checking, and enrichment of an ontology. 
+      Reasoning services provided through the built-in HermiT reasoner.</p>
+    </div>
+
+    <div class="panel" id="restapi" style="display: none;">
+
+      <h3>Service Endpoints</h3>
+      
+        <p>The RESTful API of the Reasoners is structured as follows.</p>
+
+          <ul>
+            <li>Homepage @<a href="${it.publicBaseUri}reasoners">/reasoners</a>:
+              This page.
+            </li>
+          </ul>
+
+          <h4>Ontology classification (<code>"/reasoners/classify"</code>):</h4>
+          
+          <ul>
+            <li>Ontology classification @<a href="${it.publicBaseUri}reasoners/classify">/reasoners/classify</a>:
+              run a classifying reasoner on a RDF input File or IRI on the base of a scope (or an ontology) and a recipe.
+            </li>
+          </ul>
 
-<@reasonersDescription.view /> 
+          <h4>Ontology consistency check (<code>"/reasoners/check-consistency"</code>):</h4>
+      
+          <ul>
+            <li>Ontology consistency @<code>/reasoners/check-consistency?uri={ontology uri}</code>:
+             check the consistency of an Ontology.
+            </li>
+            <li>Ontology consistency @<code>/reasoners/check-consistency/{scope}</code>:
+             check the consistency of a Scope.
+            </li>
+          </ul>
+      
+          <h4>Ontology enrichment (<code>"/reasoners/enrichment"</code>):</h4>
+          
+          <ul>
+            <li>Ontology enrichment @<a href="${it.publicBaseUri}reasoners/enrichment">/reasoners/enrichment</a>:
+              perform a rule based reasoning with a given recipe and scope (or an ontology) to a RDF input specify via its IRI.
+            </li>
+          </ul>
+          
+    </div>
 
-</...@common.page>
+  </...@common.page>
 </#escape>
\ No newline at end of file

Modified: incubator/stanbol/trunk/reengineer/base/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/base/pom.xml?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/base/pom.xml (original)
+++ incubator/stanbol/trunk/reengineer/base/pom.xml Sat Jul  2 19:21:18 2011
@@ -114,9 +114,9 @@
 
     <!-- OWL deps -->
     <dependency>
-      <groupId>owlapi</groupId>
-      <artifactId>owlapi</artifactId>
-      <version>3.0.0</version>
+      <groupId>org.apache.stanbol</groupId>
+	  <artifactId>org.apache.stanbol.owl</artifactId>
+      <version>${stanbol-version}</version>
       <scope>provided</scope>
     </dependency>
 

Modified: incubator/stanbol/trunk/reengineer/db/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/db/pom.xml?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/db/pom.xml (original)
+++ incubator/stanbol/trunk/reengineer/db/pom.xml Sat Jul  2 19:21:18 2011
@@ -153,11 +153,6 @@
 			<version>0.8.5</version>
 			<scope>provided</scope>
 		</dependency>
-		<dependency>
-			<groupId>owlapi</groupId>
-			<artifactId>owlapi</artifactId>
-			<version>3.0.0</version>
-		</dependency>
 
 		<!-- Clerezza deps -->
 		<dependency>

Modified: incubator/stanbol/trunk/reengineer/xml/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/xml/pom.xml?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/xml/pom.xml (original)
+++ incubator/stanbol/trunk/reengineer/xml/pom.xml Sat Jul  2 19:21:18 2011
@@ -147,9 +147,10 @@
       <scope>provided</scope>
     </dependency>
     <dependency>
-      <groupId>owlapi</groupId>
-      <artifactId>owlapi</artifactId>
-      <version>3.0.0</version>
+      <groupId>org.apache.stanbol</groupId>
+	  <artifactId>org.apache.stanbol.owl</artifactId>
+	  <version>${stanbol-version}</version>
+	  <scope>provided</scope>
     </dependency>
 
     <!-- Clerezza deps -->

Modified: incubator/stanbol/trunk/rules/base/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/base/pom.xml?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/base/pom.xml (original)
+++ incubator/stanbol/trunk/rules/base/pom.xml Sat Jul  2 19:21:18 2011
@@ -85,9 +85,9 @@
 			<scope>provided</scope>
 		</dependency>
 		<dependency>
-			<groupId>owlapi</groupId>
-			<artifactId>owlapi</artifactId>
-			<version>3.0.0</version>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.owl</artifactId>
+			<version>${stanbol-version}</version>
 			<scope>provided</scope>
 		</dependency>
 

Modified: incubator/stanbol/trunk/rules/manager/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/manager/pom.xml?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/manager/pom.xml (original)
+++ incubator/stanbol/trunk/rules/manager/pom.xml Sat Jul  2 19:21:18 2011
@@ -102,9 +102,9 @@
 			<scope>provided</scope>
 		</dependency>
 		<dependency>
-			<groupId>owlapi</groupId>
-			<artifactId>owlapi</artifactId>
-			<version>3.0.0</version>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.owl</artifactId>
+			<version>${stanbol-version}</version>
 			<scope>provided</scope>
 		</dependency>
 

Modified: incubator/stanbol/trunk/rules/refactor/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/refactor/pom.xml?rev=1142273&r1=1142272&r2=1142273&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/refactor/pom.xml (original)
+++ incubator/stanbol/trunk/rules/refactor/pom.xml Sat Jul  2 19:21:18 2011
@@ -100,11 +100,6 @@
 			<artifactId>jena</artifactId>
 			<version>2.6.2</version>
 		</dependency>
-		<dependency>
-			<groupId>owlapi</groupId>
-			<artifactId>owlapi</artifactId>
-			<version>3.0.0</version>
-		</dependency>
 
 		<!-- Persistence deps -->
 		<dependency>