Using Queries as Schema-Templates for Graph Databases

TitleUsing Queries as Schema-Templates for Graph Databases
Publication TypeJournal Article
Year of Publication2018
AuthorsMennicke, S., J. - C. Kalo, and W. - T. Balke
Refereed DesignationRefereed
Type of ArticleSchwerpunktbeitrag

In contrast to heavy-handed ER-style data models in relational databases, knowledge graphs (or graph databases) capture entity semantics in terms of entity relationships and properties following a simple collect-as-you-go model. While this allows for a more flexible and dynamically adaptable knowledge representation, it comes at the price of more complex querying: with varying degrees of information sparsity, it will gradually become more difficult to figure out what an entity actually represents. Thus, matching the intended schema as specified by a query against actually occurring entity patterns in the graph database needs severe attention on a conceptual level. In this article, we analyze graph patterns as schema information from a graph pattern matching perspective. We argue that every query consists of a mixture of conceptual information (how entities are structured) together with evaluation information (further dependencies and constraints on data) and that this mixture is not always easy to divide. To arrive at truly schema-aware graph query processing, we propose several matching mechanisms, each mandating a specific semantic meaning of the graph pattern, and discuss their practical applicability.

Mennicke2018_Article_UsingQueriesAsSchema-Templates.pdf650.77 KB