This page (revision-24) was last changed on 10-Feb-2017 10:50 by Albrecht Striffler

This page was created on 25-Oct-2013 10:38 by Jochen Reutelshöfer

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
24 10-Feb-2017 10:50 2 KB Albrecht Striffler to previous
23 10-Feb-2017 10:49 2 KB Albrecht Striffler to previous | to last
22 21-May-2014 16:03 2 KB Joba Baumeister to previous | to last
21 21-May-2014 16:00 2 KB Joba Baumeister to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 removed one line
At line 13 removed one line
At line 25 removed one line
At line 28 removed 2 lines
The following example defines the package name {{myPackageName}} and creates a new ontology using this package.
At line 31 changed 3 lines
%%Ontology
@uses: myPackageName
%
%%class Person
At line 35 changed one line
%%Package myPackageName
%%Individual Ms. Moneypenny
At line 37 changed 6 lines
%%Turtle
:System rdf:type owl:Class .
:KnowWE rdf:type :System ;
rdfs:label "KnowWE Wiki" .
%
%%relation "Ms. Moneypenny" rdf:type Person
At line 45 changed one line
On the same page, the [Turtle|Doc Turtle] markup is used to define an owl:Class {{System}} (in the local namespace) and an instance of {{System}} with the name {{KnowWE}}. Additionally, the label "KnowWE Wiki" is defined.
For the third markup line (relation markup), three ontology entities are used. The first (''Ms. Moneypenny'') and third (''Person'') are from the local namespace and therefor the namespace prefix is omitted. The second part is from the predefined rdf vocabulary, therefor the rdf-namespace is used as a prefix by a colon.
At line 47 removed 17 lines
!!!Importing existing ontologies into a KnowWE ontology
By attaching an ontology-file to this page (containing the ontology in any standard ontology format) an ontology can be imported into the KnowWE ontology repository as follows:
{{{
%%Ontology
@import: movie-ontology.owl
%
}}}
__Note:__ For this example a file named ''movie-ontology.owl'' needs to be attached to ''this'' page!
!!! See Also
At line 66 removed one line
* [Turtle| Doc Turtle]
At line 41 added one line
* [Turtle| Doc Turtle]
At line 43 added one line
At line 46 added 3 lines