Presentation is loading. Please wait.

Presentation is loading. Please wait.

Designing Indexing Structure for Discovering Relationships in RDF Graphs Stanislav Bartoň.

Similar presentations


Presentation on theme: "Designing Indexing Structure for Discovering Relationships in RDF Graphs Stanislav Bartoň."— Presentation transcript:

1 Designing Indexing Structure for Discovering Relationships in RDF Graphs Stanislav Bartoň

2 RDF & RDF Schema Triple (Object, Property, Subject) Objects identified by its URI Subject – an object or explicit value Special semantics added to certain resources (e.g. rdfs:class, rdfs:subclass )

3

4 Known approaches to discovering associations in RDF graphs Using graph algorithms on real data, or Path and Schema indices –2D array of paths between Classes i and j within one Schema –An array of interconnections between Schemas

5 Tree Signatures based on Dietz numbering scheme immediate knowledge of mutual position of any two nodes within a signature

6 Transforming the graph into forest of trees The RDF graph is generic directed graph possibly containing cycles –two situations can violate the tree structure: Cycles Nodes with in-degree > 1 => Transform the graph into forest of trees where the tree signatures could be applied

7 Transforming the graph into forest of trees In-degree > 1 transformation:

8 Transforming the graph into forest of trees Cycle transformation:

9 Transforming the graph into forest of trees 1.The first transformation breaks the graph into several components. 2.Individual components within the graph are identified via reachability. 3.Cycles are detected within a component by inappropriate amount of edges. 4.The signature is then built to each component. The total time complexity is then O(4n) => O(n).

10 Tree Signature indices There are two indices built to keep track of –which nodes have been ‘divided’ and to which signatures they belong, and –which multiple nodes are contained in each signature The indices are built along the creation of signatures

11 Path algorithm 1.Takes the start and end node as an input 2.Current node = start node, start signature = current signature. 3.Finds all the multiple nodes above the current node in the current signature. 4.Traverses all the new possibilities until it either does not find the end node or it does not have any possibilities left.

12 Connection algorithm The problem of finding intersecting paths is reduced to finding the multiple node to which exists a path from both starting nodes. The algorithm is keeping the set of reachable multiple nodes to each starting node. Each node gets one turn to enlarge its set of usable multiples in each iteration. After each iteration the sets of reachable multiples are intersected.

13 Conclusion and future work The algorithms are time intensive on large scale data => further optimization. Both algorithms suffer from the disability of telling the mutual position of two nodes within the graph => second level indexing structure. Proposed indexing structure is less memory intensive than the Path and Schema indices. Further support of Rho iso operator.

14 Thank you for your attention.


Download ppt "Designing Indexing Structure for Discovering Relationships in RDF Graphs Stanislav Bartoň."

Similar presentations


Ads by Google