Abstract
In this paper we describe how XML documents are mapped into an OWL ontology and how SWRL rules are used to validate the semantic content of XML documents. XML completion and data constraints are specified with SWRL. The semantic completion of the XML document can be mapped into a semantic completion of the corresponding ontology. Besides, SWRL serves for specifying and reasoning with data constraints. We will illustrate our approach with an example that shows that user intervention is vital to XML mapping and completion and SWRL helps to detect relevant data constraints. The approach has been tested with the well-known Protégé tool.
Keywords
- Resource Description Framework
- Semantic Content
- Description Logic
- Data Constraint
- XPath Query
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This work has been supported by the Spanish Ministry MICINN under grant TIN2008-06622-C03-03, Ingenieros Alborada IDI under grant TRA2009-0309, and the JUNTA de ANDALUCÍA (proyecto de excelencia) ref. TIC-6114.
Download conference paper PDF
References
Akhtar, W., Kopecký, J., Krennwallner, T., Polleres, A.: XSPARQL: Traveling between the XML and RDF Worlds – and Avoiding the XSLT Pilgrimage. In: Bechhofer, S., Hauswirth, M., Hoffmann, J., Koubarakis, M. (eds.) ESWC 2008. LNCS, vol. 5021, pp. 432–447. Springer, Heidelberg (2008)
Bohring, H., Auer, S.: Mapping XML to OWL ontologies. Leipziger Informatik-Tage 72, 147–156 (2005)
Bedini, I., Matheus, C.J., Patel-Schneider, P.F., Boran, A., Nguyen, B.: Transforming XML Schema to OWL Using Patterns. In: ICSC, pp. 102–109. IEEE (2011)
Ferdinand, M., Zirpins, C., Trastour, D.: Lifting XML Schema to OWL. In: Koch, N., Fraternali, P., Wirsing, M. (eds.) ICWE 2004. LNCS, vol. 3140, pp. 354–358. Springer, Heidelberg (2004)
Ghawi, R., Cullot, N.: Building Ontologies from XML Data Sources. In: 20th International Workshop on Database and Expert Systems Application, DEXA 2009, pp. 480–484. IEEE (2009)
Klyne, G., Carroll, J.J.: Resource Description Framework (RDF): Concepts and Abstract Syntax. Technical report (2004), http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/
Krisnadhi, A., Maier, F., Hitzler, P.: OWL and Rules. In: Polleres, A., d’Amato, C., Arenas, M., Handschuh, S., Kroner, P., Ossowski, S., Patel-Schneider, P. (eds.) Reasoning Web 2011. LNCS, vol. 6848, pp. 382–415. Springer, Heidelberg (2011)
Krötzsch, M., Rudolph, S., Hitzler, P.: Description Logic Rules. In: Proceeding of the 2008 conference on ECAI 2008: 18th European Conference on Artificial Intelligence, pp. 80–84. IOS Press (2008)
Konstantinou, N., Spanos, D.E., Mitrou, N.: Ontology and database mapping: A survey of current implementations and future directions. Journal of Web Engineering 7(1), 1–24 (2008)
Li, Y.F., Sun, J., Dobbie, G., Lee, S., Wang, H.H.: Verifying semistructured data normalization using SWRL. In: Third IEEE International Symposium on Theoretical Aspects of Software Engineering, TASE 2009, pp. 193–200. IEEE (2009)
Motik, B., Patel-Schneider, P.F., Parsia, B., Bock, C., Fokoue, A., Haase, P., Hoekstra, R., Horrocks, I., Ruttenberg, A., Sattler, U., et al.: OWL 2 web ontology language: Structural specification and functional-style syntax (2008), http://www.w3.org/TR/owl2-syntax/ , Technical report, www.w3.org
O’Connor, M.J., Das, A.K.: SQWRL: a query language for OWL. In: Fifth International Workshop on OWL: Experiences and Directions, OWLED (2009)
O’Connor, M.J., Das, A.K.: Acquiring OWL ontologies from XML documents. In: Proceedings of the Sixth International Conference on Knowledge Capture, New York (2011)
Rodrigues, T., Rosa, P., Cardoso, J.: Mapping XML to Exiting OWL ontologies. In: International Conference WWW/Internet, pp. 72–77 (2006)
Rodrigues, T., Rosa, P., Cardoso, J.: Moving from syntactic to semantic organizations using JXML2OWL. Computers in Industry 59(8), 808–819 (2008)
Tsinaraki, C., Christodoulakis, S.: XS2OWL: A Formal Model and a System for Enabling XML Schema Applications to Interoperate with OWL-DL Domain Knowledge and Semantic Web Tools. In: Thanos, C., Borri, F., Candela, L. (eds.) Digital Libraries: R&D. LNCS, vol. 4877, pp. 124–136. Springer, Heidelberg (2007)
Thuy, P., Lee, Y.K., Lee, S., Jeong, B.S.: Exploiting XML Schema for Interpreting XML Documents as RDF. In: IEEE International Conference on Services Computing, SCC 2008, vol. 2, pp. 555–558. IEEE (2008)
Van Deursen, D., Poppe, C., Martens, G., Mannens, E., Walle, R.: XML to RDF conversion: a Generic Approach. In: International Conference on Automated Solutions for Cross Media Content and Multi-channel Distribution, AXMEDIS 2008, pp. 138–144. IEEE (2008)
W3C. Document Type Definition. Technical report (1999), http://www.w3.org/TR/html4/sgml/dtd.html
W3C. Extensible Markup Language (XML) (2007), http://www.w3.org/XML/ , Technical report, www.w3c.org
W3C. OWL 2 Web Ontology Language Direct Semantics (2009), http://www.w3.org/TR/owl2-direct-semantics/ , Technical report, www.w3.org
W3C. OWL 2 Web Ontology Language RDF-Based Semantics (2009), http://www.w3.org/TR/owl2-rdf-based-semantics/ , Technical report, www.w3.org
W3C. W3C XML Schema Definition Language (XSD) (2009), http://www.w3.org/XML/Schema , Technical report, www.w3.org
Wu, X., Ratcliffe, D., Cameron, M.A.: XML Schema Representation and Reasoning: A Description Logic Method. In: IEEE Congress on Services-Part I, pp. 487–494. IEEE (2008)
Xiao, H., Cruz, I.: Integrating and Exchanging XML Data Using Ontologies. In: Spaccapietra, S., Aberer, K., Cudré-Mauroux, P. (eds.) Journal on Data Semantics VI. LNCS, vol. 4090, pp. 67–89. Springer, Heidelberg (2006)
Zhang, F., Yan, L., Ma, Z.M., Cheng, J.: Knowledge representation and reasoning of XML with ontology. In: Proceedings of the 2011 ACM Symposium on Applied Computing, pp. 1705–1710. ACM (2011)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 IFIP International Federation for Information Processing
About this paper
Cite this paper
Almendros-Jiménez, J.M. (2012). Validation of XML Documents with SWRL. In: Quirchmayr, G., Basl, J., You, I., Xu, L., Weippl, E. (eds) Multidisciplinary Research and Practice for Information Systems. CD-ARES 2012. Lecture Notes in Computer Science, vol 7465. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-32498-7_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-32498-7_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-32497-0
Online ISBN: 978-3-642-32498-7
eBook Packages: Computer ScienceComputer Science (R0)
