Abstract
Semantic web facilitates the effective sharing and reuse of existing information. Institutional repositories (IRs) are built to organize and manage the intellectual output of an institute. They generally use relational databases for maintaining metadata of digital documents. The focus of this research is to share the information of an existing IR with other information systems for discovering common interests. To process the data in semantic context, a relational database needs to be transformed into an ontology. The existing relation to ontology transformation systems produces odd results if they are applied on an IR database because its schema is meta-schema. The proposed system first creates an intermediate database, having a normalized schema for the data model of an institute preserved in an IR database and then transforms it into an ontology. Finally semantic correspondence is established between entities of source and target ontologies in order to integrate them. The system has been implemented and evaluated for its correct and lossless transformation. The results demonstrate that the transformation is correct and the information is preserved.
1. Introduction
Internet technologies have enabled academics to connect and collaborate by sharing their research online. An ontology can facilitate the effective sharing and reuse of existing information and can create an integrated view of multidisciplinary information [1–5]. It represents a data source at a higher level of abstraction and manifests the semantics of a source [6]. It provides self-describing data which is readable by machines and performs reasoning to categorize and find associations. VIVO 1 is an open source ontology (i.e. Semantic Web application) that has been developed to enable discovery of research and scholarship across disciplines [4, 5].
Institutional repositories (IRs) are often built to organize and manage the intellectual output of an institute to enhance scholarly communication. They encourage collaboration within and between disciplines and groups to help faculty, researchers and students discover common interests and make connections [7]. Most existing IRs, such as DSpace, 2 EPrints, 3 Invenio 4 and Archimede, 5 are commonly used relational database schema for maintaining metadata that provide detailed description about digital documents. We have adopted for this research DSpace, an open source IR software, developed by MIT and HP Labs, USA [7–9]. A noteworthy feature of all IRs, particularly DSpace, is their flexible data models that can be customized to arrange the digital documents in a repository according to the organizational structure of an institute [7, 10]. An IR database handles the many different data models that institutes have without the need for changes to its internal schema. The data model of an IR is not directly converted into an IR database schema, but it is stored in the IR database. In other words, there is no one-to-one correspondence between the entities of an IR data model and the relations of the IR database. A database schema is known as normalized (i.e. relational normal form) when there is one-to-one correspondence between the entities of a data model and the relations of a database. The schema of an IR database is a meta-schema, that is, a schema to describe another schema. An IR database schema is not a normalized schema with respect to the data model of an institute.
The aim of this research is to share the information of an existing IR with other information systems within the institution or outside to help its community for discovering common interests and making connections. In order to enable users from the outside world to discover and explore the full range of research and scholarship available in an institute, we need to transform an IR database into an ontology. The ontology helps in integrating its data with a target ontology such as VIVO for the sharing and reuse of information for knowledge discovery. A substantial amount of research has already been carried out in transforming a relational database to an ontology [11–18]. However, the existing relation to ontology transformation systems produce odd results if they are applied on a DSpace database because its schema is a meta-schema, not a normalized schema. DSpace database relations cannot be mapped to ontology classes because a class has to be created for a data model’s entity, which is preserved in a database relation. Therefore, it is necessary to extract the data model from a DSpace database prior to transforming it into an ontology. This makes the transformation novel from the typical relational to ontology transformation. Moreover, some of the existing systems do not properly create a parent–child hierarchy (i.e. generalization and specialization) between classes of an ontology and some others do not appropriately handle multivalued attributes of database relations in transformation and lose data semantics. In addition, the ontology created from an IR database needs to be aligned with the target ontology, for example, VIVO, in order to populate its data into the target ontology. It can be achieved by identifying or establishing semantic correspondence between the entities (i.e. classes and properties) of both ontologies.
Our proposed system DSont extracts data (i.e. metadata of digital contents) from an IR database to identify the data model of an IR and builds an intermediate relational database that has a normalized schema with respect to the identified data model. Then additional relevant data are extracted from the IR database to populate this intermediate database. Once we get a relational database with a normalized schema, then a relational to ontology transformation technique can be applied on this database to transform it to an ontology. We extended the basic relation to ontology transformation rules to make them capable of handling multivalued attributes of a relation and creating a parent–child hierarchy in an ontology. Once we generate an ontology, then the instances from the generated ontology can be aligned and integrated with data or instances expressed in the target ontology. In order to perform that, the classes from both source and target ontologies are extracted and simple mappings between these classes are semi-automatically generated by a user. Then the individuals (i.e. instances) of these mapped classes are matched and proper Universal Resource Identifiers (URIs) are given to each individual. These individuals are linked with their respective VIVO classes. Finally, a resource description framework (RDF), having VIVO individuals, is generated and loaded into VIVO.
The distinguishing features of the proposed system are: (a) identifying the data model of an institute; (b) extracting metadata of a repository; (c) building a proper parent–child hierarchy between classes of ontology to preserve the data model hierarchy; (d) generating mappings between ontologies; and (e) translating data or instances from a source ontology into corresponding data or instances expressed in the target ontology. The evaluation criteria of the proposed system are: (a) preservation of information capacity; and (b) transformation accuracy. The former is important to find information loss (if any) as a result of transformation and the latter is significant to find the quality of the built ontology. A correct and lossless transformation ensures that all data in a source model is represented in the target model. Three datasets were used for the evaluation of our system. The evaluation demonstrates that the proposed system produced positive results. The rest of this paper is organized as follows. Section 2 briefly introduces VIVO and DSpace, and describes an IR data model as an example. Section 3 describes the related work. Section 4 presents the proposed system. Section 5 illustrates result evaluation and comparison. Finally Section 6 concludes the paper.
2. Case study – Dspace to VIVO
In this section, we introduce VIVO and DSpace and justify their selection for this research. Moreover we provide an example scenario that will be used in explaining the steps of the proposed system DSont throughout this paper. The VIVO project started at Cornell University and was further developed by a National Institutes of Health 6 -funded consortium. It is now being established as an open-source project with community participation from around the world. It produces ontology so that information can be exchanged, aggregated and searched by others on the web through standard protocols. It is populated with detailed profiles of faculty and researchers including information such as publications, teaching, service and professional affiliations. It enables collaboration by sharing information about researchers and their activities, and clusters it into different categories, for example, activities, people, organization, events, publications for effective searching and retrieval [4, 5, 19].
DSpace is the most widely used open source IR software worldwide, as demonstrated by OpenDOAR 7 statistics. It uses a relational database to preserve the metadata of digital contents, such as, author, publication data, document type (i.e. thesis, article and report) and publisher [10]. A promising aspect of DSpace is its flexible data models that can be customized to arrange the digital documents in a repository according to the organizational structure of an institute [7, 10]. The data model is divided into communities, which can be further divided into subcommunities reflecting the typical organizational structure of an institute. For example, communities and subcommunities are defined as schools, departments, laboratories and centres of an institute. Communities contain collections, which are groupings of related content. Each collection is composed of items, which are the basic archival elements of a repository. DSpace defines a comprehensive database schema for its flexible data model, as shown in Figure 1. A portion of its database schema in the relational model is shown in Table 1.

