Arrow Research search
Back to I&C

I&C 2006

Weighted path queries on semistructured databases

Journal Article journal-article Computer Science ยท Theoretical Computer Science

Abstract

Path queries have been extensively used to query semistructured data, such as the Web and XML documents. In this paper we introduce weighted path queries, an extension of path queries enabling several classes of optimization problems (such as the computation of shortest paths) to be easily expressed. Weighted path queries are based on the notion of weighted regular expression, i. e. , a regular expression whose symbols are associated to a weight. We characterize the problem of answering weighted path queries and provide an algorithm for computing their answer. We also show how weighted path queries can be effectively embedded into query languages for XML data to express in a simple and compact form several meaningful research problems.

Authors

Keywords

  • Semistructured data
  • Path queries
  • Query languages

Context

Venue
Information and Computation
Archive span
1987-2026
Indexed papers
3021
Paper id
540719322519377345
v2026.09.13