Optimized Internet Search Based on a Intersection Test for XPath Expressions under a DTD

نویسندگان

  • Stefan Böttcher
  • Rita Hartel
چکیده

Whenever XML data is distributed over several web sites but follows a global schema defined by a DTD, i.e. multiple sites contain fragments of a global ‘virtual’ XML document, and the accessible XML content stored on a site can be described by an XPath expression, it may be considerably advantageous to search for XML data only on those sites which contain a relevant fragment of the distributed XML document. Our optimization uses the XPath expression which describes the XML content of a web site and the XPath expression given in a search query in order to decide, whether or not the site has to be searched for relevant XML data. This is done by testing whether or not both XPath queries select disjointed node sets. The key idea is to transform each of the XPath expressions into a graph which contains all paths selected by the XPath expression. Thereafter, an intersection graph is constructed for a pair of XPath expressions. Within this intersection graph, we search for a path which is compatible to all the filters attached to the XPath expressions.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A DTD Graph Based XPath Query Subsumption Test

XPath expressions play a central role in querying for XML fragments. We present a containment test of two XPath queries which checks whether a new XPath query XP1 can reuse a previous query result XP2. The key idea is to transform XP1 into a graph which is used to search for sequences of elements which are used in the XPath query XP2.

متن کامل

Minimising Simple XPath Expressions

We consider a subset of XPath expressions, called simple XPath expressions, which correspond to a class of conjunctive queries. We show that, in the absence of a DTD, each simple XPath expression has a unique minimal equivalent expression which can be found in polynomial time. We then consider D-equivalence, the equivalence of expressions with respect to the set of documents valid for a given D...

متن کامل

Transforming XPath Expressions into Relational Algebra Expressions With Kleene Closure

In the problem of translating XPath expressions into SQL queries, the most challenging part is to find a way to minimize the use of least fixpoint (LFP) operators when a DTD graph contains cycles. In this paper, we address this issue and present a new algorithm to do the task based on the recognition of a kind of DTD graphs, which can be reduced to a single node by contracting nodes into their ...

متن کامل

Generating XML structure using examples and constraints

This paper presents a framework for automatically generating structural XML documents. The user provides a target DTD and an example of an XML document, called a Generate-XML-ByExample Document, or a GxBE document, for short. GxBE documents use a natural declarative syntax, which includes XPath expressions and the function count. Using GxBE documents, users can express important global and loca...

متن کامل

Testing Containment of XPath Expressions in Order to Reduce the Data Transfer to Mobile Clients

Within mobile client-server applications which access a server-side XML database, XPath expressions play a central role in querying for XML fragments. Whenever the mobile client can use a locally stored previous query result in order to answer a new query instead of accessing the server-side database, this can significantly reduce the data transfer from the server to the client. In order to che...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004