Major relations of DSpace database.
A relevant portion of DSpace database schema.
A DSpace data model of an institute – the School of Electrical Engineering and Computer Science (SEECS), National University of Sciences and Technology (NUST), Pakistan – is shown in Figure 2. It is considered as an example to demonstrate the proposed system throughout this paper. The data model shows entities that contains one main community (e.g. SEECS), eight subcommunities (e.g. Department of Computing) and 10 collections (e.g. UG thesis). Items are instances of collection entity, which is not shown in the figure. The arrow direction in the figure depicts specialization (i.e. child entity).

DSpace data model of an institute.
3. Related work
The focus of this research involves the task of transforming an IR’s metadata into an ontology. An IR uses a relational database to store the metadata; however, its database schema is meta-schema, so it first needs to identify the schema of an IR data model and then transform it into an ontology. Hence, we divide the related work into three parts: (a) extraction of metadata from IRs; (b) transformation of metadata into an ontology; and (c) ontology alignment and data translation.
3.1. Metadata extraction
Various techniques exist to extract metadata from deep web, static web and legacy databases using reverse engineering techniques. The techniques proposed in the literature [18, 20] build a conceptual model (i.e. extended entity-relationship diagram) from database tables. The techniques are suitable for data sources that have little description about the fields in their tables and no description for keys. Maatuk et al. [21] present an approach to semantic enrichment for relational DataBase Migration. In this technique, necessary data semantics about a given relational database (RDB) are extracted and enhanced to produce relational schema representations. The relational schema representation constructs are then classified to develop a canonical data model (CDM), which provides a description of the existing RDB’s implicit and explicit semantics. The generated CDM is a sound source of semantics and is a well-organized data model, which facilitates an integrated approach to database migration. Gherabi et al. [22] also proposed a similar solution for migrating relational database into web semantics. It takes an existing RDB as an input, and extracts its metadata representation (MTRDB). Then a CDM is generated based on this extracted MTRDB. Finally, the structure of the classification scheme in the CDM model is converted into an OWL ontology.
Nagy et al. [23] present a method for extraction of data from tables. They transform the tables into a relational database that is accessible by both SQL and SPARQL for relational tables and RDF triple stores, respectively. They primarily focus on large statistical information sites. These sites are generated from databases without having direct access to the back-end databases. Kappel et al. [24] proposed a process for lifting meta-models into ontologies for the purpose of integrating modelling languages semantically. In this way, the concepts hidden by these modelling languages are represented explicitly by transforming a meta-model into an ontology.
3.2. Relation to ontology transformation
Most of the existing transformation systems [11, 14, 15, 18, 25, 26] use the basic transformation rules, that is: (a) every relation maps to an RDF schema (RDFS) class; (b) every tuple of a relation maps to an RDF node; (c) every attribute of a relation maps to an RDF property; and (d) for every tuple, the value of each attribute maps to a value of the property for the node corresponding to the tuple.
Relational.OWL [16] is the most popular and dominant work on the generation of a database schema ontology. However, it causes a lack of separation among classes, properties and individuals. Relational.OWL is also used in other tools and approaches, for example, ROSEX [26] and DataMaster [17]. The novelty of DataMaster [17] is to offer two alternative modelling versions of Relational.OWL that manage to stay within the syntactic bounds of OWL DL by providing separation among classes, properties and individuals. D2RQ [27] is one of the most prominent tools that generates domain-specific RDFS ontology. It exports the contents of a relational database to an RDF graph. The mappings is specified in a custom mapping language and a user can also modify the generated mapping. The engine that uses D2RQ mappings to translate requests from external applications to SQL queries on the relational database is called the D2R Server [13].
3.3. Ontology data translation
COMA++ [28] is a tool for matching schema to determine similarities between them. It uses different characteristics of a schema for identifying these similarities. These characteristics may include the names of the schema elements and their data types, structural information, etc. Instance-based matching has been proposed [29] for COMA++. It supports different sources such as relational schema, XML and ontologies for importing instance data. Different parsers have been used for parsing a schema and the instance data from different sources. The same generic data representation is used for representing different instance data. Two instance-based matchers are used in this approach. These matchers are content- and constraint-based matchers that use several linguistic approaches and constraints. They generate similarity matrices that are combined for deriving a mapping between schema elements. Araújo et al. [30] proposed a tool, SERIMI, 8 which interlinks the datasets published in the Linked Data Cloud. It focuses on the instance matching problem over RDF data and matches instances between a source and a target datasets without prior knowledge of the data, domain or schema of these datasets. This solution is composed of two phases: the selection phase and the disambiguation phase. It uses existing string-matching algorithms for solving the selection phase. A new function of similarity is used during the disambiguation phase, which operates even without having any direct ontology alignment between the source and target datasets.
An ontology-based information extraction system, BOEMIE (Bootstrapping Ontology Evolution with Multimedia Information Extraction), 9 has been developed for extracting objects automatically from various media types such as images, video, audio, text, etc. [31]. BOEMIE also proposes ontology population methodology. Castano et al. [32] developed an instance-matching component, HMatch(I) of the HMatch 2.0 ontology matching suite [33]. This component is developed in the framework of the BOEMIE project, which provides instance-level matching techniques for supporting ontology population tasks. It supports both syntactic and semantic approaches for instance matching. It also has the ability to identify featuring and non-featuring properties. It applies statistical techniques for learning information about featuring properties. These featuring properties highly contribute to the identification of individuals. Knoblock et al. [34] developed a web application, Karma, 10 which allows users to integrate data from various sources. Data can be extracted from relational databases, XML files or CSV files and this data can be published in different formats, that is, CSV or RDF. Conditional Random fields [35] are used for learning semantic types and the relationships among the source’s schema elements are identified by using the Steiner tree algorithm. RDF generated by the Karma can be loaded into VIVO by creating proper URIs according to the VIVO ontology. The initial mappings are generated semi-automatically, which can be refined and modified by users.
3.4. Critical analysis
The existing metadata extraction techniques [18, 20–24, 36] are domain and application oriented and apply reverse-engineering techniques for extracting data. They cannot be applied in different domains and applications because they have been specifically designed for their respective applications.
The existing relation to ontology transformation systems [11–18] cannot produce accurate results if they are applied on an IR database because its schema is meta-schema. An IR database relation cannot be mapped to an RDFS class because an RDFS class has to be created for a data model entity that is a tuple of a relation. Therefore, it is necessary to extract the data model from the IR database prior to transforming it into an ontology. The existing transformation systems are capable to transform a normalized relational database; however, DataMaster [17] and D2R server [13] do not create a proper hierarchy of parent and child classes so they are not able to preserve the IR data model hierarchy. R2O [18], DM-2-OWL [11] and ROSEX [26] do not populate an ontology with instances from the database. Astrova [12], DB2OWL [15], DM-2-OWL [11], RDBToOnto [14], ROSEX [26], DataMaster [17] and D2R server [13] do not handle the multivalued attributes appropriately during transformation, which can cause loss of information in transformation.
Engmann and Maßmann [29] proposed a technique for instance matching that does not populate an ontology with new instances. Araújo et al. [30] proposed a tool that links instances without populating the ontology. However, Castano et al. [31] developed an instance-based matching component that is used for an ontology population, but this is a domain specific approach which cannot be applied in our case. The most related technique was proposed by Knoblock et al. [34], but it does not allow the extraction of data from ontologies. It uses relational databases, XML files and CSV files for data extraction. It requires user intervention for generating mappings, which makes it a more time-consuming and an error-prone task.
4. Proposed system: DSont
DSont has been designed for transforming DSpace into an ontology to publish it on the Semantic Web. It extracts the metadata from a DSpace database, creates a normalized intermediate database and transforms it into an ontology. Finally, instances from the generated ontology are transformed into corresponding data or instances expressed in the target ontology. DSont is divided into three main modules: (a) metadata extraction; (b) data transformation; and (c) alignment and translation. These modules are described in the following subsections and explained with examples. Each figure in an example is divided into two parts, the left side of a figure depicting the schema of a DSpace database and the right side representing corresponding extracted information. In these figures rectangles and ellipses represent relations and their attributes respectively. The values of their respective attributes are represented by arrays.
4.1. Metadata extraction
In this module, an IR data model and its data are obtained by extracting metadata from a DSpace database. This module further comprises three subcomponents as discussed below.
4.1.1. Identification of data model (IDM)
Since DSont generates an ontology for an institutional repository, it needs to identify its data model. The data model (DM) of an institutional repository is stored in a DSpace database. In this subcomponent, entities of the data model and its relationship are identified in order to build an intermediate database and subsequently an ontology’s classes. The entities of a data model
Definition 1. Main community
In the example data model, shown in Figure 2, SEECS is a main community.
Definition 2. Subcommunity
In Figure 2, Dept. of Computing and Documents, Reports are examples of subcommunities.
Definition 3: collection
CL represents a set of collections and its element is
Moreover
IDM algorithm
The process of IDM is shown in Figure 3. Entities of DM are identified by extracting identifiers (IDs) of an item

