Skip to content

Repository files navigation

Evaluation of 25 OpenEA knowledge graph alignment methods

Overview

This repository contains the data, scripts and results of evaluating 25 methods offered by the OpenEA package for the alignment of datasets related to product, sales and user satisfaction. Through this study we aim to identify:

  • Which methods give the best performance in our domain of interest?
  • Which is the impact of the structure of the ontologies in the results?
  • Which is the impact of combining the best performing methods in the results?

The next figure describes the approach followed. The experiments included seven datasets related to our domain of interest: six datasets have been selected from Kaggle and the other one was provided by the chemical company BASF SE as an RDF knowledge graph.

The datasets were represented in RDF using different ontologies, which have the following origin:

  • Basic ontology (B). Dataset-dependent ontology, created by a member of our team, which implements a canonical representation of the CSV file, in which the ontology has one class, and the columns are represented as datatype properties of the class, because they are strings, dates and numeric data.

  • Gold ontology (G). Dataset-dependent ontology, created by a member of our team. The gold ontology includes the definition of different classes that are related to each other through object properties, as well as attributes included as datatype properties.

  • LLM ontology (L). Dataset-dependent ontology. This ontology corresponds to the schema returned by OntoGenix \cite{ontogenix}, an LLM algorithm based on ChatGPT4.0 which has been given guidelines to generate an ontology from a CSV dataset.

  • Materials (M) and Transactions (T), dataset-independent ontologies. These ontologies, which are called BASF ontologies or application ontologies (AP), was previously developed by BASF SE domain experts for the modeling of business entities related to commercial activity.

Figure 1. Method Overview.

Overview Figure

Pipeline OpenEA

We have designed a pipeline for standardizing our process for obtaining the alignments between pairs of knowledge graphs, which is described in the next figure.

Each experiment consists of finding the alignment between two KGs generated from the information stored in the same CSV file (dataset) but structured with two different ontologies.

See the instructions for reproducing the experiments.

Figure 2. Entity Alignment OpenEA Pipeline .

Entity Alignment OpenEA Pipeline

Experiments performed

A total of 49 alignment experiments were carried out using 25 different methods. Alignments were carried out whenever the schemas had compatible entities to align.

Table 1. Experiments Performed.
ApproachAirlinesCustomerSatisfactionAmazonRatingsBigBasketProductsBrazilianE-commerceE-CommerceDataCustomer Satisfaction
Basic-BasicXXXXXX
Basic-GoldXXXXXX
Basic-LLMXXXXXX
Basic-APXX
Gold-GoldXXXXXX
Gold-LLMXXXXXX
Gold-APXXXX
LLM-LLMXXXXXX
LLM-APXXX
AP-APXXXX

Results

The results have been analyzed at three levels, from higher to lower resolution. At the individual class level, at the method level and at the experiment type level. The detailed results by dataset can be accessed by clicking on the name of the dataset.

Next, we present some tables and figures that summarize the results obtained in terms of Hits@1, runtime and errors

Figure 3. Distribution of OpenEA methods according to the average Hits@1 score obtained between datasets and the average execution time obtained between datasets, scaled between 0 and 1 for each experiment. The average percentage of failed experiments between datasets is included in the label. Modules with an error rate of 1 are not shown.

Modules distribution by averages

