Definition#

The triples of an ontology can be organized in different namespaces. For a namespace a corresponding abbreviation is usually defined.

The following expression defines an abbreviation demo for the namespace http://www.d3web.de/demo#.

%%namespace 
demo http://www.d3web.de/demo#
%

By the use of that namespace the following class definition will obtain the URI http://www.d3web.de/demo#Car.

Ontology Imports#

By attaching an ontology-file to this page (containing the ontology in rdf-xml format) an ontology can be imported into the KnowWE rdf-repository as follows:

%%namespace 
movie http://www.movieontology.org/2009/10/01/movieontology.owl#
@file: movie:movie-ontology.owl
%

Note: For this example a file named movie-ontology.owl needs to be attached to this page!