Flowchart of data model identification.
4.1.2. Building of schema
In building of schema (BS), the extracted data model (DM) is used for creating the schema of an intermediate database (IDB). The following steps are used for BS:
create a database relation
create a child relation
create a child relation
create a child relation
Attributes of the intermediate database relations are extracted from their respective tables of a DSpace database. Since a collection
BS algorithm
The process of BS is shown in Figure 4. First of all, an item identifier is selected from the DSpace database table Items to obtain its main community. If a table exists in the IDB for the main community then its subcommunities are identified, otherwise the process is repeated for other main communities. The same process is repeated for subcommunities until a table is created for their respective collection. Attributes of IDB relations are then extracted from the metadatafieldregistry table of the DSpace database and the respective table is updated accordingly.

Work flow of intermediate database schema building.
4.1.3. Population of intermediate database
In populating the intermediate database (PID), data is extracted from a DSpace database and populated in the intermediate database by using the following steps:
insert item identifiers in the extracted relations
extract the values of the attributes atts of a relation
create a weak primary relation
create a weak secondary relation
PID algorithm
The work flow of PID process is shown in Figure 5. The first step is getting all items and their corresponding communities and collections from the identified data model. The tables of the intermediate database that were created for communities are searched and item identifiers are inserted. Then the table, created for the corresponding collection, is searched and metadata values of respective attributes are inserted in this table. These metadata values are extracted from the metadatavalue table of a DSpace database. Before inserting values, we check whether an attribute is multivalued or complex attribute. If it is found to contain such an attribute, then a new table is created. This process is repeated for all items.