Table 2. Mean Hits@1 metric ([0,100]) obtained by each method
ApproachAirlinesCustomerSatisfactionAmazonRatingsBigBasketProductsBrazilianE-commerceE-CommerceDataCustomerComplaintDatabasemeanH@1
0AlignE(0.0)15.116735.39729.56824.162531.858922.803326.4844
1AliNet(0.57)68.3459.058355.5270.2860.012540.763358.9957
2AttrE(0.0)41.49568.01760.92759.0142.655658.886755.1652
3BootEA(0.0)16.281737.88430.60926.352531.837823.2427.7008
4BootEA-R(0.0)16.11537.04929.89425.763732.172222.726727.2868
5BootEA-T(1.0)nannannannannannannan
6Conve(1.0)nannannannannannannan
7GCN_Align(0.0)12.616737.83928.62625.151229.751121.928325.9854
8GMNN(0.69)nannan86.4110099.7783nan95.3961
9HolE(0.0)9.56531.42421.84919.11525.935617.453320.8903
10IMUSE(0.16)26.581756.824344.338989.92557.053331.138350.9769
11IPTransE(0.93)nannannannan33.035nan33.035
12JAPE(0.21)0.47333326.956723.447822.103316.022514.301717.2175
13KDCoE(1.0)nannannannannannannan
14MTransE(0.0)1.95531.324.84919.713.9612.351717.3526
15MultiKE(1.0)nannannannannannannan
16ProjE(0.04)5.3666715.73212.7226.8512524.542911.1212.7225
17RDGCN(0.07)0.0050.00972.824434.848619.66780.03421.2315
18RotatE(0.16)0.016666730.4828.80124.398731.43562.027519.5266
19RSN4EA(0.7)nan56.158.087563.426761.2425nan59.7142
20SEA(0.0)16.248335.70729.05924.57532.205621.891726.6144
21SimplE(0.0)0.091666727.73222.20920.77523.43445.02516.5445
22TransD(0.02)13.126733.62126.3619.7329.686321.1623.9473
23TransH(0.0)13.321733.70226.21121.367529.278921.424.2135
24TransR(0.0)0.0150.0360.080.038750.390.04666670.101069
Table 3. Mean Runtime ([0,1]) for each module.
ApproachAirlinesCustomerSatisfactionAmazonRatingsBigBasketProductsBrazilianE-commerceE-CommerceDataCustomerComplaintDatabasemeanTime
0AlignE0.3834520.3984770.1403990.2177420.3088540.4204490.311562
1AliNet0.292390.4135010.1280830.705340.1762020.5037210.369873
2AttrE0.5860990.3298580.1754980.3347520.1669250.6259120.369841
3BootEA0.4346920.5702260.1480050.3121510.2977530.4202060.363839
4BootEA-R0.682020.850520.3194720.5752350.5390290.7470110.618881
5BootEA-Tnannannannannannannan
6Convenannannannannannannan
7GCN_Align0.0581690.02324820.003548920.006144880.007663330.02059080.0198942
8GMNNnannan110.853034nan0.951011
9HolE0.4762020.60370.3509370.3883890.5059760.6047570.488327
10IMUSE0.1682260.07236320.0173930.02084820.01196940.094830.0642716
11IPTransEnannannannan0.0682923nan0.0682923
12JAPE0.3468940.09858590.03330280.05548220.03794480.2501690.137063
13KDCoEnannannannannannannan
14MTransE0.06528840.01967020.007712340.02318610.01553080.06440530.0326322
15MultiKEnannannannannannannan
16ProjE0.421830.2840930.136030.2253910.3227630.4008540.298493
17RDGCN0.3310120.1097520.3375650.4687650.5107580.9163270.445697
18RotatE0.4152710.3175080.1469110.1962990.2571310.4521410.297543
19RSN4EAnan0.8043110.2756580.7789850.88147nan0.685106
20SEA0.07296130.0310180.006938810.02863980.02957750.02882120.0329928
21SimplE0.006555950.01340170.01369430.01524450.02060470.001470420.0118286
22TransD0.1436170.1036020.03983690.05956280.08867510.2058730.106861
23TransH0.115470.06787250.02530320.06048990.08985470.1512130.0850337
24TransR0.1823170.1221780.0664970.07962530.1262920.1444970.120235
Table 4. Mean Error rate ([0,1]) for each module.
ApproachAirlinesCustomerSatisfactionAmazonRatingsBigBasketProductsBrazilianE-commerceE-CommerceDataCustomerComplaintDatabasemeanError
0AlignE0000000
1AliNet0.8333330.40.50.6250.5555560.50.57
2AttrE0000000
3BootEA0000000
4BootEA-R0000000
5BootEA-T1111111
6Conve1111111
7GCN_Align0000000
8GMNN110.30.50.33333310.69
9HolE0000000
10IMUSE00.30.10.250.33333300.16
11IPTransE11110.55555610.93
12JAPE00.40.10.6250.11111100.21
13KDCoE1111111
14MTransE0000000
15MultiKE1111111
16ProjE00000.22222200.04
17RDGCN000.10.12500.1666670.07
18RotatE0.50.10000.3333330.16
19RSN4EA10.40.60.6250.55555610.7
20SEA0000000
21SimplE0000000
22TransD00000.11111100.02
23TransH0000000
24TransR0000000
Table 5. P-value of the two-sided t-test statistic between trivial graph alignment experiments, considering the Hits@1 of all methods. Assuming normality, sample independence and not considering Nan values.
AlignEAliNetAttrEBootEABootEA_RGCN_AGMNNHolEIMUSEIPTransEJAPEMTransEProjERDGCNRotatERSN4EASEASimplETransDTransHTransR
AlignE1.0
AliNet2.709E-051.0
AttrE1.105E-040.7901.0
BootEA0.8517.452E-052.872E-041.0
BootEA_R0.9015.419E-052.2130E-040.9501.0
GCN_A0.9602.300E-059.410E-050.8130.8621.0
GMNN2.558E-111.828E-059.856E-064.738E-113.820E-112.237E-111.0
HolE0.3583.990E-071.447E-060.2750.3020.3873.870E-121.0
IMUSE0.0010.2980.4580.0030.0020.0018.131E-072.796E-051.0
IPTransE0.8240.3380.3700.8650.8510.8130.0620.6510.4821.0
JAPE0.0902.966E-087.574E-080.0660.0740.1019.794E-130.3901.722E-060.5231.0
MTransE0.1293.021E-085.946E-080.0940.1050.1453.570E-120.5491.594E-060.5660.7361.0
ProjE0.0061.098E-092.003E-100.0040.0050.0077.212E-120.0478.170E-090.4240.3440.1291.0
RDGCN0.5448.402E-063.256E-050.4430.4770.5766.805E-120.8403.671E-040.6920.3550.4810.0741.0
RotatE0.6185.428E-062.181E-050.5020.5400.6548.316E-120.7062.855E-040.7210.2490.3500.0320.8901.0
RSN4EA9.289E-060.8540.6632.707E-051.932E-057.858E-062.468E-051.304E-070.2120.3181.103E-081.240E-081.189E-093.020E-061.851E-061.0
SEA0.9863.090E-051.251E-040.8660.9150.9462.713E-110.3510.0010.8280.0890.1270.0060.5350.6081.068E-051.0
SimplE0.1182.835E-086.347E-080.0860.0960.1322.102E-120.5011.637E-060.5530.8120.9210.1820.4430.3201.086E-080.1161.0
TransD0.6733.743E-061.551E-050.5460.5880.7129.322E-120.6142.301E-040.7390.1870.2670.0150.8140.9211.213E-060.6620.2431.0
TransH0.7124.551E-061.900E-050.5800.6240.7511.027E-110.5762.765E-040.7490.1700.2430.0130.7770.8811.474E-060.6990.2210.9571.0
TransR3.190E-074.875E-113.488E-143.705E-073.770E-074.260E-071.318E-111.113E-062.681E-120.2269.832E-055.334E-073.855E-076.728E-056.478E-063.522E-103.612E-073.104E-065.522E-074.258E-071.0
Table 6. P-value of the two-sided t-test statistic between trivial graph alignment experiments, considering the Hits@1 of all methods. Assuming normality, sample independence and not considering Nan values.
G-GB-BL-LAP-APG-BG-LG-APB-LB-APL-AP
G-G1.0
B-B7.49E-301.0
L-L3.84E-079.90e-141.0
AP-AP3.06E-086.98E-080.1951.0
G-B7.67E-380.3051.0
G-L1.02E-231.95E-078.57E-071.0
G-AP3.13E-130.2094.60E-090.0501.0
B-L0.0256.13E-250.1981.23E-111.0
B-AP0.2367.99E-080.6482.50E-060.7241.0
L-AP2.35E-071.20E-030.7430.0321.00E-085.58E-041.0
Figure 4. Bar chart containing the average increase in Hits@1 value when combining the AttrE module with either BootEA or Align-E or SEA, with respect to the module of each pair with the highest Hits@1 value. For the 4 types of experiments G-G, B-B, L-L and AP-AP. This is the average obtained from the averages obtained from all the classes aligned in each of the six datasets individually.

Modules distribution by averages

About

Repository with the scripts, data and results of the evaluation of 25 graph alignment methods offered by OpenEA

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages