subsequent search in them. The principle of auto-
mated annotation and its implementation is available
in (Kiryakov et al., 2003). The KIM platform works
over the OWLIM repository. Processing and anno-
tation of input documents is implemented using the
tools of the GATE project. The functionality of the
KIM platform is provided using the SOAP web ser-
vices and JAVA RMI interface. The OWLIM reposi-
tory is used for example for BBC Sport web (Rayfield,
2012) or the National Archives in Great Britain (On-
totext AD, 2012a).
The knowledge base used in the OWLIM repos-
itory is based on the PROTON ontology (Ontotext
AD, 2012b). This ontology is divided into three mod-
ules and create a suitable cornerstone for the ontolo-
gies specific to elaborated domains. The KIM World
Knowledge Base as a part of the KIM platform is also
based on this ontology. Documents can be stored in
three supported repositories: Apache Lucene, Seman-
tic Annotation Repository, and Mimir.
To use the semantic repository for a specific do-
main thus means to define a domain ontology. All
classes of this ontology have to be subclasses of the
class Entity from the Proton ontology.
4 REQUIREMENTS AND
DOMAIN ONTOLOGY
Before we started to create a domain ontology we
had to decide what documents and in which for-
mats would be stored in the selected semantic repos-
itory. Finally we decided to index two types of doc-
uments: scientific and other technical publications in
pdf format and discussions in expert electrophysiol-
ogy groups published in the social network LinkedIn.
The typical domain information searched in these
sources could be, for example, as the following one:
”I want to find a discussion about the matching pur-
suit method that is used to investigate the existence
of the P3 component”. The aim of the proposed so-
lution is to find the relevant information for this kind
of query. It is also necessary to easily find the query
results in original documents.
Beside necessary installation and configuration of
the KIM platform the domain ontology that enables
an advanced search has to be created. Since the on-
tology serves for the evaluation of functionality of the
semantic repository, it was not proposed to be con-
structed using the best principles for creating ontolo-
gies like looking for terms in the ontologies cover-
ing similar domains. As a result a simple prototype
of the domain ontology using the data model of the
EEG/ERP Portal enriched by defining terms and rela-
tionships from specific parts of the domain was devel-
oped.
The base of this ontology is a collection of evoked
potentials components (Figure 1) and methods used
for EEG/ERP signal processing. The graph descrip-
tion of the components includes individual compo-
nents, their polarity and their group membership.
Some components also have their aliases which can
be found in the literature. When creating these aliases
we took into account some terminological customs,
for example the component P3 is usually used as an
alias to the component P3b and not as a superior term
for all P3 components. That is why the component P3
is considered as an alias to the P3b component in the
graph structure and not as a super class denoting the
whole family of components. This graph as well as
the graph representing the signal processing methods
was expressed as an ontology in the OWL language.
The KIM platform imposes additional require-
ments on the form of ontologies, for example, all
created terms have to be marked as trusted. How-
ever, when creating an ontology is better to focus
on description of knowledge and extend the ontol-
ogy by additional information later. A tool named
KIM-OWLImport was proposed and developed to fa-
cilitate development of ontologies for the KIM plat-
form and OWLIM repository. It enables users to focus
on the ontology development itself while it automat-
ically transforms it into/from the OWLIM repository
in structures relevant to the Proton ontology.
5 KIM-OWLImport
The KIM-OWLImport is a tool that allows extend-
ing an existing ontology in a way that it can be used
within the KIM platform (trusted resources have to be
defined, all classes have a supeclass Entity or eventu-
ally a more specific class from a limited set, visibility
in the web interface is ensured). Moreover, the tool is
designed to be easily extensible by the possible future
conditions defined within the KIM platform. The tool
has a graphical user interface in which users can add,
create and/or edit their ontologies. For each ontology
it is possible to define a set of rules that are applied
back to the ontology. The tool does not work with
the basic RDF/XML syntax but works directly with
triples using the Sesame library (Sesame developers,
2012). Sesame provides API that is used (in this case)
to access a semantic repository OWLIM-Lite. Sesame
also supports its query language SeRQL. The follow-
ing query (Figure 2) shows the case when individual
entities are extended with the property generatedby;
the property value is a trusted resource.
ToolFacilitatingConstructionofOntologiesontheKIMPlatform
661