Kröni, DanielSchweizer, Raphael2016-05-122016-05-122013-122296-41691662-2014http://hdl.handle.net/11654/17863https://doi.org/10.26041/fhnw-629Connected data such as social networks or business process interactions are frequently modeled as graphs, and increasingly often, stored in graph databases. In contrast to relational databases where SQL is the proven query language, there is no established counterpart for graph databases. One way to explore and extract data from a graph database is to specify the structure of paths (partial traversals) through the graph. We show how such traversals can be expressed by combining graph navigation primitives with familiar grammar constructions such as sequencing, choice and repetition – essentially applying the idea of parser combinators to graph traversals. The result is trails, a Scala combinator library that provides an implementation for the neo4j graph database and for the generic graph API blueprints.engraph databasegraph parsingparser combinatorsgraph traversal004 - Computer Wissenschaften, InternetParsing Graphs: Applying Parser Combinators to Graph Traversals01B - Beitrag in Magazin oder Zeitung31-34