METHODS AND APPARATUS FOR SPECIFYING AND PROCESSING DESCRIPTIVE QUERIES FOR DATA SOURCES
First Claim
1. A method of processing descriptive queries for data sources, comprisinga set of data providers, each data provider distinguished by a type of data that the data provider provides and a set of attributes, each attribute with a unique name and a particular type of value, and the data providers being grouped into named provider kinds, wherein the data providers grouped into a same provider kind provide a same type of data and have a same set of attributes, the method comprising:
- obtaining a descriptive query, the descriptive query comprising the name of a provider kind and a specification of a mapping from an assignment of one or more values for one or more attributes of the data provider to one of a true value and a false value; and
resolving the descriptive query, the resolving comprising determining data providers in the set of data providers that belong to the provider kind specified in the descriptive query and for which the mapping specification in the descriptive query maps the one or more values of the one or more attributes of the data provider to the true value,wherein the obtaining and resolving steps are performed at least in part by a processor coupled to a memory.
0 Assignments
0 Petitions
Accused Products
Abstract
Improved descriptive query techniques are provided. More particularly, techniques are provided for specifying and processing descriptive queries for data providers grouped into provider kinds with hierarchical containment relationships. The query may include arbitrary boolean combinations of arbitrary tests on the values of attributes of the data providers.
-
Citations
22 Claims
-
1. A method of processing descriptive queries for data sources, comprising
a set of data providers, each data provider distinguished by a type of data that the data provider provides and a set of attributes, each attribute with a unique name and a particular type of value, and the data providers being grouped into named provider kinds, wherein the data providers grouped into a same provider kind provide a same type of data and have a same set of attributes, the method comprising: -
obtaining a descriptive query, the descriptive query comprising the name of a provider kind and a specification of a mapping from an assignment of one or more values for one or more attributes of the data provider to one of a true value and a false value; and resolving the descriptive query, the resolving comprising determining data providers in the set of data providers that belong to the provider kind specified in the descriptive query and for which the mapping specification in the descriptive query maps the one or more values of the one or more attributes of the data provider to the true value, wherein the obtaining and resolving steps are performed at least in part by a processor coupled to a memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. Apparatus for processing descriptive queries for data sources, comprising:
-
a memory; and at least one processor coupled to the memory and operative to, given a set of data providers, each data provider distinguished by a type of data that the data provider provides and a set of attributes, each attribute with a unique name and a particular type of value, and a grouping of the data providers into named provider kinds, wherein the data providers grouped into a same provider kind provide a same type of data and have a same set of attributes; (i) obtain a descriptive query, the descriptive query comprising the name of a provider kind and a specification of a mapping from an assignment of one or more values for one or more attributes of the data provider to one of a true value and a false value; and (ii) resolve the descriptive query, the resolving step comprising determining data providers in the set of data providers that belong to the provider kind specified in the descriptive query and for which the mapping specification in the descriptive query maps the one or more values of the one or more attributes of the data provider to the true value.
-
-
21. An article of manufacture for processing descriptive queries for data sources comprising
a set of named data providers, each data provider distinguished by a type of data that the data provider provides and a set of attributes, each attribute with a unique name and a particular type of value, and the data providers being grouped into named provider kinds, wherein the data providers grouped into a same provider kind provide a same type of data and have a same set of attributes, the article of manufacture comprising a machine readable storage medium containing one or more programs which when executed implement the steps of: -
obtaining a descriptive query, the descriptive query comprising the name of a provider kind and a specification of a mapping from an assignment of one or more values for one or more attributes of the data provider to one of a true value and a false value; and resolving the descriptive query, the resolving step comprising determining data providers in the set of named data providers that belong to the provider kind specified in the descriptive query and for which the mapping specification in the descriptive query maps the one or more values of the one or more attributes of the data provider to the true value.
-
-
22. A method of providing a service for processing descriptive queries for data sources, comprising:
-
a service provider, given a set of data providers, each data provider distinguished by a type of data that the data provider provides and a set of attributes, each attribute with a unique name and a particular type of value, and a grouping of the data providers into named provider kinds, wherein the data providers grouped into a same provider kind provide a same type of data and have a same set of attributes; obtaining a descriptive query, the descriptive query comprising the name of a provider kind and a specification of a mapping from an assignment of one or more values for one or more attributes of the data provider to one of a true value and a false value; and resolving the descriptive query, the resolving step comprising determining data providers in the set of named data providers that belong to the provider kind specified in the descriptive query and for which the mapping specification in the descriptive query maps the one or more values of the one or more attributes of the data provider to the true value, wherein the obtaining and resolving steps are performed at least in part by a processor coupled to a memory.
-
Specification