Author: buildbot
Date: Tue Dec 13 17:18:48 2011
New Revision: 800209
Log:
Staging update by buildbot
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
==============================================================================
---
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
(original)
+++
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/ontologymanager/registry/language.html
Tue Dec 13 17:18:48 2011
@@ -20,7 +20,7 @@
-->
<link href="/stanbol/css/stanbol.css" rel="stylesheet" type="text/css">
- <title>Apache Stanbol - Ontology Registry Manager</title>
+ <title>Apache Stanbol - Ontology Registry Language</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>
@@ -50,32 +50,39 @@
</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>
+ <h1 class="title">Ontology Registry Language</h1>
+ <p>To create an ontology registry, simply create an ontology and upload it
somewhere on the Web.
+Supported formats are RDF/XML, OWL/XML, Turtle, N3, Manchester OWL Syntax and
OWL Functional Syntax. RDF/JSON and JSON-LD are not supported.</p>
+<p>The ontology must contain individuals of type
<[http://www.ontologydesignpatterns.org/cpont/codo/coddata.owl#OntologyLibrary]>
(libraries) and/or
<[http://www.ontologydesignpatterns.org/cpont/codo/codkernel.owl#Ontology]>
(ontologies referenced by libraries). The URI that identifies an individual of
type <tt>Ontology</tt> MUST be the (dereferenceable) physical location of the
ontology document, no matter if it differs from the actual ontology ID (which
is found out only after the ontology is laoded).</p>
+<p>Relations between libraries and ontologies are assertions on the properties
<[http://www.ontologydesignpatterns.org/schemas/meta.owl#hasOntology]>
(with subject of type <tt>OntologyLibrary</tt> and object of type
<tt>Ontology</tt>) and
<[http://www.ontologydesignpatterns.org/schemas/meta.owl#isOntologyOf]>
(withg inverted subject and object types). It does not matter which property
you choose.</p>
+<h2 id="examples">Examples</h2>
+<p>Given the prefix mappings:</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>
+</pre></div>
+
-<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>
+<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="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>
+<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>
+<p><em><a href="../registry.html">Back to RegistryOntology Manager</a></em></p>
+<p><em><a href="../../ontologymanager.html">Back to Ontology
Manager</a></em></p>
</div>
<div id="footer">