Table of Contents

Definition#

Besides XML the W3C has standardized the Turtle syntax to define ontologies. In KnowWE the syntax can be used within the markup Turtle:

%%Turtle...

The markup allows for the definition of multiple turtle statements within one markup block. Also, the namespaces rdf, rdfs, and owl are already defined and ready to use.

Example#

The following example defines an owl:Class with the name System and a corresponding instance with the name KnowWE.

%%turtle
:System rdf:type owl:Class .

:KnowWE rdf:type :System ; 
    rdfs:label "KnowWE Wiki" .
%

This expression defines five triples. By the use of colons multiple assertions can be defined for one subject. Furthermore, for one property, multiple assertions can be stated by listing the respective relation objects as a comma-separated list as shown above with the different labels.

See Also#

Add new attachment

Only authorized users are allowed to upload new attachments.
This page (revision-4) was last changed on 21-May-2014 16:11 by Joba Baumeister