Converting relational data into a property graph is advantageous for relational data analysis using graph algorithms. However, existing methods for constructing property graphs from relational data often require complex join operations when predefined entities and relationships are given. Additionally, constructing graphs from large-scale relational data is time-consuming due to the need to aggregate instances from multiple tables. To address this issue, this paper proposes a schema-based graph construction method called GraphCon. GraphCon employs a schema-based mapping mechanism to achieve equivalent mapping between the graph schema and the relational schema. Additionally, we optimize a complex join strategy, InstanceJoin, in the graph construction process. To improve efficiency in handling large-scale data, we introduce a parallel algorithm that includes a data partition strategy based on the graph schema and a load-balancing strategy to enhance scalability. Experiments using the TPC-H benchmark and real-life datasets validate the efficiency and scalability of our proposed methods.
- Article type
- Year
- Co-author
Open Access
Issue
Open Access
Issue
Anomaly detection in attribute networks is utilized to discover patterns of individuals or groups that deviate from the majority, and is widely used in areas such as e-commerce and social media. We define a new graph rule system for the detection of anomalies in graphs, referred to as Anomaly Graph Rules (AGRs). Using the mechanism of rule inference, AGRs describe anomaly nodes and structures in the form of graph patterns, and express the logic of anomaly generation through different types of literals. In addition to enhancing the ability of the rules to capture information about complete graph features, the literals support the embedding of machine learning models. Moreover, we propose a rule-matching algorithm that applies AGRs to the entire graph for anomaly detection. This algorithm innovatively incorporates conditional determination into pattern matching, employing conditional verification to aid the pruning operation of pattern matching and thus improving efficiency. In contrast to most previous studies, both anomalous nodes and anomalous structures can be detected simultaneously, and the results can be logically interpreted. We demonstrate the accuracy and efficiency of the algorithm using both real and synthetic datasets.
京公网安备11010802044758号