Tagging XML query results over relational DBMSs
First Claim
1. A method of tagging results of an XML query over a relational database, said method comprising:
- generating a tagger tree graph from said XML query, each node of said tagger tree graph comprising a tagger operator, each tagger operator having a parse tree associated therewith;
calling each tagger operator in accordance with a structure of said tagger tree graph, and evaluating said parse trees associated with each called tagger operator to tag results of said XML query over said relational database.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for publishing relational data as XML by translating XML queries into queries against a relational database. Conversion of the relational database into an XML database is not required. Each relational table is mapped to a virtual XML document, and XML queries are issued over these virtual documents. An XML query is parsed and transformed into a language-neutral intermediate representation, which is a sequence of operations describing how the output document is derived from the underlying relational tables. The intermediate representation is then translated into an SQL query over the underlying relational tables. The intermediate representation is also used to generate a tagger graph, which the tagger runtime ‘walks’ to generate the tagged, structured XML output. Each of the nodes of the tagger graph are operators which perform processing on the results of the SQL query. The SQL query is executed, and the SQL query results are then provided to the tagger. The tagger runtime applies the operators of each node to the inputs at that node to produce the structured XML document as a query result, guided by the structure of the tagger graph.
250 Citations
46 Claims
-
1. A method of tagging results of an XML query over a relational database, said method comprising:
-
generating a tagger tree graph from said XML query, each node of said tagger tree graph comprising a tagger operator, each tagger operator having a parse tree associated therewith;
calling each tagger operator in accordance with a structure of said tagger tree graph, and evaluating said parse trees associated with each called tagger operator to tag results of said XML query over said relational database. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A system for tagging results of an XML query over a relational database, said system comprising:
-
a tagger runtime;
a tagger tree graph generated from said XML query, each node of said tagger tree graph comprising a tagger operator;
a parse tree associated with each tagger operator, and wherein said tagger runtime calls each tagger operator in accordance with a structure of said tagger tree graph and evaluates said parse trees associated with each called tagger operator to tag results of said XML query over said relational database. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)
-
-
44. A system for tagging results of an XML query over a relational database, said system comprising:
-
means for generating a tagger tree graph from said XML query, each node of said tagger tree graph comprising a tagger operator, each tagger operator having a parse tree associated therewith;
means for calling each tagger operator in accordance with a structure of said tagger tree graph, and means for evaluating said parse trees associated with each called tagger operator to tag results of said XML query over said relational database.
-
-
45. A computer program product comprising a machine-readable medium including computer readable program code therein for tagging results of an XML query over a relational database comprising:
-
computer readable program code generating a tagger tree graph from said XML query, each node of said tagger tree graph comprising a tagger operator, each tagger operator having a parse tree associated therewith;
computer readable program code calling each tagger operator in accordance with a structure of said tagger tree graph, and computer readable program code evaluating said parse trees associated with each called tagger operator to tag results of said XML query over said relational database. - View Dependent Claims (46)
-
Specification