<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://neurolex.org/wiki/'>
	<!ENTITY property 'http://neurolex.org/wiki/Property-3A'>
	<!ENTITY wikiurl 'http://neurolex.org/wiki/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:property="&property;">
	<!-- Ontology header -->
	<owl:Ontology rdf:about="">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2013-06-20T04:59:02-07:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0" />
	</owl:Ontology>
	<!-- exported page data -->
	<owl:Class rdf:about="&wiki;Category-3AResource-3AEEGbase">
		<rdfs:label>Resource:EEGbase</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Resource:EEGbase"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Resource:EEGbase"/>
		<property:Abbrev rdf:datatype="http://www.w3.org/2001/XMLSchema#string">EEGbase</property:Abbrev>
		<property:CurationStatus rdf:datatype="http://www.w3.org/2001/XMLSchema#string">curated</property:CurationStatus>
		<property:DefiningCitation rdf:datatype="http://www.w3.org/2001/XMLSchema#string">http://eegdatabase.kiv.zcu.cz/</property:DefiningCitation>
		<property:Definition rdf:datatype="http://www.w3.org/2001/XMLSchema#string">EEG base is a system for storage and management of EEG/ERP resources - data, metadata, tools and materials related to EEG/ERP experiments. EEG base advances electrophysiology research by enabling access to public data, tools and results of research groups. 

The system essentially offers the following set of features (the set of accessible features depends on a specific user role):
* User authentication
* Storage, update, and download of EEG/ERP data and metadata
* Storage, update and download of EEG/ERP experimental design (experimental scenarios)
* Storage, update and download of data related to testing subjects
* Fulltext search
* Sharing of knowledge and working in groups

The system is based on tree layer architecture (MVC pattern) consisting of persistent layer (relational database), application layer (object oriented code, object relational mapping from persistence layer) and presentation layer (JSP). The persistence layer uses Hibernate framework; Oracle 11g database server is used to ensure the processing of large data files. Application and presentation layers are designed and implemented using Spring technology. This framework supports MVC architecture, Dependency injection and Aspect Oriented Programming.  There were no  significant difficulties with integration of both frameworks, Hibernate and Spring MVC. Spring Security framework is used to ensure management of authentication and user roles.

Since the system is thought to be finally open to the whole EEG/ERP community it is necessary to protect EEG/ERP data and metadata, and especially personal data of testing subjects stored in the database from an unauthorized access. Then a restricted user policy is applied and user roles are introduced.

The complete overview of the system features and user roles (use case diagram) is available in (Pergler 2009).
Concerning the architectural layers there is a question which layer is more feasible for mapping of its structure into  ontology.

Currently we have studied two possibilities:
* Mapping from the persistence layer (relational database)
* Mapping from the application layer (object oriented code)

