×

Method and system for processing data queries

  • US 9,639,575 B2
  • Filed: 03/30/2012
  • Issued: 05/02/2017
  • Est. Priority Date: 03/30/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of processing a query on a graph data set stored on a plurality of nodes, the method including the steps of:

  • dividing the query into one or more atoms which define individual queries on the graph data set;

    calculating the execution cost of each atom in the query;

    determining one or more query paths which set out an order in which one or more atoms are to be executed using said calculated execution costs and interdependence between said atoms;

    determining a query execution plan which is a set of said query paths which can be executed in parallel;

    executing said atoms on each of said nodes in accordance with said query execution plan; and

    combining the results of each query path to produce a result set that is the answer to said query;

    wherein the calculation of th execution cost is carried out by determining for each atom, a weight which for an atom i(j,k,l)is
    W(jj,ki,li)=min{wgt(js),wgt(kp),wgt(lo)}where wgt(xpos) is the number of matching triples with value x in the subject, predicate or object position pos if x is a constant, or the total size of the graph data set if x is a variable, and s, p and o are the subject, predicate and object positions respectively.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×