Work flow of intermediate database population.
After applying all three subcomponents in the first module of the system on the example data model shown in Figure 2, an intermediate database, having 23 relations (tables), is created as shown in Figure 6.

Generated relational database of the DSpace structure.
4.2. Relation to ontology transformation
In this module, the intermediate database is transformed into an ontology using the basic transformation rules. Let R represent the relations where
Algorithm
The main work flow of this transformation is shown in Figure 7. The first step is to obtain the tables of the intermediate database and create an appropriate ontology class for each table. Then, attributes of the tables are extracted and checked one by one to determine whether it is a primary key or a foreign key or non-key attribute. Each type of attribute is handled according to the defined rules. Instances of the ontology classes are created for all attribute values. Finally, the ontology is generated.

Work flow of relation to ontology transformation.
Example
The ontology created for the given DSpace data model is shown in Figure 8. In this ontology, the OWL class seecs_5 was created for the main community SEECS, and subclasses were created for every subcommunity, collection and multivalued attribute, such as dept_of_computing_7, conference_proceedings_12 and author_seecs respectively. For example, a functional datatype property is created for the primary key (i.e. id) of the intermediate database relation seecs_5. Similarly the functional object property with cardinality restriction 1 is created for the foreign key (i.e. id) that is also defined as a primary key in table dept_of_computing_7. Since the primary key is linked with a foreign key constraint (i.e. PK=FK), so dept_of_computing_7 has been made as a subclass of seecs_5.

