Download presentation

Presentation is loading. Please wait.

Published byPeregrine Ellis Modified over 2 years ago

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 )

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.

Similar presentations

OK

Dijkstra’s Algorithm. 2 Shortest-path Suppose we want to find the shortest path from node X to node Y It turns out that, in order to do this, we need.

Dijkstra’s Algorithm. 2 Shortest-path Suppose we want to find the shortest path from node X to node Y It turns out that, in order to do this, we need.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on power generation by speed breaker india Download ppt on motion sensing technology Ppt on political parties and electoral process in usa Ppt on power sharing in india download music Ppt on neil bohr model of atom Ppt on process management in operating system Ppt on limits and continuity worksheets Ppt on bolivian water wars Ppt on latest technology in computer Ppt on carbon and its compounds in chemistry