Querying markup language data sources using a relational query processor
AssigneeInternational Business Machines Corporation
InventorsMartin Breining, Vanja Josifovski, Peter M. Schwarz
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMartin Breining, Vanja Josifovski, Peter M. Schwarz
Estimating the term…
An XML wrapper queries an XML document in an on-the-fly manner so that only parent nodes in the document that satisfy the query are extracted and then unnested. The parent nodes and associated descendent nodes are located using XPath expressions contained as options in data definition language (DDL) statements. The parent nodes satisfying the query and associated descendent nodes are extracted and stored outside of a database according to a relational schema. The wrapper facilitates applications that use convention SQL queries and views to operate on that information stored according to the relational schema. The wrapper also responds to query optimizer requests for costs associated with queries against external data sources associated with the wrapper.
A method of querying data in a mark-up language document stored in a data source, the mark-up language document containing a plurality of nodes, the method comprising:
A computer-readable medium of instructions for execution by a computer and suitable for specifying a mapping of a plurality of nodes contained in a mark-up language document according to a relational schema into a plurality of tables, comprising:
A method of querying a document containing hierarchical information that includes parent nodes and descendent nodes, comprising:
A method of locating a path from a descendent node to a root node in a document containing hierarchical information, the method comprising joining a table holding information of the descendent node and a table holding information of the root node, wherein each of the tables has a primary key and a foreign key, columns of the table holding the descendent node information are selected, and predicates for the join are taken over the primary and foreign keys of the selected tables.
A computer based system for querying a markup language document having hierarchical information including a parent node and descendent nodes related to the parent node, comprising:
A computer based system for querying a markup language document having hierarchical information including a parent node and descendent nodes related to the parent node, comprising:
A method of optimizing a query, comprising:
Dependencies are inferred from the claim text.