IMFD Research to be Presented at SIGMOD, the Leading International Database Conference

December, 2023.- One of the many research lines developed at the Millennium Institute for Foundational Research on Data (IMFD) is multimodal graphs (one of the developments in this area is Millenium DB). Multimodal graphs are ways of structuring data, representing relationships between different types of nodes and connections, which allows modeling and representing information of different kinds. One example where they can be used is in analyzing a transportation network in a given area: the nodes could be stops and the connections the routes between different modes of transportation: bicycles, cars, buses, etc. Analyzing this type of information in this format allows for a much more complete and complex understanding than analyzing the same information in database formats.

“Multimodal graphs contain more semantics than mere connectivity between nodes. This type of information is very common in real life, and to be queried effectively it requires enriching the language of pattern graphs with expressions specific to the data types. For example, some nodes may be geographic locations and have associated location information, and I would like to be able to search the previous query, but restricted to the pharmacy being within a certain distance radius. Or that the current time be between its opening and closing hours. Or that the price be lower than a certain limit,” explains Gonzalo Navarro, academic at DCC U. Chile and one of the researchers at the Millennium Institute for Foundational Research on Data, following “Worst-Case-Optimal Similarity Joins on Graph Databases.”

This is the work recently accepted at the SIGMOD’24 conference, on which the following academics worked: from DCC U. Chile, Benjamín Bustos, Aidan Hogan and Gonzalo Navarro, together with academics from DCC UC, Diego Arroyuelo and Juan Reutter; and Adrián Gómez-Brandón of the University of A Coruña)., all researchers at the Millennium Institute for Foundational Research on Data.

“IMFD allows us to talk and bring together the efforts we make across different centers and universities,” highlights Juan Reutter, director of IMFD and one of the authors of the paper. “This achievement is a clear example of what we can accomplish through the joint work we carry out at the Millennium Institute for Foundational Research on Data, since it is here that we can strengthen the research we carry out independently at the universities, creating a space for collaboration that allows the country to position itself at the forefront of research at the Latin American level on this and other topics.”

Juan Reutter

ACM SIGMOD is one of the leading database conferences –along with ACM PODS–, focused on the principles, techniques and applications of database management systems and technologies, and which in 2024 will be held in Santiago, Chile.

Adding more information

Regarding this research, Gonzalo Navarro explains: “There is a lot of recent work on so-called graph databases, which represent information as nodes (the objects) and edges connecting nodes (representing relationships between objects), because they are more flexible than relational databases. These graphs are mainly queried by providing a small pattern graph, which has nodes and edges but where the identities of the nodes and edges can be variables. Each way of assigning values to the variables so that this pattern appears in the graph is an answer to the query. As a very simplified example, in a graph with information about pharmacies, a query such as (F, sells, X), (X, component, paracetamol), (X, price, P), (F, has-agreement, Fonasa), gives me the pharmacies F with an agreement with Fonasa that sell some medication X containing paracetamol, and the price P at which they sell it. Answering these queries efficiently is not easy, and it is not uncommon for some to take seconds or even minutes. A quality standard for these algorithms is to be worst-case optimal. This type of algorithm is relatively recent and there is still a lot of research being done on them.”

Benjamín Bustos
Diego Arroyuelo

This scientific paper addresses the problem of being able to add metric information to objects and proximity conditions to pattern graphs. He explains that metrics are generalizations of Euclidean distances (such as those in a plane or space), which encompass not only the example of geographic distance but others such as similarity between images, audio, video, text, etc. (which are modeled as distances in very high-dimensional spaces). The goal, Navarro notes, was also to maintain the worst-case-optimality condition of the search algorithms.

Adrián Gómez Brandón

In this way, the researchers show that it is possible to include this type of information and support a particular kind of query, “which is that of the k nearest neighbors. Among the objects that have the metric, a graph is formed where each node knows which are the k nodes closest/most similar to it. The query can then ask that an object be among the k closest/most similar to another. This allows us to ask, for example, for churches in my own city whose façade resembles (as an image) one that interests me. We show that the k-neighbors graph can be joined to the database graph so as to elegantly integrate it into the same worst-case-optimal algorithm, reusing in a certain way all the already-known development on this algorithm. We show that, in several cases, we can retain worst-case-optimality, though not in all of them. And we implemented the new algorithm and showed that it is considerably better than a basic solution. This opens the door to supporting other types of queries (by distance, as in the pharmacy example), and other types of data (topological, geographic regions, temporal, etc.),” the academic comments.

Aidan Hogan
Aidan Hogan

—
Source: DCC Communications