Graphical representation of the generated ontology.
4.3. Ontology alignment and data translation
The data of an ontology, created by applying the above two modules, cannot be imported directly into any target ontology without translation. In this module, two ontologies are taken as inputs and a source ontology is aligned with the target ontology. Then data is translated from the source to the target ontology.
Definition 4: Resource mappings (RM)
Given two ontologies O1 (i.e. source ontology) and O2 (i.e. target ontology), C1, C2 are sets of concepts of O1 and O2, respectively, such that
Definition 5: Instance matching (IM)
IM is a triple
Algorithm
Figure 9 depicts the work-flow of this module. First of all classes from both ontologies are extracted. Next, a user selects appropriate classes semi-automatically and the system generates alignment between the concepts of the generated ontology O1 and the VIVO ontology O2. Second, the system compares the instances I1 of

Work flow of ontology alignment and data translation.
URIs are arbitrarily generated by the system according to VIVO Namespaces. The system compares these URIs with the URIs already in VIVO and ensures that the URIs are unique. Finally the system links the new data with the existing data in VIVO. The complete class hierarchy is maintained by identifying and linking super and subclasses. At the end of this module, the system creates RDF code that contains individuals in VIVO format. After this step, all data is annotated with VIVO URIs and is ready to import into VIVO.
5. Evaluation and results
Transformation systems are mostly evaluated for preservation of information capacity and their correctness [18, 37]. Therefore the evaluation criteria of the proposed system are: (a) preservation of information capacity; and (b) transformation accuracy. The former is important to find information loss (if any) as a result of transformation and the latter is significant to find the quality of the generated ontology. A correct and lossless transformation ensures that all data in a source model is represented in the target model. The system evaluation was divided into two main parts in each criterion: (a) relation to ontology transformation; and (b) ontology data translation. We have implemented the transformation system (i.e. the algorithms mentioned in previous section) in Java and generated an OWL ontology using Jena-2.6.4 Ontology API for the DSpace data model.
For the evaluation of our system, we have randomly selected the following three datasets, where the first one is complex, the second is moderate and the last one is simple in order to evaluate the proposed system in different scenario. The specifications of these datasets are shown in Table 2. (a) Dataset 1 was harvested from Massachusetts Institute of Technology (MIT) DSpace. Eighteen collections were selected for data harvesting. Three collections are empty as they do not have any item. A total of 2242 items were harvested from 15 collections. This dataset contains three main communities and 10 subcommunities. These items contain 11 non-multivalued, five multivalued and three complex metadata fields, and these contain 37,032 metadata values. (b) Dataset 2 contains the DSpace database of an institute: theSEECS, NUST, Pakistan. This dataset contains 1 main community and 14 subcommunities in which five subcommunities contain empty collections. There are in total 12 collections in which five collections are empty and another seven collections contain 533 items. These items contain 12 non-multivalued, two multivalued and one complex metadata fields, and these contain 10,132 metadata values. (c) Similarly Dataset 3 contains a self-designed DSpace database. This dataset contains one main community and eight subcommunities. There are 10 collections which contain 100 items. These items contain nine non-multivalued, three multivalued and one complex metadata fields, and these contain 1679 metadata values.
Dataset specifications of DSpace data models used for evaluation.
5.1. Information preservation
This criterion finds out whether the source model (i.e. relational database) is completely transformed into the target model (i.e. ontology). In this evaluation, ontology classes, properties and instances were compared with (a) the intermediate relations, attributes and tuples respectively; and (b) the DSpace data model entities (i.e. communities, subcommunities and collections), items’ metadata fields and items’ metadata values respectively. After evaluating the generated ontology, its instances were compared with the individuals, which were translated and expressed with respect to the VIVO ontology.
5.1.1. Relation to ontology transformation
Dataset 1
Table 3 shows the schema of intermediate database and the ontology (i.e. the target model) that were created for the DSpace data model (i.e. the source model) entities and items’ metadata fields. There are two steps of the transformation.
Dataset 1: Summary of results – ontology creation.
In the first step, three main communities in DSpace data model were transformed into three primary entities (PE) of the intermediate database. The primary entities do not contain any foreign key as a part of primary key because they are strong entities [18]. Twenty-five subcommunities and collections were transformed into 25 subentities (SE). A subentity is a weak-entity; therefore it has a foreign key as a part of its composite primary key. Three metadata fields (complex) were transformed into weak primary entities (WPE). The primary key of WPE contains foreign keys as its part and the relation also has non-prime attributes [18]. Five metadata fields (multivalued) were transformed into weak secondary entities (WSE). Each WSE has the composite primary key which is composed of two attributes. One of them is also a foreign key and one is not a foreign key. There are no non-key attributes in WSE [18]. Eleven metadata fields (not multivalued) and three non-key attributes of metadata fields (complex) were converted into 14 non-key attributes. There are 11 (i.e. 3 PE + 3 WPE + 5 WSE) primary keys or parts of composite primary keys (i.e. not foreign key), 33 (i.e. 25 SE + 3 WPE + 5 WSE) primary keys (i.e. foreign keys) and 2242 tuples.
In the second step, three PE and 25 SE were transformed into primary classes and subclasses respectively. Three WPE were also transformed into subclasses. Five WSE were transformed into datatype properties because they do not have non-key attributes. They were deducted from primary (not foreign key) and primary (foreign key). Then six primary keys (not foreign keys) and 28 primary key (foreign key) were transformed into six functional datatype properties and 28 functional object properties with minCardinality 1, respectively. A total of 2242 instances were created for tuples.
Dataset 2
Table 4 shows details of the DSpace data model, the schema of intermediate database and the ontology. There are two steps of the transformation. In the first step, 1 main community in DSpace data model was transformed into one PE of the intermediate database. Sixteen subcommunities and collections were transformed into 16 subentities (SE). One metadata field (complex) was transformed into weak primary entity (WPE). Two metadata fields (multivalued) were transformed into weak secondary entities (WSE). Twelve metadata fields (not multivalued) and one non-key attribute of metadata field (complex) were converted into 13 non-key attributes. There are four (i.e. 1 PE + 1 WPE + 2 WSE) primary keys or parts of composite primary keys (i.e. not foreign key), 19 (i.e. 16 SE + 1 WPE + 2 WSE) primary keys (i.e. foreign keys) and 533 tuples.
Dataset 2: summary of results – ontology creation.
In the second step, one PE and 16 SE were transformed into primary classes and subclasses, respectively. One WPE was also transformed into subclass. Two WSE were transformed into datatype properties because they do not have non-key attributes. They were deducted from primary (not foreign key) and primary (foreign key). Then two primary keys (not foreign keys) and 17 primary keys (foreign keys) were transformed into two functional datatype properties and 17 functional object properties with minCardinality 1 respectively. A total of 533 instances were created for tuples.
Dataset 3
Table 5 shows details of the DSpace data model, the schema of intermediate database and the ontology. There are two steps of the transformation. In the first step, onw main community in the DSpace data model was transformed into one PE of the intermediate database. Eighteen subcommunities and collections were transformed into 18 subentities (SE). One metadata field (complex) was transformed into weak primary entity (WPE). Three metadata fields (multivalued) were transformed into weak secondary entities (WSE). Nine metadata fields (not multivalued) and one non-key attribute of metadata field (complex) were converted into 10 non-key attributes. There are five (i.e. 1 PE + 1 WPE + 3 WSE) primary keys or parts of composite primary keys (i.e. not the foreign key), 22 (i.e. 18 SE + 1 WPE + 3 WSE) primary keys (i.e. foreign keys) and 100 tuples.
Dataset 3: summary of results – ontology creation.
In the second step, one PE and 18 SE were transformed into primary classes and subclasses respectively. One WPE was also transformed into subclass. Three WSE were transformed into datatype properties because they do not have non-key attributes. They were deducted from primary (not foreign key) and primary (foreign key). Then two primary keys (not foreign keys) and 19 primary keys (foreign keys) were transformed into two functional datatype properties and 19 functional object properties with minCardinality 1, respectively. A total of 100 instances were created for tuples.
The results of all the three datasets show that information is preserved in transformation. It reflects that the transformation is correct.
5.1.2. Ontology data translation
Dataset 1
Table 6 shows that eight classes of DSpace ontology that were created corresponding to communities and subcommunities, were matched and translated as instances of the matched class. The remaining five subcommunities’ classes did not find any corresponding class in VIVO, so they were not mapped. Fifteen collections’ classes of DSpace ontology were matched and their 2242 instances were completely translated into VIVO. Three subclasses that were created for complex metadata fields (having 240 metadata values/instances) in DSpace ontology were mapped on Person classes in VIVO and their 240 individuals were created.
Dataset 1: summary of results – data translation.
Dataset 2
Table 7 shows that three classes of DSpace ontology that were created corresponding to communities and subcommunities were matched and translated as instances of the matched class. The remaining seven subcommunities’ classes did not find any corresponding class in VIVO, so they were not mapped. Seven collection classes of DSpace ontology were matched and their 533 instances were completely translated into VIVO. One subclass, which was created for complex metadata fields (having 76 metadata values/instances) in DSpace ontology, was mapped on Person class in VIVO and its 76 individuals were created.
Dataset 2: summary of results – data translation.
Dataset 3
Table 8 shows that three classes of DSpace ontology, which were created corresponding to communities and subcommunities, were matched and translated as instances of the matched class. The remaining six subcommunities’ classes did not find any corresponding class in VIVO, so they were not mapped. Ten collection classes of DSpace ontology were matched and their 100 instances were completely translated into VIVO. One subclass that was created for complex metadata fields (having 28 metadata values/instances) in DSpace ontology was mapped on Person class in VIVO and its 28 individuals were created.
Dataset 3: summary of results – data translation.
In VIVO ontology, classes have already been created and only instances can be translated into it after matching the classes. The matching and translation of classes and their instances are semi-automatic processes in our system. The classes of DSpace ontology that were created, corresponding to communities and subcommunities were translated as the instances of matched classes in VIVO ontology because they do not have any instances. Whereas the instances of those classes of DSpace ontology that were created corresponding to collections are basically the items of DSpace database, they were translated as the instances of the matched class in VIVO. Some subcommunities have no corresponding class in VIVO, because VIVO and DSpace are both autonomous ontologies, so complete mapping is almost impossible. Therefore the classes could not map to any class. However, this information loss has no effect in VIVO ontology because these classes have no instances in DSpace ontology. Items of DSpace are the most important and they were translated completely. The results of all three datasets show that information is preserved in data translation. This shows that the data translation is correct.
5.2. System accuracy
The correctness of the system is based on the exactness and completeness, which are measured with precision, recall and F-measure [38].
5.2.1 Relation to ontology transformation
The ontologies produced by DSont system for Datasets 1–3 are shown in Figures 10, 11 and 8 respectively. The arrows show a super-class/subclass relation in the figures, for example, contributer_architecture is a subclass of dept_of_architecture in Figure 11. We compared our proposed technique to transform a DSpace database with that of Astrova [12] because it is the most similar technique which uses almost the same transformation rules that we used in our transformation system. Since this system is not publicly or commercially available, we thoroughly studied this technique and its rules, which were used for transformation. We applied this technique directly on a DSpace database. Astrova generates ontology classes according to the DSpace database schema without considering the data model of an institute that is hidden in the DSpace database. It produced the same ontology for all three datasets. A portion of the ontology is shown in Figure 12.

