Encoding XQuery using <em>System F</em>

Since the World Wide Web Consortium (W3C) has recommended XQuery as the standard XML query language, the interest in using existing relational technology to query the XML data has dramatically increased. The most significant challenge of the relational approach is how to fully support XQuery seman...

Full description

Bibliographic Details
Main Author: Xia, Yun
Format: Others
Language:en
Published: University of Waterloo 2006
Subjects:
XML
Online Access:http://hdl.handle.net/10012/1203
id ndltd-LACETR-oai-collectionscanada.gc.ca-OWTU.10012-1203
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-OWTU.10012-12032013-10-04T04:07:18ZXia, Yun2006-08-22T14:20:25Z2006-08-22T14:20:25Z20052005http://hdl.handle.net/10012/1203Since the World Wide Web Consortium (W3C) has recommended XQuery as the standard XML query language, the interest in using existing relational technology to query the XML data has dramatically increased. The most significant challenge of the relational approach is how to fully support XQuery semantics in XQuery-to-SQL translation. To eliminate the implicit semantics of XQuery, an XQuery fragment must be defined with simple syntax and explicit semantics. XQ is proposed as an XQuery fragment to express XML queries. <br /><br /> In this thesis, XQ is intensively investigated. It is encoded by <em>System F</em>, a second-order lambda calculus with a considerable expressive power and a strong normalization property. Since XML data is defined as inductive data types, XML tree and XML forest, in <em>System F</em>, all basic XML operators in XQ have been successfully encoded. Also, the semantics of XQ are represented in <em>System F</em> where XQ's semantics environment is encoded by an <em>Environment</em> data type with the corresponding operators. The successful encoding of XQ by <em>System F</em> ensures the termination of XQ query evaluation. <br /><br /> Moreover, an extension of XQ by a new tree operator Xtree and a vertical Vfor clause is proposed in this thesis to express some <em>undefinable</em> XQ queries. It is demonstrated that this extension still allows XQ to retain its XQ-to-SQL translation property that ensures the polynomial evaluation time complexity, and its <em>System F</em> encodable property that ensures the termination of query evaluation.application/pdf909532 bytesapplication/pdfenUniversity of WaterlooCopyright: 2005, Xia, Yun. All rights reserved.Computer ScienceXQuerySystem FXMLLambda CalculusEncoding XQuery using <em>System F</em>Thesis or DissertationSchool of Computer ScienceMaster of Mathematics
collection NDLTD
language en
format Others
sources NDLTD
topic Computer Science
XQuery
System F
XML
Lambda Calculus
spellingShingle Computer Science
XQuery
System F
XML
Lambda Calculus
Xia, Yun
Encoding XQuery using <em>System F</em>
description Since the World Wide Web Consortium (W3C) has recommended XQuery as the standard XML query language, the interest in using existing relational technology to query the XML data has dramatically increased. The most significant challenge of the relational approach is how to fully support XQuery semantics in XQuery-to-SQL translation. To eliminate the implicit semantics of XQuery, an XQuery fragment must be defined with simple syntax and explicit semantics. XQ is proposed as an XQuery fragment to express XML queries. <br /><br /> In this thesis, XQ is intensively investigated. It is encoded by <em>System F</em>, a second-order lambda calculus with a considerable expressive power and a strong normalization property. Since XML data is defined as inductive data types, XML tree and XML forest, in <em>System F</em>, all basic XML operators in XQ have been successfully encoded. Also, the semantics of XQ are represented in <em>System F</em> where XQ's semantics environment is encoded by an <em>Environment</em> data type with the corresponding operators. The successful encoding of XQ by <em>System F</em> ensures the termination of XQ query evaluation. <br /><br /> Moreover, an extension of XQ by a new tree operator Xtree and a vertical Vfor clause is proposed in this thesis to express some <em>undefinable</em> XQ queries. It is demonstrated that this extension still allows XQ to retain its XQ-to-SQL translation property that ensures the polynomial evaluation time complexity, and its <em>System F</em> encodable property that ensures the termination of query evaluation.
author Xia, Yun
author_facet Xia, Yun
author_sort Xia, Yun
title Encoding XQuery using <em>System F</em>
title_short Encoding XQuery using <em>System F</em>
title_full Encoding XQuery using <em>System F</em>
title_fullStr Encoding XQuery using <em>System F</em>
title_full_unstemmed Encoding XQuery using <em>System F</em>
title_sort encoding xquery using <em>system f</em>
publisher University of Waterloo
publishDate 2006
url http://hdl.handle.net/10012/1203
work_keys_str_mv AT xiayun encodingxqueryusingemsystemfem
_version_ 1716599593420980224