Transforming XML schemas into OWL ontologies using formal concept analysis

  • Mokhtaria HacheroufEmail author
  • Safia Nait-Bahloul
  • Christophe Cruz
Regular Paper


Ontology Web Language (OWL) is considered as a data representation format exploited by the Extensible Markup Language (XML) format. OWL extends XML by providing properties to further express the semantics of data. To this effect, transforming XML data into OWL proves important and constitutes an added value for indexing XML documents and re-engineering ontologies. In this paper, we propose a formal method to transform XSD schemas into OWL schemas using transformation patterns. To achieve this end, we extend at the beginning, a set of existing transformation patterns to allow the maximum transformation of XSD schema constructions. In addition, a formal method is presented to transform an XSD schema using the extended patterns. This method named PIXCO comprises several processes. The first process models both the transformation patterns and all the constructions of XSD schema to be transformed. The patterns are modeled using the context of Formal Concept Analysis. The XSD constructions are modeled using a proposed mathematical model. This modeling will be used in the design of the following process. The second process identifies the most appropriate patterns to transform each construction set of XSD schema. The third process generates for each XSD construction set an OWL model according to the pattern that is identified. Finally, it creates the OWL file encompassing the generated OWL models.


XML schema OWL ontology Formal transformation XSD formalization FCA Transformation patterns 


  1. 1.
    Agreste, S., De Meo, P., Ferrara, E., Ursino, D.: Xml matchers: approaches and challenges. Knowl. Based Syst. 66, 190–209 (2014)CrossRefGoogle Scholar
  2. 2.
    Baclawski, K., Kokar, M.K., Kogut, P.A., Hart, L., Smith, J., Letkowski, J., Emery, P.: Extending the unified modeling language for ontology development. Softw. Syst. Model. 1(2), 142–156 (2002)CrossRefGoogle Scholar
  3. 3.
    Bedini, I., Matheus, C., Patel-Schneider, P.F., Boran, A., Nguyen, B.: Transforming xml schema to owl using patterns. In: 2011 Fifth IEEE International Conference on Semantic Computing (ICSC). IEEE, pp. 102–109 (2011)Google Scholar
  4. 4.
    Belghiat, A., Bourahla, M.: Transformation of uml models towards owl ontologies. In: 2012 6th International Conference on Sciences of Electronics, Technologies of Information and Telecommunications (SETIT). IEEE, pp. 840–846 (2012)Google Scholar
  5. 5.
    Bian, J., Zhang, H., Peng, X.: The research and implementation of heterogeneous data integration under ontology mapping mechanism. In: International Conference on Web Information Systems and Mining. Springer, pp. 87–94 (2011)Google Scholar
  6. 6.
    Bohring, H., Auer, S.: Mapping xml to owl ontologies. Leipziger Informatik-Tage 72, 147–156 (2005)Google Scholar
  7. 7.
    Bray, T., Paoli, J., Sperberg-McQueen, C.M., Maler, E., Yergeau, F.: Extensible markup language (xml). World Wide Web Consortium Recommendation REC-xml-19980210. 16, 16 (1998).
  8. 8.
    Brockmans, S., Colomb, R.M., Haase, P., Kendall, E.F., Wallace, E.K., Welty, C., Xie, G.T.: A model driven approach for building owl dl and owl full ontologies. In: International Semantic Web Conference. Springer, pp. 187–200 (2006)Google Scholar
  9. 9.
    Cruz, C., Nicolle, C.: Ontology enrichment and automatic population from xml data. ODBIS 2008, 17–20 (2008)Google Scholar
  10. 10.
    De Meo, P., Quattrone, G., Terracina, G., Ursino, D.: Integration of xml schemas at various ’severity’ levels. Inf. Syst. 31(6), 397–434 (2006)CrossRefzbMATHGoogle Scholar
  11. 11.
    de Laborda, C.P., Conrad, S.: Relational. owl: a data and schema representation format based on owl. In: Proceedings of the 2nd Asia-Pacific Conference on Conceptual Modelling, vol. 43. Australian Computer Society, Inc., pp. 89–96 (2005)Google Scholar
  12. 12.
    Doan, A., Noy, N.F., Halevy, A.Y.: Introduction to the special issue on semantic integration. ACM Sigmod Rec. 33(4), 11–13 (2004)CrossRefGoogle Scholar
  13. 13.
    Duchateau, F., Bellahsene, Z.: Yam: A step forward for generating a dedicated schema matcher. In: Transactions on Large-Scale Data-and Knowledge-Centered Systems XXV. Springer, pp. 150–185 (2016)Google Scholar
  14. 14.
    Duchateau, F., Bellahsene, Z., Hunt, E.: Xbenchmatch: a benchmark for xml schema matching tools. In: Proceedings of the 33rd International Conference on Very Large Data Bases. VLDB Endowment, pp. 1318–1321 (2007)Google Scholar
  15. 15.
    El Hajjamy, O., Alaoui, K., Alaoui, L., Bahaj, M.: Mapping uml to owl2 ontology. J. Theor. Appl. Inf. Technol. 90(1), 126 (2016)Google Scholar
  16. 16.
    Ferdinand, M., Zirpins, C., Trastour, D.: Lifting xml schema to owl. In: Web Engineering. Springer, pp. 354–358 (2004)Google Scholar
  17. 17.
    Fu, G.: FCA based ontology development for data integration. Inf. Process. Manag. 52, 765–782 (2016)CrossRefGoogle Scholar
  18. 18.
    Ganter, B., Wille, R.: Formal Concept Analysis: Mathematical Foundations. Springer, New York (2012)zbMATHGoogle Scholar
  19. 19.
    Ghawi, R., Cullot, N.: Database-to-ontology mapping generation for semantic interoperability. In: VDBL07 Conference, VLDB Endowment ACM, pp. 1–8 (2007)Google Scholar
  20. 20.
    Ghawi, R., Cullot, N.: Building ontologies from xml data sources. In: DEXA Workshops, pp. 480–484 (2009)Google Scholar
  21. 21.
    Gu, J., Zhou, Y.: Ontology fusion with complex mapping patterns. In: International Conference on Knowledge-Based and Intelligent Information and Engineering Systems. Springer, pp. 738–745 (2006)Google Scholar
  22. 22.
    Haav, H.M.: A semi-automatic method to ontology design by using FCA. In: CLA. Citeseer (2004)Google Scholar
  23. 23.
    Hacherouf, M., Nait-Bahloul, S., Cruz, C.: Transforming xml documents to owl ontologies: a survey. J. Inf. Sci. 41(2), 242–259 (2015)CrossRefGoogle Scholar
  24. 24.
    Hitzler, P., Krötzsch, M., Parsia, B., Patel-Schneider, P.F., Rudolph, S.: Owl 2 web ontology language primer. W3C Recomm. 27(1), 123 (2009)Google Scholar
  25. 25.
    Kalfoglou, Y., Schorlemmer, M.: Ontology mapping: the state of the art. Knowl. Eng. Rev. 18(01), 1–31 (2003)CrossRefzbMATHGoogle Scholar
  26. 26.
    Lacoste, D., Sawant, K.P., Roy, S.: An efficient xml to owl converter. In: Proceedings of the 4th India Software Engineering Conference. ACM, pp. 145–154 (2011)Google Scholar
  27. 27.
    Liu, Q., Huang, T., Liu, S.H., Zhong, H.: An ontology-based approach for semantic conflict resolution in database integration. J. Comput. Sci. Technol. 22(2), 218–227 (2007)CrossRefGoogle Scholar
  28. 28.
    Madhavan, J., Bernstein, P.A., Rahm, E.: Generic schema matching with cupid. VLDB 1, 49–58 (2001)Google Scholar
  29. 29.
    O’Connor, M.J., Das, A.: Acquiring owl ontologies from xml documents. In: Proceedings of the Sixth International Conference on Knowledge Capture. ACM, pp. 17–24 (2011)Google Scholar
  30. 30.
    Pinto, H.S., Martins, J.P.: Ontologies: how can they be built? Knowl. Inf. Syst. 6(4), 441–464 (2004)CrossRefGoogle Scholar
  31. 31.
    Rahm, E., Do, H.H., Maßmann, S.: Matching large xml schemas. ACM SIGMOD Rec. 33(4), 26–31 (2004)CrossRefGoogle Scholar
  32. 32.
    Rodrigues, T., Rosa, P., Cardoso, J.: Mapping xml to existing owl ontologies. In: International Conference WWW/Internet. Citeseer, pp. 72–77 (2006)Google Scholar
  33. 33.
    Shvaiko, P., Euzenat, J.: Ontology matching: state of the art and future challenges. IEEE Trans. Knowl. Data Eng. 25(1), 158–176 (2013)CrossRefGoogle Scholar
  34. 34.
    Sure, Y., Tempich, C., Vrandecic, D.: Ontology engineering methodologies. In: Semantic Web Technologies: Trends and Research in Ontology-Based Systems, pp. 171–190 (2006)Google Scholar
  35. 35.
    Thuy, P.T.T., Lee, Y.K., Lee, S.: Dtd2owl: automatic transforming xml documents into owl ontology. In: Proceedings of the 2nd International Conference on Interaction Sciences: Information Technology, Culture and Human. ACM, pp. 125–131 (2009)Google Scholar
  36. 36.
    Touzi, A.G., Massoud, H.B., Ayadi, A.: Automatic ontology generation for data mining using FCA and clustering. arXiv preprint arXiv:1311.1764 (2013)
  37. 37.
    Tsinaraki, C., Christodoulakis, S.: Interoperability of xml schema applications with owl domain knowledge and semantic web tools. In: On the Move to Meaningful Internet Systems 2007: CoopIS, DOA, ODBASE, GADA, and IS. Springer, pp. 850–869 (2007)Google Scholar
  38. 38.
    Wache, H., Voegele, T., Visser, U., Stuckenschmidt, H., Schuster, G., Neumann, H., Hübner, S.: Ontology-based integration of information—a survey of existing approaches. In: IJCAI-01 Workshop: Ontologies and Information Sharing, vol. 2001. Citeseer, pp. 108–117 (2001)Google Scholar
  39. 39.
    Welty, C., McGuinness, D.L., Smith, M.K.: Owl web ontology language guide. W3C Recomm. (2004)
  40. 40.
    Yahia, N., Mokhtar, S.A., Ahmed, A.: Automatic generation of owl ontology from xml data source. arXiv preprint arXiv:1206.0570 (2012)
  41. 41.
    Zhang, L., Li, J.: Automatic generation of ontology based on database. J. Comput. Inf. Syst. 7(4), 1148–1154 (2011)Google Scholar

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2018

Authors and Affiliations

  • Mokhtaria Hacherouf
    • 1
    Email author
  • Safia Nait-Bahloul
    • 2
  • Christophe Cruz
    • 3
  1. 1.Laboratoire LSSD, Faculté des mathématiques et informatiqueUniversité des Sciences et de la Technologie d’Oran Mohamed Boudiaf, USTO-MBOranAlgeria
  2. 2.Laboratoire LITIOUniversité d’Oran 1, Ahmed Ben BellaOranAlgeria
  3. 3.Le2i, CNRS FRE 2005, Arts et MétiersUniv. Bourgogne Franche-ComtéDijonFrance

Personalised recommendations