IP Library Patent Application 13723426
Patent Application
App. No. 13/723,426

Calculating Property Caching Exclusions In A Graph Evaluation Query Language

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
13/723,426
Abstract

The present disclosure involves methods, systems, and apparatus, including computer programs encoded on computer storage media, for calculating property caching exclusions in a graph evaluation query language. One method includes determining whether a value of a query property operation corresponds to a named sub-query, using a first cache to determine whether the named sub-query uses labels, parsing the named sub-query into a first parse tree, and evaluating, by operation of a computer, the parsed named sub-query using the first parse tree to determine whether the result for the named sub-query may be cached, the evaluation comprising: determining whether a node operation is encountered in the named sub-query, determining whether a value of a named sub-query property operation corresponds to a new named sub-query, using a first cache to determine whether the new named sub-query uses labels, parsing the new named sub-query into a second parse tree, and evaluating the parsed new named sub-query using the second parse tree to determine whether the result for the new named sub-query may be cached.

Claims (37)

1 . A method, comprising:

determining whether a value of a query property operation corresponds to a named sub-query;

using a first cache to determine whether the named sub-query uses labels;

parsing the named sub-query into a first parse tree; and

evaluating, by operation of a computer, the parsed named sub-query using the first parse tree to determine whether the result for the named sub-query may be cached, the evaluation comprising:

determining whether a node operation is encountered in the named sub-query;

determining whether a value of a named sub-query property operation corresponds to a new named sub-query;

using a first cache to determine whether the new named sub-query uses labels;

parsing the new named sub-query into a second parse tree; and

evaluating the parsed new named sub-query using the second parse tree to determine whether the result for the new named sub-query may be cached.

2 . The method of claim 1 , further comprising adding the value of the query property operation to a second cache.

3 . The method of claim 2 , further comprising using the value of the query property operation to continue execution of the query.

4 . The method of claim 1 , further comprising indicating in the first cache that the named sub-query uses labels upon the determination that a node operation is encountered in the named sub-query.

5 . The method of claim 4 , further comprising indicating in the first cache that any ancestral query of the named sub-query uses labels.

6 . The method of claim 1 , further comprising adding the result of the parsed named sub-query to a second cache.

7 . The method of claim 6 , further comprising using the result of the parsed named sub-query to continue execution of the query.

8 . The method of claim 1 , further comprising indicating in the first cache that the named sub-query uses labels upon an indication in the first cache that the new named sub-query uses labels.

9 . The method of claim 8 , further comprising indicating in the first cache that any ancestral query of the new named sub-query uses labels.

10 . A system, comprising:

at least one computer and at least one storage device storing instructions that are operable, when executed by the at least one computer, to cause the at least one computer to perform operations comprising:

determining whether a value of a query property operation corresponds to a named sub-query;

using a first cache to determine whether the named sub-query uses labels;

parsing the named sub-query into a first parse tree; and

evaluating the parsed named sub-query using the first parse tree to determine whether the result for the named sub-query may be cached, the evaluation comprising:

determining whether a node operation is encountered in the named sub-query;

determining whether a value of a named sub-query property operation corresponds to a new named sub-query;

using a first cache to determine whether the new named sub-query uses labels;

parsing the new named sub-query into a second parse tree; and

evaluating the parsed new named sub-query using the second parse tree to determine whether the result for the new named sub-query may be cached.

11 . The system of claim 10 , further comprising adding the value of the query property operation to a second cache.

12 . The system of claim 11 , further comprising using the value of the query property operation to continue execution of the query.

13 . The system of claim 10 , further comprising indicating in the first cache that the named sub-query uses labels upon the determination that a node operation is encountered in the named sub-query.

14 . The system of claim 13 , further comprising indicating in the first cache that any ancestral query of the named sub-query uses labels.

15 . The system of claim 10 , further comprising adding the result of the parsed named sub-query to a second cache.

16 . The system of claim 15 , further comprising using the result of the parsed named sub-query to continue execution of the query.

17 . The system of claim 10 , further comprising indicating in the first cache that the named sub-query uses labels upon an indication in the first cache that the new named sub-query uses labels.

18 . The system of claim 17 , further comprising indicating in the first cache that any ancestral query of the new named sub-query uses labels.

Assignments (2)
CERTIFICATE OF CONVERSION Recorded Sep 13, 2021
From: GOOGLE INC.
To: GOOGLE LLC
Reel/Frame 057652/0052 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 29, 2013
From: AIN, JOSHUA D.
To: GOOGLE INC.
Reel/Frame 029715/0311 →