Electronic Proceedings in Theoretical Computer Science (Jan 2015)

XQOWL: An Extension of XQuery for OWL Querying and Reasoning

  • Jesús M. Almendros-Jiménez

DOI
https://doi.org/10.4204/EPTCS.173.4
Journal volume & issue
Vol. 173, no. Proc. PROLE 2014
pp. 41 – 55

Abstract

Read online

One of the main aims of the so-called Web of Data is to be able to handle heterogeneous resources where data can be expressed in either XML or RDF. The design of programming languages able to handle both XML and RDF data is a key target in this context. In this paper we present a framework called XQOWL that makes possible to handle XML and RDF/OWL data with XQuery. XQOWL can be considered as an extension of the XQuery language that connects XQuery with SPARQL and OWL reasoners. XQOWL embeds SPARQL queries (via Jena SPARQL engine) in XQuery and enables to make calls to OWL reasoners (HermiT, Pellet and FaCT++) from XQuery. It permits to combine queries against XML and RDF/OWL resources as well as to reason with RDF/OWL data. Therefore input data can be either XML or RDF/OWL and output data can be formatted in XML (also using RDF/OWL XML serialization).