3.2.3 Representing relationships between the
created ontology instances
In this step we relate the instances created in the
previous step based on the relationship that exists
between these instances and other objects in the
database. In the example given, assuming a
relationship exists between researchers and projects
where a research can work on multiple projects, we
need to represent a relationship between the
retrieved researchers and the specific projects they
are working on. To do so, the tool performs a search
for all relations that can exist between a researcher
and other database objects by checking relations that
exist between the researcher table and other DB
tables in the XML DB annotated schema. For the
researcher table in the XML file (represented by a
table element), the tool will find that a tag
<has_relation_with="research_project"/> exists; this
means that there exists a many-to-many relationship
between the researcher table described in the
“research_project” bridge table. So, if in the
previous step, an instance was created for a
researcher whose record has a primary key called id
with the value of 7, in this step, the tool will create
a query on the bridge table to get all projects, that
have a researcher with id= 7 (this represents projects
in which this researcher is involved in). The tool
then creates instances for each project record
retrieved from the query. The tool also refines the
attributes in each instance. The “persons_involved”
attribute in the project instances are set to the URI of
the instance of the researcher with id = 7 and the
“involved_in_project” attribute in the researcher
instance, is set to the created instances.
The final result of the annotation process is the
set of related instances generated from the above
steps. These instances that contain semantic
information about the page content will be added to
header of the HTML that is sent to the client.
4 CONCLUSION
The success of the semantic web depends on the
easy creation of ontology-based metadata through
the use of semantic annotation tools. This work
presented an approach whereby annotation of
dynamic pages, which derive their content from
databases, can occur on the fly. The proposed
technique generates annotations according to the
retrieved data by annotating a database schema,
creating a direct link between the structure of the
database (tables and fields of a relational database)
and concepts/properties in ontology, and finally
using this in the annotation process. The proposed
technique is powerful, simple, and easy to
implement. Implementing this approach enables
semantic manipulation of such web pages thus
contributing to the establishment of the semantic
web vision.
ACKNOWLEDGMENTS
This work was sponsored by the European
Community’s FP6 Information Society
Technologies programme under contract IST-
001935, EVERGROW (www.evergrow.org).
REFERENCES
James, H., Berners-Lee, T., Eric, M., 2002. Integrating
Applications on the Semantic Web. In Journal of the
Institute of Electrical Engineers of Japan, Vol 122(10),
October, 2002, p. 676-680.
Handschuh, S., Staab, S., 2002, Authoring and annotation
of Web pages in CREAM, in: Proceedings of the 11th
International World Wide Web Conference (WWW),
Honolulu, Hawaii, ACM Press, 7–11 May 2002, pp.
462–473.
Vargas-Vera, M., et al., 2002, MnM: Ontology Driven
Semiautomatic and Automatic Support for Semantic
Markup, In European Knowledge Acquisition
Workshop 2002, Springer-Verlag, 2002, pp. 379–391.
Kopena, H., and Willim, C. R., 2003, “DAMLHiessKB: A
Tool for Reasoning with the Semantic Web”, IEEE
Intelligent Systems, MAY/JUNE 2003, pp. 74-77.
Siegfried, H., Raphael, V., Staab, S., 2003, Annotation for
the Deep Web, IEEE Intelligent Systems,
SEPTEMBER/OCTOBER 2003, pp. 42-48.
WEBIST 2005 - WEB INTERFACES AND APPLICATIONS
332