Claims
- 1. A method of querying one or more Web-based data sources, said method comprising:
receiving a compound query statement, said compound query statement comprising at least one first-level query and at least one aggregation operator; and determining which, if any, aggregation operators apply to each said at least one first-level query, wherein each of said aggregation operators can be either an explicit aggregation operator or an implicit aggregation operator, an explicit aggregation operator being a statement in said compound query statement that defines an operation to be performed on a result of querying said Web-based data source, an implicit aggregation operator being an aggregation operator defining a default aggregate operation if no explicit aggregation operator is present.
- 2. The method of claim 1, said compound query statement further comprising:
at least one second-level query.
- 3. The method of claim 2, wherein one of said implicit aggregation operators comprises an “AND” operation due to said second-level query.
- 4. The method of claim 1, wherein a query format of said query statement comprises an extensible markup language (XML)-based search language for Web-based data sources, including Universal Description, Discovery and Integration(UDDI) Registries and Web Services Inspection Language (WS-Inspection or WSIL) documents.
- 5. The method of claim 1, further comprising:
determining whether said received compound query statement contains one or more independent query statements; and transmitting said one or more independent query statement to at least one appropriate target server.
- 6. The method of claim 5, wherein one of said implicit aggregation operators comprises an “OR” operation for aggregating a result of independent query statements.
- 7. The method of claim 1, further comprising:
combining two or more said queries in said received compound query statement into a single query prior to executing a search in a UDDI registry affiliated with a unit receiving said compound query statement.
- 8. The method of claim 1, further comprising:
performing at least one search on a data base affiliated with a unit receiving said compound query statement.
- 9. The method of claim 8, further comprising:
performing at least one aggregation operation on a result of said at least one search.
- 10. The method of claim 5, further comprising:
performing at least one aggregation operation on a result received back from said at least one appropriate target server.
- 11. The method of claim 1, further comprising:
returning a single response to a sender of said compound query statement, said single response being a result of performing all of said at least one aggregation operator included in said compound query statement.
- 12. A server for a Web-based data source, comprising:
an input receiver to receive a compound query statement, said compound query statement comprising at least one first-level query and at least one aggregation operator, wherein each of said aggregation operators can be either an explicit aggregation operator or an implicit aggregation operator, an explicit aggregation operator being a statement in said compound query statement that defines an operation to be performed on a result of querying a Web-based data source, an implicit aggregation operator being an aggregation operator defining a default aggregate operation if no explicit aggregation operator is present; a parser to parse the received compound query statement to identify a target data source for each said at least one first-level query and to determine which, if any, aggregation operators apply to each said at least one first-level query; and a source dispatching broker to dispatch each said at least one first-level query to a Web-based data source for a search, wherein at least one said first-level query is directed to a Web-based data source controlled by the receiving server itself.
- 13. The server of claim 11, wherein said Web-based data source comprises at least one of:
a Universal Description, Discovery and Integration (UDDI) registry; and a Web Services Inspection Language (WSIL) document for Web Services.
- 14. A signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method of querying one or more Web-based data sources based on a received query statement, said method comprising:
receiving a compound query statement, said compound query statement comprising at least one first-level query and at least one aggregation operator; and determining which, if any, aggregation operators apply to each said at least one first-level query, wherein each of said aggregation operators can be either an explicit aggregation operator or an implicit aggregation operator, an explicit aggregation operator being a statement in said compound query statement that defines an operation to be performed on a result of querying said Web-based data source, an implicit aggregation operator being an aggregation operator defining a default aggregate operation if no explicit aggregation operator is present.
- 15. A data structure embedded in a signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method of querying one or more Web-based data sources based on a received query statement, said data structure comprising:
at least one first-level query; and at least one aggregation operator, said aggregation operator defining at least one logical operation to be performed on a result returned from at least one of a target data source.
- 16. The data structure of claim 15, wherein said at least one aggregate operator comprises one of:
an explicit aggregation operator; and an implicit aggregation operator, wherein an explicit aggregation operator comprises a statement actually in said query statement that defines an operation to be performed on a result of querying a Web-based data source, an implicit aggregation operator being an aggregation operator defining a default aggregate operation if no explicit aggregation operator is present in said received query statement.
- 17. The data structure of claim 15, further comprising:
at least one search criteria for said first-level query.
- 18. The data structure of claim 15, further comprising:
at least one second-level query.
- 19. The data structure of claim 18, wherein said at least one second-level query provides an implicit aggregation operator comprising an “AND” operation between said at least one second-level query and one of said at least one first-level query.
- 20. The data structure of claim 16, wherein said default aggregation operation comprises an “OR” operation if at least two first-level queries are present and no explicit aggregation operator is defined for said at least two first-level queries.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This Application is a Continuation in Part of U.S. patent application Ser. No. 10/107,837, filed on Mar. 28, 2002.
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10107837 |
Mar 2002 |
US |
Child |
10242772 |
Sep 2002 |
US |