Skip to Main Content
The vast quantity of scientific data produced in life sciences demands the use of sophisticated storage and analysis techniques. In particular, for biological pathways graph analysis plays an important role and data is commonly available in XML-based formats. Thus, there is a growing need to make analysis capabilities available through query languages for XML. This paper presents an approach to extend XQuery for graph analysis with focus on data for biological pathways. A graph model is introduced within the XQuery environment. New built-in functions define the available operations on the graph model. XQuery expressions can be utilized to populate graphs with data and execute graph algorithms. Graph data and results of algorithms can be accessed in an XML representation for further processing. In addition, a reference mechanism can be used to preserve associations from graph data to the original XML data. The approach has been implemented as an extension to exist. First evaluations of the implementation show that the introduced approach is practical and efficient for reaction networks with several thousand vertices and edges.