{"id":{"repo_id":"qucosa-diss","oai_identifier":"oai:qucosa:de:qucosa:30224"},"canonical_url":"https://search.ndltd.org/etd/qucosa-diss/oai:qucosa:de:qucosa:30224","repository":{"repo_id":"qucosa-diss","name":"QUCOSA","base_url":"http://www.qucosa.de/oai/"},"display":{"title":"Why-Query Support in Graph Databases","abstract":"In the last few decades, database management systems became powerful tools for storing large amount of data and executing complex queries over them. In addition to extended functionality, novel types of databases appear like triple stores, distributed databases, etc. Graph databases implementing the property-graph model belong to this development branch and provide a new way for storing and processing data in the form of a graph with nodes representing some entities and edges describing connections between them. This consideration makes them suitable for keeping data without a rigid schema for use cases like social-network processing or data integration. In addition to a flexible storage, graph databases provide new querying possibilities in the form of path queries, detection of connected components, pattern matching, etc. However, the schema flexibility and graph queries come with additional costs. With limited knowledge about data and little experience in constructing the complex queries, users can create such ones, which deliver unexpected results. Forced to debug queries manually and overwhelmed by the amount of query constraints, users can get frustrated by using graph databases. What is really needed, is to improve usability of graph databases by providing debugging and explaining functionality for such situations. We have to assist users in the discovery of what were the reasons of unexpected results and what can be done in order to fix them. The unexpectedness of result sets can be expressed in terms of their size or content. In the first case, users have to solve the empty-answer, too-many-, or too-few-answers problems. In the second case, users care about the result content and miss some expected answers or wonder about presence of some unexpected ones. Considering the typical problems of receiving no or too many results by querying graph databases, in this thesis we focus on investigating the problems of the first group, whose solutions are usually represented by why-empty, why-so-few, and why-so-many queries. Our objective is to extend graph databases with debugging functionality in the form of why-queries for unexpected query results on the example of pattern matching queries, which are one of general graph-query types. We present a comprehensive analysis of existing debugging tools in the state-of-the-art research and identify their common properties. From them, we formulate the following features of why-queries, which we discuss in this thesis, namely: holistic support of different cardinality-based problems, explanation of unexpected results and query reformulation, comprehensive analysis of explanations, and non-intrusive user integration. To support different cardinality-based problems, we develop methods for explaining no, too few, and too many results. To cover different kinds of explanations, we present two types: subgraph- and modification-based explanations. The first type identifies the reasons of unexpectedness in terms of query subgraphs and delivers differential graphs as answers. The second one reformulates queries in such a way that they produce better results. Considering graph queries to be complex structures with multiple constraints, we investigate different ways of generating explanations starting from the most general one that considers only a query topology through coarse-grained rewriting up to fine-grained modification that allows fine changes of predicates and topology. To provide a comprehensive analysis of explanations, we propose to compare them on three levels including a syntactic description, a content, and a size of a result set. In order to deliver user-aware explanations, we discuss two models for non-intrusive user integration in the generation process. With the techniques proposed in this thesis, we are able to provide fundamentals for debugging of pattern-matching queries, which deliver no, too few, or too many results, in graph databases implementing the property-graph model.","abstract_html":"In the last few decades, database management systems became powerful tools for storing large amount of data and executing complex queries over them. In addition to extended functionality, novel types of databases appear like triple stores, distributed databases, etc. Graph databases implementing the property-graph model belong to this development branch and provide a new way for storing and processing data in the form of a graph with nodes representing some entities and edges describing connections between them. This consideration makes them suitable for keeping data without a rigid schema for use cases like social-network processing or data integration. In addition to a flexible storage, graph databases provide new querying possibilities in the form of path queries, detection of connected components, pattern matching, etc. However, the schema flexibility and graph queries come with additional costs. With limited knowledge about data and little experience in constructing the complex queries, users can create such ones, which deliver unexpected results. Forced to debug queries manually and overwhelmed by the amount of query constraints, users can get frustrated by using graph databases. What is really needed, is to improve usability of graph databases by providing debugging and explaining functionality for such situations. We have to assist users in the discovery of what were the reasons of unexpected results and what can be done in order to fix them. The unexpectedness of result sets can be expressed in terms of their size or content. In the first case, users have to solve the empty-answer, too-many-, or too-few-answers problems. In the second case, users care about the result content and miss some expected answers or wonder about presence of some unexpected ones. Considering the typical problems of receiving no or too many results by querying graph databases, in this thesis we focus on investigating the problems of the first group, whose solutions are usually represented by why-empty, why-so-few, and why-so-many queries. Our objective is to extend graph databases with debugging functionality in the form of why-queries for unexpected query results on the example of pattern matching queries, which are one of general graph-query types. We present a comprehensive analysis of existing debugging tools in the state-of-the-art research and identify their common properties. From them, we formulate the following features of why-queries, which we discuss in this thesis, namely: holistic support of different cardinality-based problems, explanation of unexpected results and query reformulation, comprehensive analysis of explanations, and non-intrusive user integration. To support different cardinality-based problems, we develop methods for explaining no, too few, and too many results. To cover different kinds of explanations, we present two types: subgraph- and modification-based explanations. The first type identifies the reasons of unexpectedness in terms of query subgraphs and delivers differential graphs as answers. The second one reformulates queries in such a way that they produce better results. Considering graph queries to be complex structures with multiple constraints, we investigate different ways of generating explanations starting from the most general one that considers only a query topology through coarse-grained rewriting up to fine-grained modification that allows fine changes of predicates and topology. To provide a comprehensive analysis of explanations, we propose to compare them on three levels including a syntactic description, a content, and a size of a result set. In order to deliver user-aware explanations, we discuss two models for non-intrusive user integration in the generation process. With the techniques proposed in this thesis, we are able to provide fundamentals for debugging of pattern-matching queries, which deliver no, too few, or too many results, in graph databases implementing the property-graph model.","abstract_has_math":false,"creators":["Vasilyeva, Elena"],"institution":"Technische Universität Dresden","degree_name":null,"degree_level":"thesis.doctoral","degree_discipline":null,"degree_department":"Fakultät Informatik","school":null,"contributors":[],"advisors":["Lehner, Wolfgang"],"committee_chairs":[],"committee_members":[],"year":2017,"date_issued":"2017-03-28","date_published":"2017-03-28","updated_at":"2026-11-27T05:29:51Z","subjects":["Graph Datenbanken","Anfragebearbeitung","Graph databases","pattern matching","empty-answer problem","why-queries"],"languages":["eng"],"rights":["free","info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[{"key":"dc:publisher.identifier","label":"Dc Publisher Identifier","values":["4519974-7"],"render_values":[{"text":"4519974-7","href":null,"code":true}]},{"key":"ddb:identifier.erstkat_id","label":"Ddb Identifier Erstkat Id","values":["885635787"],"render_values":[{"text":"885635787","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa-221730","outbound_label":"Persistent identifier","outbound_source":"dc:identifier.urn","record_url":"https://nbn-resolving.org/urn:nbn:de:bsz:14-qucosa-221730","record_label":"Repository record","record_kind":"pid","record_source":"dc:identifier.urn","access_status":"open","embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aqucosa-diss%3Aoai%3Aqucosa%3Ade%3Aqucosa%3A30224","prefix":"oai_dc"},"source_record":{"url":"http://www.qucosa.de/oai/?verb=GetRecord&metadataPrefix=xmetadissplus&identifier=oai%3Aqucosa%3Ade%3Aqucosa%3A30224","prefix":"xmetadissplus"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Lehner, Wolfgang"]},{"key":"dc:contributor.referee","label":"Dc Contributor Referee","values":["Hose, Katja"]},{"key":"dc:creator","label":"Author","values":["Vasilyeva, Elena"]},{"key":"person:academictitle","label":"Person Academictitle","values":["Prof. Dr.-Ing.","Associate Prof. Dr.-Ing."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.dateaccepted","label":"Dc Date Dateaccepted","values":["2016-11-08"]},{"key":"dc:date.issued","label":"Date","values":["2017-03-28"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2016-08-29"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2021-03-27"]},{"key":"dc:publisher","label":"Institution","values":["Saechsische Landesbibliothek- Staats- und Universitaetsbibliothek Dresden"]},{"key":"dc:publisher.address","label":"Dc Publisher Address","values":["Zellescher Weg 18, 01069 Dresden, Germany"]},{"key":"dc:publisher.identifier","label":"Dc Publisher Identifier","values":["4519974-7"]},{"key":"dc:publisher.place","label":"Dc Publisher Place","values":["Dresden"]},{"key":"dc:publisher.role","label":"Dc Publisher Role","values":["prv"]},{"key":"dc:type","label":"Dc Type","values":["doctoralThesis"]},{"key":"thesis:degree_department","label":"Department","values":["Fakultät Informatik"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis.doctoral"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Technische Universität Dresden"]},{"key":"thesis:institution_place","label":"Thesis Institution Place","values":["Dresden"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Graph Datenbanken","Anfragebearbeitung","Graph databases","pattern matching","empty-answer problem","why-queries"]},{"key":"dc:subject.ddc","label":"Dc Subject Ddc","values":["004"]},{"key":"dc:subject.rvk","label":"Dc Subject Rvk","values":["ST 265","ST 270"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.dcterms_iso639_2","label":"Language (ISO 639-2)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]},{"key":"dc:rights.accessrights","label":"Access Rights","values":["free"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.urn","label":"URN","values":["urn:nbn:de:bsz:14-qucosa-221730"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["In the last few decades, database management systems became powerful tools for storing large amount of data and executing complex queries over them. In addition to extended functionality, novel types of databases appear like triple stores, distributed databases, etc. Graph databases implementing the property-graph model belong to this development branch and provide a new way for storing and processing data in the form of a graph with nodes representing some entities and edges describing connections between them. This consideration makes them suitable for keeping data without a rigid schema for use cases like social-network processing or data integration. In addition to a flexible storage, graph databases provide new querying possibilities in the form of path queries, detection of connected components, pattern matching, etc. However, the schema flexibility and graph queries come with additional costs. With limited knowledge about data and little experience in constructing the complex queries, users can create such ones, which deliver unexpected results. Forced to debug queries manually and overwhelmed by the amount of query constraints, users can get frustrated by using graph databases. What is really needed, is to improve usability of graph databases by providing debugging and explaining functionality for such situations. We have to assist users in the discovery of what were the reasons of unexpected results and what can be done in order to fix them. The unexpectedness of result sets can be expressed in terms of their size or content. In the first case, users have to solve the empty-answer, too-many-, or too-few-answers problems. In the second case, users care about the result content and miss some expected answers or wonder about presence of some unexpected ones. Considering the typical problems of receiving no or too many results by querying graph databases, in this thesis we focus on investigating the problems of the first group, whose solutions are usually represented by why-empty, why-so-few, and why-so-many queries. Our objective is to extend graph databases with debugging functionality in the form of why-queries for unexpected query results on the example of pattern matching queries, which are one of general graph-query types. We present a comprehensive analysis of existing debugging tools in the state-of-the-art research and identify their common properties. From them, we formulate the following features of why-queries, which we discuss in this thesis, namely: holistic support of different cardinality-based problems, explanation of unexpected results and query reformulation, comprehensive analysis of explanations, and non-intrusive user integration. To support different cardinality-based problems, we develop methods for explaining no, too few, and too many results. To cover different kinds of explanations, we present two types: subgraph- and modification-based explanations. The first type identifies the reasons of unexpectedness in terms of query subgraphs and delivers differential graphs as answers. The second one reformulates queries in such a way that they produce better results. Considering graph queries to be complex structures with multiple constraints, we investigate different ways of generating explanations starting from the most general one that considers only a query topology through coarse-grained rewriting up to fine-grained modification that allows fine changes of predicates and topology. To provide a comprehensive analysis of explanations, we propose to compare them on three levels including a syntactic description, a content, and a size of a result set. In order to deliver user-aware explanations, we discuss two models for non-intrusive user integration in the generation process. With the techniques proposed in this thesis, we are able to provide fundamentals for debugging of pattern-matching queries, which deliver no, too few, or too many results, in graph databases implementing the property-graph model."]},{"key":"dc:title","label":"Title","values":["Why-Query Support in Graph Databases"]},{"key":"ddb:filenumber","label":"Ddb Filenumber","values":["1"]},{"key":"ddb:identifier.erstkat_id","label":"Ddb Identifier Erstkat Id","values":["885635787"]},{"key":"ddb:transfer","label":"Ddb Transfer","values":["https://tud.qucosa.de/api/qucosa%3A30224/zip/"]}]}],"canonical_facts":{"dc:contributor.advisor":["Lehner, Wolfgang"],"dc:contributor.referee":["Hose, Katja"],"dc:creator":["Vasilyeva, Elena"],"dc:date.dateaccepted":["2016-11-08"],"dc:date.issued":["2017-03-28"],"dc:date.submitted":["2016-08-29"],"dc:date.updated":["2021-03-27"],"dc:description.abstract":["In the last few decades, database management systems became powerful tools for storing large amount of data and executing complex queries over them. In addition to extended functionality, novel types of databases appear like triple stores, distributed databases, etc. Graph databases implementing the property-graph model belong to this development branch and provide a new way for storing and processing data in the form of a graph with nodes representing some entities and edges describing connections between them. This consideration makes them suitable for keeping data without a rigid schema for use cases like social-network processing or data integration. In addition to a flexible storage, graph databases provide new querying possibilities in the form of path queries, detection of connected components, pattern matching, etc. However, the schema flexibility and graph queries come with additional costs. With limited knowledge about data and little experience in constructing the complex queries, users can create such ones, which deliver unexpected results. Forced to debug queries manually and overwhelmed by the amount of query constraints, users can get frustrated by using graph databases. What is really needed, is to improve usability of graph databases by providing debugging and explaining functionality for such situations. We have to assist users in the discovery of what were the reasons of unexpected results and what can be done in order to fix them. The unexpectedness of result sets can be expressed in terms of their size or content. In the first case, users have to solve the empty-answer, too-many-, or too-few-answers problems. In the second case, users care about the result content and miss some expected answers or wonder about presence of some unexpected ones. Considering the typical problems of receiving no or too many results by querying graph databases, in this thesis we focus on investigating the problems of the first group, whose solutions are usually represented by why-empty, why-so-few, and why-so-many queries. Our objective is to extend graph databases with debugging functionality in the form of why-queries for unexpected query results on the example of pattern matching queries, which are one of general graph-query types. We present a comprehensive analysis of existing debugging tools in the state-of-the-art research and identify their common properties. From them, we formulate the following features of why-queries, which we discuss in this thesis, namely: holistic support of different cardinality-based problems, explanation of unexpected results and query reformulation, comprehensive analysis of explanations, and non-intrusive user integration. To support different cardinality-based problems, we develop methods for explaining no, too few, and too many results. To cover different kinds of explanations, we present two types: subgraph- and modification-based explanations. The first type identifies the reasons of unexpectedness in terms of query subgraphs and delivers differential graphs as answers. The second one reformulates queries in such a way that they produce better results. Considering graph queries to be complex structures with multiple constraints, we investigate different ways of generating explanations starting from the most general one that considers only a query topology through coarse-grained rewriting up to fine-grained modification that allows fine changes of predicates and topology. To provide a comprehensive analysis of explanations, we propose to compare them on three levels including a syntactic description, a content, and a size of a result set. In order to deliver user-aware explanations, we discuss two models for non-intrusive user integration in the generation process. With the techniques proposed in this thesis, we are able to provide fundamentals for debugging of pattern-matching queries, which deliver no, too few, or too many results, in graph databases implementing the property-graph model."],"dc:identifier.urn":["urn:nbn:de:bsz:14-qucosa-221730"],"dc:language.dcterms_iso639_2":["eng"],"dc:publisher":["Saechsische Landesbibliothek- Staats- und Universitaetsbibliothek Dresden"],"dc:publisher.address":["Zellescher Weg 18, 01069 Dresden, Germany"],"dc:publisher.identifier":["4519974-7"],"dc:publisher.place":["Dresden"],"dc:publisher.role":["prv"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:rights.accessrights":["free"],"dc:subject":["Graph Datenbanken","Anfragebearbeitung","Graph databases","pattern matching","empty-answer problem","why-queries"],"dc:subject.ddc":["004"],"dc:subject.rvk":["ST 265","ST 270"],"dc:title":["Why-Query Support in Graph Databases"],"dc:type":["doctoralThesis"],"ddb:filenumber":["1"],"ddb:identifier.erstkat_id":["885635787"],"ddb:transfer":["https://tud.qucosa.de/api/qucosa%3A30224/zip/"],"person:academictitle":["Prof. Dr.-Ing.","Associate Prof. Dr.-Ing."],"thesis:degree_department":["Fakultät Informatik"],"thesis:degree_level":["thesis.doctoral"],"thesis:institution_name":["Technische Universität Dresden"],"thesis:institution_place":["Dresden"]},"updated_at":"2026-11-27T05:29:51Z"}