
public interface HasAge {
public int getAge();
}
public class Person implements HasAge {
private int age;
@Override
public int getAge() { return age; }
}
The code above is serialized into the following form:
<owl:ObjectProperty
rdf:about="#HasAge">
<rdfs:domain rdf:resource="#Person"/>
<rdfs:range
rdf:resource="http://www.w3.org/20
01/XMLSchema#integer"/>
</owl:ObjectProperty>
5 CONCLUSIONS
Many scientific papers deal with a domain
description using a specific ontology. These
ontologies serve as recognizable data sources
accessible by automatic software readers. However,
current software systems are usually object-oriented
and they operate over large data collections usually
stored in relational databases.
Since fundamental differences between
semantics of object-oriented code and OWL exist,
there is necessary to ensure a suitable mapping.
Because expressive capabilities of OWL are
richer than in the case of object-oriented we are
looking for the ways to fill this semantic gap.
We investigated several approaches described in
this paper. The most of tested frameworks are
difficult to use either because added semantic
information is insufficient or confused, or the usage
of modified compiler or interpreter is required.
As the result we presented an idea based on the
concept of Java annotations that can be deployed
without substantial difficulties. Our solution is an
initial proposal using current Java technologies. It
covers essential semantic gaps between mentioned
representations. In the near future, we plan to
capture more semantic differences to provide
a richer semantic description of object-oriented code
using annotations. At the same time we plan to
develop a framework ensuring fully automated
transformation. This approach is going to be realized
within development of EEG/ERP database (Ježek
and Mouček, 2010) and its registration as
a recognized data source within Neuroscience
Information Framework (Gupta, 2008).
ACKNOWLEDGEMENTS
This work was supported by grants Ministry of
Education, Youth and Sport of the Czech Republic
under the grant ME 949 and UWB grant SGS-2010-
038 Methods and Applications of Biomedical
Informatics.
REFERENCES
Berners-Lee, T., 2001. The Semantic Web. In Scientific
American (pp. 34-43).
RDF Resource Description Framework (RDF). 2004.
Retrieved January, 2011, from
http://www.w3.org/RDF/
OWL Ontology Web Language (OWL). 2000. Retrieved
January, 2011, from http://www.w3.org/TR/owl2-
overview/
Semantic Web for Object-Oriented Software Developers
(OWL Primer), 2006, Retrieved January, 2011, from
http://www.w3.org/TR/sw-oosd-primer/
Mouček, R., Ježek, P., 2010. System for Storage and
Management of EEG/ERP Experiments – Generation
of Ontology. In 12
th
International Conference on
Enterprise Information System, Volume 1 (pp. 415-
420)
Ježek, P., Mouček, R., 2010. EEG/ERP Portal – Semantic
Web Extension. In Second Global Congress on
Intelligent Systems (pp. 392-395)
JenaBean, n.d. Retrieved January, 2011, from
http://www.ibm.com/developerworks/java/library/j-
jenabean.html
OwlApi, n.d. Retrieved January, 2011, from
http://owlapi.sourceforge.net/
Oren, E., Delbru, R., Gerke, S., Haller, A. and Decker S.,
2007. ActiveRDF: object-oriented semantic web
protramming, In Proceedings of the 16
th
international
conference on World Wide Web (pp. 817-824)
Po-Huan, Ch., Chi-Chuan, L., Kuo-Ming, Ch., 2009.
Integrationg Semanic Web and Object-Oriented
Programming for Cooperative Desig, In Journal of
University Computer Science, vol. 15, no. 9
Liu, F., Wang, J., Dillon, S. T., 2007. Web Information
Representation, Extraction and Reasoning based on
Existing Programming Technology, In Computational
Inteligence 37 (pp. 147-168)
JavaAnnotations, n.d. Retrieved January, 2011, from
http://download.oracle.com/javase/1.5.0/docs/guide/la
nguage/annotations.html
Ježek, P., Mouček, R., 2010. Database of EEG/ERP
experiments, In Healthinf 2010 – Proceeding Third
International Conference on Health Informatics.
Valencia Spain.
Gupta, A., Bug,W., Marenco, L., Qian, X., Condit, C.,
Rangarajan, A., et al., 2008. Federated access to
heterogeneous information resources in the
Neuroscience Information Framework (NIF), In
Neuroinformatics, Volume 6, Number 3, (pp. 175-
194)
ICEIS 2011 - 13th International Conference on Enterprise Information Systems
210