Author: buildbot
Date: Tue Dec 13 17:07:33 2011
New Revision: 800207
Log:
Staging update by buildbot
Added:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry.html
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry.html
==============================================================================
---
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry.html
(original)
+++
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry.html
Tue Dec 13 17:07:33 2011
@@ -60,7 +60,7 @@
<h2 id="usage_scenarios">Usage Scenarios</h2>
<p>TODO</p>
<h2 id="configuration">Configuration</h2>
-<p>Ontology registries (and, by extension, the libraries they reference) are
configured by the Stanbol administrator via the Felix Web console. <em>Note
that the following links assume Stanbol to be deployed on
http://localhost:8080</em></p>
+<p>Ontology registries (and, by extension, the libraries they reference) are
configured by the Stanbol administrator via the Felix Web console. <em>Note
that the following links assume Stanbol to be deployed on http://localhost:8080
.</em></p>
<ol>
<li>Go to the <a href="http://localhost:8080/system/console/configMgr">Felix
console Configuration Manager</a> and select <strong>Apache Stanbol Ontology
Registry Manager</strong> (or follow this <a
href="http://localhost:8080/system/console/configMgr/org.apache.stanbol.ontologymanager.registry.impl.RegistryManagerImpl">direct
link</a>)</li>
<li>Under <strong>Registry locations</strong> you can add or remove the
physical URIs of ontology registries, i.e. RDF resources that contain knowledge
about ontology libraries.</li>
@@ -71,10 +71,13 @@
<h3 id="setup_an_ontology_registry">Setup an Ontology Registry</h3>
<p>To create a Registry, you simply need to make an OWL ontology with certain
types of axioms. See <a href="registry/language.html">Registry Language</a> for
examples on how to create a Registry and add Library instances to it. </p>
<p>Then upload the ontology on the Web and add it to the <strong>Registry
locations</strong> from the <a
href="http://localhost:8080/system/console/configMgr/org.apache.stanbol.ontologymanager.registry.impl.RegistryManagerImpl">Felix
console Configuration</a>.</p>
+<p>Note that not only can a single registry describe multiple libraries, but
also multiple registries can describe the same library, each adding information
on the ontologies referenced by it. Library descriptions are
<em>monotonic</em>, in that registries can only <em>add</em> information about
libraries, never <em>remove</em> any.</p>
+<h3 id="access_a_cached_ontology">Access a cached ontology</h3>
+<p>A cached ontology does not need to be loaded into an OntoNet scope or
session in order to be available. It can be accessed at @/ontonet/{ontologyURI}
.</p>
<h3 id="service_endpoints">Service Endpoints</h3>
-<p>Because the configuration of registries is a task for
<strong>administrators</strong>, there are no RESTful APIs for modifying
ontology registries.</p>
+<p>Because the configuration of registries is a task for
<strong>administrators</strong> and is performed through the Felix
administration console, there are no RESTful services for modifying ontology
registries. It is however possible to browse the known ontology libraries.</p>
<ul>
-<li><a
href="http://localhost:8080/ontonet/registry"><strong>Libraries</strong></a>.
If called from a Web browser, shows a list of known ontology libraries, and for
each of them the caching state and the number of referenced ontologies.
Supports only GET with no parameters, generates text/html only. </li>
+<li><a
href="http://localhost:8080/ontonet/registry"><strong>Libraries</strong></a>.
If called from a Web browser, shows a list of known ontology libraries, and for
each of them the caching state and the number of referenced ontologies.
<em>Note that this service does not provide information on the registries that
describe these libraries; that is classified information for
administrators.</em> This endpoint supports only GET with no parameters, and
generates text/html only.</li>
</ul>
<hr />
<p><em><a href="../ontologymanager.html">Back to Ontology Manager</a></em></p>
Added:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
==============================================================================
---
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
(added)
+++
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
Tue Dec 13 17:07:33 2011
@@ -0,0 +1,93 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+ 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.
+-->
+
+ <link href="/stanbol/css/stanbol.css" rel="stylesheet" type="text/css">
+ <title>Apache Stanbol - Ontology Registry Manager</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <link rel="icon" type="image/png"
href="/stanbol/images/stanbol-logo/stanbol-favicon.png"/>
+</head>
+
+<body>
+ <div id="navigation">
+ <img alt="Apache Stanbol" width="220" height="101"
src="/stanbol/images/stanbol-logo/stanbol-2010-12-14.png"/>
+ <h1 id="stanbol_links">Stanbol links</h1>
+<ul>
+<li><a href="/stanbol/index.html">Home</a></li>
+<li><a href="/stanbol/docs/trunk/tutorial.html">Tutorial</a></li>
+<li><a href="/stanbol/docs/trunk/downloads.html">Downloads</a></li>
+<li><a href="/stanbol/docs/trunk/building.html">Building from Source</a></li>
+<li><a href="/stanbol/docs/trunk/">Documentation</a></li>
+<li><a href="/stanbol/docs/trunk/mailinglists.html">Mailing Lists</a></li>
+<li><a href="https://issues.apache.org/jira/browse/STANBOL">Issue
Tracker</a></li>
+<li><a href="/stanbol/team.html">Project Team</a></li>
+</ul>
+<h1 id="asf_links">ASF links</h1>
+<ul>
+<li><a href="http://www.apache.org">Apache Software Foundation</a></li>
+<li><a href="http://www.apache.org/licenses/LICENSE-2.0">License</a></li>
+<li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+<li><a href="http://www.apache.org/foundation/sponsorship.html">Become a
Sponsor</a></li>
+<li><a href="http://www.apache.org/security/">Security</a></li>
+</ul>
+ </div>
+
+ <div id="content">
+ <h1 class="title">Ontology Registry Manager</h1>
+ <p>The following RDF code (in Turtle syntax) shows how to create an OWL
individual for a library called <tt>SocialOntologies</tt> which contains the
ontologies of <a href="http://sioc-project.org/ontology">SIOC</a> and <a
href="http://trdf.sourceforge.net/provenance/ns.html">Provenance</a>.</p>
+<div class="codehilite"><pre><span class="nv">@prefix</span> <span
class="n">meta:</span> <span
class="sr"><http://www.ontologydesignpatterns.org/schemas/meta.owl#></span>
<span class="o">.</span>
+<span class="nv">@prefix</span> <span class="n">owl:</span> <span
class="sr"><http://www.w3.org/2002/07/owl#></span> <span
class="o">.</span>
+<span class="nv">@prefix</span> <span class="n">rdf:</span> <span
class="sr"><http://www.w3.org/1999/02/22-rdf-syntax-ns#></span> <span
class="o">.</span>
+<span class="nv">@prefix</span> <span class="n">rdfs:</span> <span
class="sr"><http://www.w3.org/2000/01/rdf-schema#></span> <span
class="o">.</span>
+<span class="nv">@prefix</span> <span class="p">:</span> <span
class="sr"><http://www.example.org/ontologies/registries#></span> <span
class="o">.</span>
+<span class="nv">@base</span> <span
class="sr"><http://www.example.org/ontologies/registries></span> <span
class="o">.</span>
+
+<span class="p">:</span><span class="n">SocialOntologies</span> <span
class="n">rdf:type</span> <span
class="sr"><http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl#OntologyLibrary></span>
<span class="p">;</span>
+ <span class="n">rdfs:label</span> <span class="s">"Social
Network Ontologies"</span><span class="o">^^</span><span
class="n">xsd:string</span> <span class="p">;</span>
+ <span class="n">owl:versionInfo</span> <span
class="s">"0.1"</span><span class="o">^^</span><span
class="n">xsd:string</span> <span class="p">;</span>
+ <span class="n">meta:hasOntology</span> <span
class="sr"><http://rdfs.org/sioc/ns></span> <span class="p">;</span>
+ <span class="n">meta:hasOntology</span> <span
class="sr"><http://trdf.sourceforge.net/provenance/ns.rdf></span> <span
class="o">.</span>
+</pre></div>
+
+
+<p>You can also specify Library-Ontology relations the other way around, by
stating them in the OWL individual that represents the ontology</p>
+<div class="codehilite"><pre><span
class="sr"><http://rdfs.org/sioc/ns></span> <span
class="n">rdf:type</span> <span
class="sr"><http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology></span>
<span class="p">;</span>
+ <span class="n">meta:isOntologyOf</span> <span
class="p">:</span><span class="n">SocialOntologies</span> <span
class="o">.</span>
+</pre></div>
+
+
+<hr />
+<p><em><a href="../registry.html">Back to RegistryOntology Manager</a></em>
+<em><a href="../../ontologymanager.html">Back to Ontology Manager</a></em></p>
+ </div>
+
+ <div id="footer">
+ <div class="copyright">
+ <p>
+ Copyright © 2010 The Apache Software Foundation, Licensed under
+ the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache
License, Version 2.0</a>.
+ <br />
+ Apache, Stanbol and the Apache feather and Stanbol logos are
trademarks of The Apache Software Foundation.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>