发明名称 Method and system for processing graph queries
摘要 In certain example embodiments, a graph query retrieves data items from a data source by indicating a source node, a target node, and a plurality of edges between the source and target nodes. Each edge includes one or more relation conditions. Each relation condition defines a mapping between items of one of the source item types and items of one of the target item types. The edges are selected and traversed from the source node to the target node in accordance with the relation condition(s), producing an intermediate set of result items including items of the data source that belong to the at least one target item type and fulfill the corresponding relation condition(s). Items from the intermediate set of result items that do not fulfill the corresponding relation condition(s) are deleted as further traversals are made. The intermediate set ultimately is returned as the graph query result.
申请公布号 US9092481(B2) 申请公布日期 2015.07.28
申请号 US201313764846 申请日期 2013.02.12
申请人 SOFTWARE AG 发明人 Digana Tibor
分类号 G06F7/00;G06F17/30 主分类号 G06F7/00
代理机构 Nixon & Vanderhye PC 代理人 Nixon & Vanderhye PC
主权项 1. A computer-implemented method for processing a graph query in connection with at least one processor of a computer system, wherein the graph query serves for retrieving data items from a data source by indicating at least a source node representing one or more source item types, a target node representing one or more target item types, and a plurality of edges between the source node and the target node, wherein each edge comprises one or more relation conditions, wherein each relation condition defines a mapping between items of one of the source item types and items of one of the target item types, the method comprising: (a) selecting a first edge of the plurality of edges; (b) traversing the selected first edge from the source node to the target node in accordance with the one or more relation conditions of the first edge to produce an intermediate set of result items, wherein the intermediate set of result items comprises the items of the data source which belong to the at least one target item type and which fulfill the corresponding one or more relation conditions; (c) selecting a further edge of the plurality of edges; (d) traversing the selected further edge from the target node to the source node in accordance with the one or more relation conditions of the selected further edge, and deleting items from the intermediate set of result items produced in (b) which do not fulfill the corresponding one or more relation conditions; (e) repeating (c) and (d) for each further edge of the plurality of edges; and (f) returning the intermediate set of result items as the result of the graph query processed by the at least one processor.
地址 Darmstadt DE