Author: fchrist
Date: Mon Jan 16 13:41:46 2012
New Revision: 1231997

URL: http://svn.apache.org/viewvc?rev=1231997&view=rev
Log:
STANBOL-237 Updated documentation, added abstract, fixed links

Added:
    
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/imports/
    
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/imports/abstract.ftl
Modified:
    
incubator/stanbol/trunk/factstore/factstore/src/main/java/org/apache/stanbol/factstore/web/FactStoreWebFragment.java
    
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactStoreRootResource/index.ftl
    
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactsResource/index.ftl

Modified: 
incubator/stanbol/trunk/factstore/factstore/src/main/java/org/apache/stanbol/factstore/web/FactStoreWebFragment.java
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/factstore/factstore/src/main/java/org/apache/stanbol/factstore/web/FactStoreWebFragment.java?rev=1231997&r1=1231996&r2=1231997&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/factstore/factstore/src/main/java/org/apache/stanbol/factstore/web/FactStoreWebFragment.java
 (original)
+++ 
incubator/stanbol/trunk/factstore/factstore/src/main/java/org/apache/stanbol/factstore/web/FactStoreWebFragment.java
 Mon Jan 16 13:41:46 2012
@@ -98,7 +98,7 @@ public class FactStoreWebFragment implem
     @Override
     public List<NavigationLink> getNavigationLinks() {
         List<NavigationLink> navList = new ArrayList<NavigationLink>();
-        navList.add(new NavigationLink("factstore", "/factstore", null, 30));
+        navList.add(new NavigationLink("factstore", "/factstore", 
"/imports/abstract.ftl", 30));
         return navList;
     }
     

Added: 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/imports/abstract.ftl
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/imports/abstract.ftl?rev=1231997&view=auto
==============================================================================
--- 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/imports/abstract.ftl
 (added)
+++ 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/imports/abstract.ftl
 Mon Jan 16 13:41:46 2012
@@ -0,0 +1,20 @@
+<#--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+The FactStore is a <strong>stateful interface</strong> to store 
<strong>facts</strong>,
+i.e. semantic relations between entities. An entity is identified by its URI. 
Each fact
+is stored according to its custom <strong>fact schema</strong>. It defines the 
types
+of participating entities and their semantic role in a fact. 
\ No newline at end of file

Modified: 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactStoreRootResource/index.ftl
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactStoreRootResource/index.ftl?rev=1231997&r1=1231996&r2=1231997&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactStoreRootResource/index.ftl
 (original)
+++ 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactStoreRootResource/index.ftl
 Mon Jan 16 13:41:46 2012
@@ -49,17 +49,16 @@ services in combination through their RE
 
 <h3>Specification</h3>
 
-<p>The FactStore specification proposal can be found online at the
-<a href="http://wiki.iks-project.eu/index.php/FactStore_Specification"; 
target="_blank">IKS Wiki page</a>.</p>
-</div>
+<p>The FactStore specification proposal can be found online at the Apache 
Stanbol
+<a 
href="http://incubator.apache.org/stanbol/docs/trunk/factstore/specification.html";
 target="_blank">web site</a>.</p>
 
 <h3>Implementation Status</h3>
 
 <p>The current implementation of the FactStore provides these features:</p>
 
 <ul>
-       <li><a 
href="${it.publicBaseUri}factstore/facts#Publish_a_New_Fact_Schema">Creation of 
Fact Schemas</a></li>
-       <li><a 
href="${it.publicBaseUri}factstore/facts#Publish_New_Facts">Storing of 
Facts</a></li>
+       <li><a 
href="${it.publicBaseUri}factstore/facts#Create_a_New_Fact_Schema">Creation of 
Fact Schemas</a></li>
+       <li><a href="${it.publicBaseUri}factstore/facts#Store_Facts">Storing of 
Facts</a></li>
        <li><a 
href="${it.publicBaseUri}factstore/facts#Query_for_Facts_of_a_Certain_Type">Querying
 for Single Facts</a></li>
 </ul>
 
@@ -134,6 +133,8 @@ syntax. The `@profile` defines the fact 
 fact in the location header of the response. To retrieve a fact you can GET it
 from the returned URI.</p>
 
+</div>
+
 <div class="panel" id="restapi" style="display: none;">
 <h3>Service Endpoints</h3>
 

Modified: 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactsResource/index.ftl
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactsResource/index.ftl?rev=1231997&r1=1231996&r2=1231997&view=diff
==============================================================================
--- 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactsResource/index.ftl
 (original)
+++ 
incubator/stanbol/trunk/factstore/factstore/src/main/resources/org/apache/stanbol/factstore/web/templates/org/apache/stanbol/factstore/web/resource/FactsResource/index.ftl
 Mon Jan 16 13:41:46 2012
@@ -19,13 +19,13 @@
 <@common.page>
 
 <ul>
-       <li><a href="#Publish_a_New_Fact_Schema">Publish a New Fact 
Schema</a></li>
+       <li><a href="#Create_a_New_Fact_Schema">Create a New Fact 
Schema</a></li>
        <li><a href="#Get_Fact_Schema">Get Fact Schema</a></li>
-       <li><a href="#Publish_New_Facts">Publish New Facts</a></li>
+       <li><a href="#Store_Facts">Store Facts</a></li>
        <li><a href="#Query_for_Facts_of_a_Certain_Type">Query for Facts of a 
Certain Type</a></li>
 </ul>
 
-<a name="Publish_a_New_Fact_Schema" 
id="Publish_a_New_Fact_Schema"></a><h4>Publish a New Fact Schema</h4>
+<a name="Create_a_New_Fact_Schema" 
id="Create_a_New_Fact_Schema"></a><h4>Create a New Fact Schema</h4>
 <table>
        <tr>
                <th valign="top">Description: </th>
@@ -227,11 +227,11 @@ function getFactSchema() {
 </table>
 </form>
 
-<a name="Publish_New_Facts" id="Publish_New_Facts"></a><h4>Publish New 
Facts</h4>
+<a name="Store_Facts" id="Store_Facts"></a><h4>Store Facts</h4>
 <table>
        <tr>
                <th valign="top">Description: </th>
-               <td>Allows clients to publish a new facts according to a 
defined fact schema that was previously
+               <td>Allows clients to store a new facts according to a defined 
fact schema that was previously
                published to the FactStore. Each new fact is an n-tuple 
according to its schema where each tuple
                element identifies an entity using its unique IRI.</td>
        </tr>


Reply via email to