The Namespace Markup#

Namespace Definitions#

KnowWE allows to manage different rdf namespaces with the corresponding abbreviations.

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!