Claims Analysis
Total Claims: 16
Claim 1
Independent Claim
117 words
A method comprising the steps of: receiving a computer programming language database query; generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the theta-semijoin operator, said rule being ##EQU63## where θ 2 involves only the attributes in attrs(Q) ∪attrs(E 1 ), ##EQU64## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates; selecting at least one of said relational algebraic expressions; and accessing said computer programming language database based on said selected expression.
Claim 2
Independent Claim
117 words
A method comprising the steps of: receiving a computer programming language database query; generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the theta-semijoin operator, said rule being ##EQU63## where θ 2 involves only the attributes in attrs(Q) ∪attrs(E 1 ), ##EQU64## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates; selecting at least one of said relational algebraic expressions; and accessing said computer programming language database based on said selected expression.
Claim 3
Dependent Claim
29 words
The method of claim 1 wherein said generating comprises the step of repeatedly applying said rule to at least one relational algebraic expression generated in response to said query.
Claim 4
Dependent Claim
12 words
The method of claim 1 wherein said computer programming language is SQL.
Claim 5
Independent Claim
120 words
An apparatus comprising means for receiving a first relational algebraic expression responsive to an SQL query for a database; means for transforming said first expression into at least one generated relational algebraic expression, said transforming involving an equivalence rule, said rule being ##EQU65## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU66## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates; means for selecting at least one of said generated relational algebraic expressions; and means for accessing said database based on said selected expression.
Claim 6
Independent Claim
120 words
An apparatus comprising means for receiving a first relational algebraic expression responsive to an SQL query for a database; means for transforming said first expression into at least one generated relational algebraic expression, said transforming involving an equivalence rule, said rule being ##EQU65## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU66## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates; means for selecting at least one of said generated relational algebraic expressions; and means for accessing said database based on said selected expression.
Claim 7
Dependent Claim
24 words
The apparatus of claim 4 wherein said transforming means comprises means for reiteratively applying said equivalence rule to said expression responsive to said query.
Claim 8
Dependent Claim
103 words
A program storage device embodying a computer program to perform method steps for optimizing an SQL query to access a computer database, said method comprising accepting the query; generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the theta-semijoin operator, said rule being ##EQU67## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU68## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join and .sub.θ denotes the multiset θ-semijoin.
Claim 9
Dependent Claim
103 words
A program storage device embodying a computer program to perform method steps for optimizing an SQL query to access a computer database, said method comprising accepting the query; generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the theta-semijoin operator, said rule being ##EQU67## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU68## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join and .sub.θ denotes the multiset θ-semijoin.
Claim 10
Dependent Claim
27 words
The device of claim 6 wherein said generating further comprises repeatedly applying said rule to at least one relational algebraic expression generated in response to said query.
Claim 11
Dependent Claim
112 words
A storage device embodying an equivalence rule involving the multiset version of the relational algebraic theta-semijoin operator, said rule being such that when input to software employing relational algebraic expressions at least one relational algebraic expression is generated, said expression responsive to a computer language database query to access said computer language database, and said rule being ##EQU69## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU70## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates.
Claim 12
Dependent Claim
112 words
A storage device embodying an equivalence rule involving the multiset version of the relational algebraic theta-semijoin operator, said rule being such that when input to software employing relational algebraic expressions at least one relational algebraic expression is generated, said expression responsive to a computer language database query to access said computer language database, and said rule being ##EQU69## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU70## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates.
Claim 13
Independent Claim
115 words
A method comprising the steps of receiving at least two computer programming language database queries; for each query, generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the thetasemijoin operator, said rule being ##EQU71## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU72## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates; and determining equivalence of said queries based on said generated relational algebraic expressions.
Claim 14
Independent Claim
115 words
A method comprising the steps of receiving at least two computer programming language database queries; for each query, generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the thetasemijoin operator, said rule being ##EQU71## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU72## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates; and determining equivalence of said queries based on said generated relational algebraic expressions.
Claim 15
Independent Claim
108 words
A method comprising the steps of receiving a computer programming language database query; and generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the theta-semijoin operator such that Constraint Magic rewriting on said query is effectuated, said rule being ##EQU73## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU74## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates.
Claim 16
Independent Claim
108 words
A method comprising the steps of receiving a computer programming language database query; and generating at least one relational algebraic expression in response to said query by means of a equivalence rule involving the multiset version of the theta-semijoin operator such that Constraint Magic rewriting on said query is effectuated, said rule being ##EQU73## where θ 2 involves only the attributes in attrs(Q) ∪ attrs(E 1 ), ##EQU74## Q denotes a query, E (with or without subscripts) denotes relational expressions, attrs(X) denotes attributes of the result of X, .sub.θ denotes the multiset θ-join, and .sub.θ denotes the multiset θ-semijoin, and θ (with or without subscript) denotes quantifier-free predicates.