Ontology produced by the proposed system (Dataset 1).

Ontology produced by the proposed system (Dataset 2).

Ontology produced by Astrova’s [12] technique.
In this ontology, community, subcommunity, collection and item classes are not linked with each other, so the ontology does not depict that an item belongs to a particular collection, community. It does not show the relationship of authors and their publications in a specific collection or community. Ontology classes have been generated for associative tables, such as community2_community and community2_collection. They are normally adjusted in class properties. This generated ontology does not preserve the hierarchy of the data model. Correct classes need to be extracted from the contents of these relations. The ontology is very odd and does not portray the accurate data model of the repository. Therefore, this ontology is not helpful in discovering information from the repository for sharing purpose. On the other hand, item (e.g. masters), collection (e.g. theses_architecture) and contributor (e.g. contributor_architecture, i.e. author, editor and adviser of master’s theses) of a community (e.g. dept_of_architecture) are linked in the ontologies produced by the DSont system. These ontologies represent accurate data models of the respective repositories. It can be concluded that the existing transformation techniques cannot generate an accurate ontology for DSpace database if they are directly applied on the database. We did not consider to compute precision, recall and F-measure because they are useless in this case.
5.2.2. Ontology data translation
The results of the ontology data translation were evaluated using precision, recall and F-measure measurements. Precision is the number of correct results divided by the number of all returned results and Recall is the number of correct results divided by the number of results that should have been returned. In our project, they are calculated as follows:
where T represents the translated instances/properties, R represents the retrieved instances/properties and E represents the expected instances/properties that should have been translated. The F-measure is defined as the harmonic mean of precision and recall. It is calculated as follows:
The instances and properties of the mapped classes were matched and expressed with respect to the target ontology. Tables 9–11 show the results after evaluating the translated instances and properties of Datasets 1–3, respectively. The tables illustrate that instance translation gives the best precision, which is 100%; this is due to the reason that system translated all the instances properly and expressed with respect to the target ontology. These instances were transformed into the instances of corresponding mapped classes that are later used to populate the VIVO ontology (i.e. target ontology).
Dataset 1: evaluation results for accuracy of the data translation process.
Dataset 2: evaluation results for accuracy of the data translation process.
Dataset 3: evaluation results for accuracy of the data translation process.
In the translation of properties, it was observed that the translated properties are less than the extracted and expected ones. As discussed earlier, VIVO and DSpace are autonomous ontologies. Some metadata fields in DSpace ontology are not important for VIVO. Therefore, no corresponding properties were found in VIVO ontology. Therefore these properties were not translated in VIVO. This shows some loss of information, which becomes a reason for the lower precision and recall scores. Still these properties are present in DSpace ontology and can be mapped onto any other target ontology which has corresponding properties. Table 12 depicts the average precision, recall and F-measure scores for all the datasets. It shows that the precision is 100% in the case of instance translation whereas it is 80% in translating properties of these instances.
Average evaluation result for accuracy of ontology data translation
6. Conclusion
The aim of this research is to share the information of an existing IR with other information systems within the institution or outside to help the community in discovering common interests and making connections. To achieve this goal, we need to transform an IR relational database into an ontology because it represents a data source at the higher level of abstraction and integrate its data with the target ontology, such as VIVO for sharing and reusing information for knowledge discovery. However, the existing relation to ontology transformation systems produces odd results if they are applied on a DSpace database because its schema is a meta-schema, not a normalized schema. A DSpace database relation cannot be mapped to an ontology class because a class has to be created for a data model entity that is preserved in the database relations. Therefore, it is necessary to extract the data model from the DSpace database prior to transforming it into an ontology. This makes the transformation novel compared with the typical relational to ontology transformation. Moreover, some of the existing systems do not create a proper parent–child hierarchy (i.e. generalization and specialization) between classes of an ontology and some others do not appropriately handle multivalued attributes of database relations in transformation and lose data semantics. In addition, the ontology created from a DSpace database needs to be aligned with the target ontology, for example, VIVO in order to populate its data into the ontology. This was achieved by identifying or establishing semantic correspondence between entities (i.e. classes and properties) of both of the autonomous ontologies.
We implemented the transformation system in Java and generated an OWL ontology using Jena-2.6.4 Ontology API for the DSpace data model. The evaluation criteria of the proposed system are: (a) preservation of information capacity; and (b) transformation accuracy. Three datasets were used for the evaluation of our system. The proposed system transformed all of the items in a DSpace database into instances of an ontology classes and then they were translated and expressed with respect to the target ontology. In both the transformation and translation of properties, it was observed that the translated properties are less than the extracted and expected ones. This shows some loss of information, which becomes a reason for the lower precision and recall scores. The essence of this loss is that VIVO and DSpace are both autonomous ontologies, so complete mapping between them is almost impossible. Therefore, corresponding properties were not found in the VIVO ontology. Therefore these properties were not translated in VIVO; however these properties are present in DSpace ontology and can be mapped onto any other target ontology that has corresponding properties whenever it is required. Moreover the focus of the proposed transformation system is on DSpace, thus it has not been applied on other existing institutional repositories systems. The proposed system may not be equally applicable in them owing to their specific database schemas. In the proposed system, simple mapping was generated by a user between the source ontology and VIVO ontology for data translation. An ontology matching technique has not been applied for creating the mapping. It consumes time and needs a great deal of involvement of a domain expert. It can be improved by applying an existing matching technique, such as Alasoud et al. [39] and Akbari and Fathian [40] for creating the mapping between ontologies.
Footnotes
Acknowledgements
We would like to thank Mr Amjad Usman and Dr Kashif Rajpoot of the School of Electrical Engineering and Computer Science, National University of Sciences and Technology, for their assistance.
Funding
This work is made possible with the funding support provided by National University of Sciences and Technology, Islamabad, Pakistan.
