Weighted path queries on semistructured databases

  • Authors:
  • Sergio Flesca;Filippo Furfaro;Sergio Greco

  • Affiliations:
  • DEIS Universití della Calabria 87030 Rende, Italy;DEIS Universití della Calabria 87030 Rende, Italy;DEIS Universití della Calabria 87030 Rende, Italy

  • Venue:
  • Information and Computation
  • Year:
  • 2006

Quantified Score

Hi-index 0.01

Visualization

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.