The mapping from the application layer to  an ontology includes the precedent object relational mapping provided by Hibernate framework.</property:Definition>
		<property:ExampleImage rdf:resource="&wiki;File-3AEEGbase.PNG"/>
		<property:Grant rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Category:1F84B/042/520 </property:Grant>
		<property:Grant rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Category:102/07/1191 </property:Grant>
		<property:Grant rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Category:406/09/0150 </property:Grant>
		<property:Grant rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Category:ME 949 </property:Grant>
		<property:Has_role rdf:resource="&wiki;Category-3AData_repository"/>
		<property:Has_role rdf:resource="&wiki;Category-3ADatabase"/>
		<property:Id rdf:datatype="http://www.w3.org/2001/XMLSchema#string">nif-0000-08190</property:Id>
		<property:Is_part_of rdf:resource="&wiki;Category-3AUniversity_of_West_Bohemia;_Pilsen;_Czech_Republic"/>
		<property:Keywords rdf:resource="&wiki;Category-3AElectroencephalography_recording_protocol"/>
		<property:Keywords rdf:resource="&wiki;Category-3AEvent_related_potential"/>
		<property:Keywords rdf:resource="&wiki;Category-3AExperiments"/>
		<property:Keywords rdf:resource="&wiki;Category-3AScenarios"/>
		<property:Label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Resource:EEGbase</property:Label>
		<property:ModifiedDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2012-04-19T00:00:00</property:ModifiedDate>
		<property:PublicationLink rdf:resource="http://www.youtube.com/watch?v=2WuYVUM9FZo"/>
		<property:RelatedTo rdf:resource="&wiki;Category-3AResource-3ANIF_Data_Federation"/>
		<property:SuperCategory rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Resource</property:SuperCategory>
		<property:Supporting_Agency rdf:resource="&wiki;Category-3AMinistry_of_Education"/>
		<property:Supporting_Agency rdf:resource="&wiki;Category-3ACzech_Science_Foundation"/>
		<property:Synonym rdf:datatype="http://www.w3.org/2001/XMLSchema#string">EGG base</property:Synonym>
		<rdfs:subClassOf rdf:resource="&wiki;Category-3AResource"/>
	</owl:Class>
	<!-- auxilliary definitions -->
	<owl:Class rdf:about="&wiki;Category-3AResource">
		<rdfs:label>Resource</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Resource"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Resource"/>
	</owl:Class>
	<owl:DatatypeProperty rdf:about="&property;Synonym">
		<rdfs:label>Synonym</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Synonym"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Synonym"/>
	</owl:DatatypeProperty>
	<owl:Class rdf:about="&wiki;Category-3ACzech_Science_Foundation">
		<rdfs:label>Czech Science Foundation</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Czech_Science_Foundation"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Czech_Science_Foundation"/>
	</owl:Class>
	<owl:Class rdf:about="&wiki;Category-3AMinistry_of_Education">
		<rdfs:label>Ministry of Education</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Ministry_of_Education"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Ministry_of_Education"/>
	</owl:Class>
	<owl:ObjectProperty rdf:about="&property;Supporting_Agency">
		<rdfs:label>Supporting Agency</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Supporting_Agency"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Supporting_Agency"/>
	</owl:ObjectProperty>
	<owl:DatatypeProperty rdf:about="&property;SuperCategory">
		<rdfs:label>SuperCategory</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:SuperCategory"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:SuperCategory"/>
	</owl:DatatypeProperty>
	<owl:Class rdf:about="&wiki;Category-3AResource-3ANIF_Data_Federation">
		<rdfs:label>Resource:NIF Data Federation</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Resource:NIF_Data_Federation"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Resource:NIF_Data_Federation"/>
	</owl:Class>
	<owl:ObjectProperty rdf:about="&property;RelatedTo">
		<rdfs:label>RelatedTo</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:RelatedTo"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:RelatedTo"/>
	</owl:ObjectProperty>
	<owl:ObjectProperty rdf:about="&property;PublicationLink">
		<rdfs:label>PublicationLink</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:PublicationLink"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:PublicationLink"/>
	</owl:ObjectProperty>
	<owl:DatatypeProperty rdf:about="&property;ModifiedDate">
		<rdfs:label>ModifiedDate</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:ModifiedDate"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:ModifiedDate"/>
	</owl:DatatypeProperty>
	<owl:DatatypeProperty rdf:about="&property;Label">
		<rdfs:label>Label</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Label"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Label"/>
	</owl:DatatypeProperty>
	<owl:Class rdf:about="&wiki;Category-3AScenarios">
		<rdfs:label>Scenarios</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Scenarios"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Scenarios"/>
	</owl:Class>
	<owl:Class rdf:about="&wiki;Category-3AExperiments">
		<rdfs:label>Experiments</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Experiments"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Experiments"/>
	</owl:Class>
	<owl:Class rdf:about="&wiki;Category-3AEvent_related_potential">
		<rdfs:label>Event related potential</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Event_related_potential"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Event_related_potential"/>
	</owl:Class>
	<owl:Class rdf:about="&wiki;Category-3AElectroencephalography_recording_protocol">
		<rdfs:label>Electroencephalography recording protocol</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Electroencephalography_recording_protocol"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Electroencephalography_recording_protocol"/>
	</owl:Class>
	<owl:ObjectProperty rdf:about="&property;Keywords">
		<rdfs:label>Keywords</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Keywords"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Keywords"/>
	</owl:ObjectProperty>
	<owl:Class rdf:about="&wiki;Category-3AUniversity_of_West_Bohemia;_Pilsen;_Czech_Republic">
		<rdfs:label>University of West Bohemia; Pilsen; Czech Republic</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:University_of_West_Bohemia;_Pilsen;_Czech_Republic"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:University_of_West_Bohemia;_Pilsen;_Czech_Republic"/>
	</owl:Class>
	<owl:ObjectProperty rdf:about="&property;Is_part_of">
		<rdfs:label>Is part of</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Is_part_of"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Is_part_of"/>
	</owl:ObjectProperty>
	<owl:DatatypeProperty rdf:about="&property;Id">
		<rdfs:label>Id</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Id"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Id"/>
	</owl:DatatypeProperty>
	<owl:Class rdf:about="&wiki;Category-3ADatabase">
		<rdfs:label>Database</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Database"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Database"/>
	</owl:Class>
	<owl:Class rdf:about="&wiki;Category-3AData_repository">
		<rdfs:label>Data repository</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Category:Data_repository"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Category:Data_repository"/>
	</owl:Class>
	<owl:ObjectProperty rdf:about="&property;Has_role">
		<rdfs:label>Has role</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Has_role"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Has_role"/>
	</owl:ObjectProperty>
	<owl:DatatypeProperty rdf:about="&property;Grant">
		<rdfs:label>Grant</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Grant"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Grant"/>
	</owl:DatatypeProperty>
	<swivt:Subject rdf:about="&wiki;File-3AEEGbase.PNG">
		<rdfs:label>File:EEGbase.PNG</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;File:EEGbase.PNG"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/File:EEGbase.PNG"/>
	</swivt:Subject>
	<owl:ObjectProperty rdf:about="&property;ExampleImage">
		<rdfs:label>ExampleImage</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:ExampleImage"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:ExampleImage"/>
	</owl:ObjectProperty>
	<owl:DatatypeProperty rdf:about="&property;Definition">
		<rdfs:label>Definition</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Definition"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Definition"/>
	</owl:DatatypeProperty>
	<owl:DatatypeProperty rdf:about="&property;DefiningCitation">
		<rdfs:label>DefiningCitation</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:DefiningCitation"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:DefiningCitation"/>
	</owl:DatatypeProperty>
	<owl:DatatypeProperty rdf:about="&property;CurationStatus">
		<rdfs:label>CurationStatus</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:CurationStatus"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:CurationStatus"/>
	</owl:DatatypeProperty>
	<owl:DatatypeProperty rdf:about="&property;Abbrev">
		<rdfs:label>Abbrev</rdfs:label>
		<swivt:page rdf:resource="&wikiurl;Property:Abbrev"/>
		<rdfs:isDefinedBy rdf:resource="&wikiurl;Special:ExportRDF/Property:Abbrev"/>
	</owl:DatatypeProperty>
	<!-- References to the SWiVT Ontology, see http://semantic-mediawiki.org/swivt/ -->
	<owl:AnnotationProperty rdf:about="&swivt;page">
		<rdfs:isDefinedBy rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:AnnotationProperty>
	<owl:AnnotationProperty rdf:about="&swivt;creationDate">
		<rdfs:isDefinedBy rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:AnnotationProperty>
	<owl:Class rdf:about="&swivt;Subject">
		<rdfs:isDefinedBy rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Class>
	<!-- Created by Semantic MediaWiki, http://semantic-mediawiki.org -->
</rdf:RDF>