Skip to Main Content
Semantic web technology enables machine to read and process web pages without human intervene. However, today most of the contents in the web are stored in databases. In order to make full use of those data, many research efforts have been carried out on transformation of relational schema to semantic web, most of which disregard some constraints. This paper presents a set of mappings that transform relational data and schema to semantic web models that preserve constraints. Data is presented in RDF; OWL and SWRL are used to express constraints' satisfaction or validation conditions; and the SPARQL query is used to verify these constraints. A prototype transformation system is designed and implemented based on Jena. Experimental results show that the system can not only successfully translate relational schema into OWL model, but also find out the violation statements when illegal modifications to the OWL model are made.