METHOD AND PROCESS FOR END USERS TO QUERY HIERARCHICAL DATA
First Claim
Patent Images
1. A computer-implemented method of composing a query of hierarchical data, comprising:
- receiving a selection of at least one query node from a set of one or more query nodes included in a query tool, wherein each query node represents elements of the hierarchical data, and wherein a mapping template specifies mappings from the one or more query nodes of the query tool to the elements of the hierarchal datapresenting, in the query tool, a form for entering a query predicate corresponding to the at least one selected query node;
receiving, in the query tool, one or more query predicates specified in the form;
composing a query of the hierarchical data from a base query, the one or more query predicates, and the mapping template, wherein the base query identifies a data source for the composed query; and
modifying the base query to include the one or more query predicates.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide techniques for specifying precise queries of hierarchical data. In one embodiment, a mapping template is created to represent the hierarchical data in terms that are easy to for users to understand. The mapping template is used to generate a query tool having a tree structure made up of nodes that are queried by the user. The user may compose a query by navigating the tree structure to select nodes of interest, and specifying predicates for the selected nodes. Once the query is composed, it may be executed against the hierarchical data.
-
Citations
21 Claims
-
1. A computer-implemented method of composing a query of hierarchical data, comprising:
-
receiving a selection of at least one query node from a set of one or more query nodes included in a query tool, wherein each query node represents elements of the hierarchical data, and wherein a mapping template specifies mappings from the one or more query nodes of the query tool to the elements of the hierarchal data presenting, in the query tool, a form for entering a query predicate corresponding to the at least one selected query node; receiving, in the query tool, one or more query predicates specified in the form; composing a query of the hierarchical data from a base query, the one or more query predicates, and the mapping template, wherein the base query identifies a data source for the composed query; and modifying the base query to include the one or more query predicates. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising a computer-useable storage medium having a computer readable program resident thereon, wherein the computer readable program, when executed on by one or more processors, causes the one or more processors to perform an operation comprising:
-
receiving a selection of at least one query node from a set of one or more query nodes included in a query tool, wherein each query node represents elements of the hierarchical data, and wherein a mapping template specifies mappings from the one or more query nodes of the query tool to the elements of the hierarchal data; presenting, in the query tool, a form for entering a query predicate corresponding to the at least one selected query node; receiving, in the query tool, one or more query predicates specified in the form; composing a query of the hierarchical data from a base query, the one or more query predicates, and the mapping template, wherein the base query identifies a data source for the composed query; and modifying the base query to include the one or more query predicates. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system, comprising:
-
a processor; and a memory containing a program configured to compose a query of hierarchical data by performing an operation, comprising; receiving a selection of at least one query node from a set of one or more query nodes included in a query tool, wherein each query node represents elements of the hierarchical data, and wherein a mapping template specifies mappings from the one or more query nodes of the query tool to the elements of the hierarchal data; presenting, in the query tool, a form for entering a query predicate corresponding to the at least one selected query node; receiving, in the query tool, one or more query predicates specified in the form; composing a query of the hierarchical data from a base query, the one or more query predicates, and the mapping template, wherein the base query identifies a data source for the composed query; and modifying the base query to include the one or more query predicates. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification