Graph database
This article has multiple issues.Please helpimprove itor discuss these issues on thetalk page.(Learn how and when to remove these messages)
|
Agraph database(GDB) is adatabasethat usesgraph structuresforsemantic querieswithnodes,edges,and properties to represent and store data.[1]A key concept of the system is thegraph(or edge or relationship). The graph relates the data items in the store to a collection of nodes and edges, the edges representing the relationships between the nodes. The relationships allow data in the store to be linked together directly and, in many cases, retrieved with one operation. Graph databases hold the relationships between data as a priority. Querying relationships is fast because they are perpetually stored in the database. Relationships can be intuitively visualized using graph databases, making them useful for heavily inter-connected data.[2]
Graph databases are commonly referred to as aNoSQLdatabase. Graph databases are similar to 1970snetwork modeldatabases in that both represent general graphs, but network-model databases operate at a lower level ofabstraction[3]and lack easytraversalover a chain of edges.[4]
The underlying storage mechanism of graph databases can vary. Relationships are first-class citizens in a graph database and can be labelled, directed, and given properties. Some depend on a relational engine and store the graph data in atable(although a table is a logical element, therefore this approach imposes a level of abstraction between the graph database management system and physical storage devices). Others use akey–value storeordocument-oriented databasefor storage, making them inherently NoSQL structures.
As of 2021[update],no graph query language has been universally adopted in the same way as SQL was for relational databases, and there are a wide variety of systems, many of which are tightly tied to one product. Some early standardization efforts led to multi-vendor query languages likeGremlin,SPARQL,andCypher.In September 2019 a proposal for a project to create a new standard graph query language (ISO/IEC 39075 Information Technology — Database Languages — GQL) was approved by members of ISO/IEC Joint Technical Committee 1(ISO/IEC JTC 1).GQLis intended to be a declarative database query language, like SQL. In addition to having query language interfaces, some graph databases are accessed throughapplication programming interfaces(APIs).
Graph databases differ from graph compute engines. Graph databases are technologies that are translations of the relationalonline transaction processing(OLTP) databases. On the other hand, graph compute engines are used inonline analytical processing(OLAP) for bulk analysis.[5]Graph databases attracted considerable attention in the 2000s, due to the successes of major technology corporations in using proprietary graph databases,[6]along with the introduction ofopen-sourcegraph databases.
One study concluded that an RDBMS was "comparable" in performance to existing graph analysis engines at executing graph queries.[7]
History
[edit]In the mid-1960s,navigational databasessuch asIBM'sIMSsupportedtree-like structures in itshierarchical model,but the stricttree structurecould be circumvented with virtual records.[8][9]
Graph structures could be represented in network model databases from the late 1960s.CODASYL,which had definedCOBOLin 1959, defined the Network Database Language in 1969.
Labeled graphscould be represented in graph databases from the mid-1980s, such as the Logical Data Model.[10][11]
Commercialobject databases(ODBMSs) emerged in the early 1990s. In 2000, theObject Data Management Grouppublished a standard language for defining object and relationship (graph) structures in their ODMG'93 publication.
Several improvements to graph databases appeared in the early 1990s, accelerating in the late 1990s with endeavors to index web pages.
In the mid-to-late 2000s, commercial graph databases withACIDguarantees such asNeo4jandOracle Spatial and Graphbecame available.
In the 2010s, commercial ACID graph databases that could bescaled horizontallybecame available. Further,SAP HANAbroughtin-memoryandcolumnartechnologies to graph databases.[12]Also in the 2010s,multi-model databasesthat supported graph models (and other models such as relational database ordocument-oriented database) became available, such asOrientDB,ArangoDB,andMarkLogic(starting with its 7.0 version). During this time, graph databases of various types have become especially popular withsocial network analysiswith the advent of social media companies. Also during the decade,cloud-based graph databases such asAmazon NeptuneandNeo4j AuraDBbecame available.
Background
[edit]Graph databases portray the data as it is viewed conceptually. This is accomplished by transferring the data into nodes and its relationships into edges.
A graph database is a database that is based ongraph theory.It consists of a set of objects, which can be a node or an edge.
- Nodesrepresent entities or instances such as people, businesses, accounts, or any other item to be tracked. They are roughly the equivalent of a record, relation, orrowin a relational database, or a document in a document-store database.
- Edges,also termedgraphsorrelationships,are the lines that connect nodes to other nodes; representing the relationship between them. Meaningful patterns emerge when examining the connections and interconnections of nodes, properties and edges. The edges can either be directed or undirected. In an undirected graph, an edge connecting two nodes has a single meaning. In a directed graph, the edges connecting two different nodes have different meanings, depending on their direction. Edges are the key concept in graph databases, representing an abstraction that is not directly implemented in arelational modelor adocument-store model.
- Propertiesare information associated to nodes. For example, ifWikipediawere one of the nodes, it might be tied to properties such aswebsite,reference material,orwords that starts with the letter w,depending on which aspects ofWikipediaare germane to a given database.
Graph models
[edit]Labeled-property graph
[edit]A labeled-property graph model is represented by a set of nodes, relationships, properties, and labels. Both nodes of data and their relationships are named and can store properties represented bykey–value pairs.Nodes can be labelled to be grouped. The edges representing the relationships have two qualities: they always have a start node and an end node, and are directed;[13]making the graph adirected graph.Relationships can also have properties. This is useful in providing additional metadata and semantics to relationships of the nodes.[14]Direct storage of relationships allows aconstant-timetraversal.[15]
Resource Description Framework (RDF)
[edit]In anRDFgraph model, each addition of information is represented with a separate node. For example, imagine a scenario where a user has to add a name property for a person represented as a distinct node in the graph. In a labeled-property graph model, this would be done with an addition of a name property into the node of the person. However, in an RDF, the user has to add a separate node calledhasName
connecting it to the original person node. Specifically, an RDF graph model is composed of nodes and arcs. An RDF graph notation or a statement is represented by: a node for the subject, a node for the object, and an arc for the predicate. A node may be left blank, aliteraland/or be identified by aURI.An arc may also be identified by a URI. A literal for a node may be of two types: plain (untyped) and typed. A plain literal has a lexical form and optionally a language tag. A typed literal is made up of a string with a URI that identifies a particular datatype. A blank node may be used to accurately illustrate the state of the data when the data does not have aURI.[16]
Properties
[edit]Graph databases are a powerful tool for graph-like queries. For example, computing the shortest path between two nodes in the graph. Other graph-like queries can be performed over a graph database in a natural way (for example graph's diameter computations or community detection).
Graphs are flexible, meaning it allows the user to insert new data into the existing graph without loss of application functionality. There is no need for the designer of the database to plan out extensive details of the database's future use cases.
Storage
[edit]The underlying storage mechanism of graph databases can vary. Some depend on a relational engine and "store" the graph data in atable(although a table is a logical element, therefore this approach imposes another level of abstraction between the graph database, the graph database management system and the physical devices where the data is actually stored). Others use akey–value storeordocument-oriented databasefor storage, making them inherentlyNoSQLstructures. A node would be represented as any other document store, but edges that link two different nodes hold special attributes inside its document; a _from and _to attributes.
Index-free adjacency
[edit]Data lookup performance is dependent on the access speed from one particular node to another. Becauseindex-free adjacency enforces the nodes to have direct physicalRAMaddresses and physically point to other adjacent nodes, it results in a fast retrieval. A native graph system with index-free adjacency does not have to move through any other type of data structures to find links between the nodes. Directly related nodes in a graph are stored in thecacheonce one of the nodes are retrieved, making the data lookup even faster than the first time a user fetches a node. However, such advantage comes at a cost. Index-free adjacency sacrifices the efficiency of queries that do not usegraph traversals.Native graph databases use index-free adjacency to processCRUDoperations on the stored data.
Applications
[edit]Multiple categories of graphs by kind of data have been recognised. Gartner suggests the five broad categories of graphs:[17]
- Social graph:this is about the connections between people; examples includeFacebook,Twitter,and the idea ofsix degrees of separation
- Intent graph: this deals with reasoning and motivation.
- Consumption graph: also known as the "payment graph", the consumption graph is heavily used in the retail industry. E-commerce companies such as Amazon, eBay and Walmart use consumption graphs to track the consumption of individual customers.
- Interest graph:this maps a person's interests and is often complemented by a social graph. It has the potential to follow the previous revolution of web organization by mapping the web by interest rather than indexing webpages.
- Mobile graph: this is built from mobile data. Mobile data in the future may include data from the web, applications, digital wallets, GPS, andInternet of Things(IoT) devices.
Comparison with relational databases
[edit]SinceEdgar F. Codd's 1970 paper on therelational model,[18]relational databaseshave been the de facto industry standard for large-scale data storage systems. Relational models require a strict schema anddata normalizationwhich separates data into many tables and removes any duplicate data within the database. Data is normalized in order to preservedata consistencyand supportACID transactions.However this imposes limitations on how relationships can be queried.
One of the relational model's design motivations was to achieve a fast row-by-row access.[18]Problems arise when there is a need to form complex relationships between the stored data. Although relationships can be analyzed with the relational model, complex queries performing many join operations on many different attributes over several tables are required. In working with relational models,foreign keyconstraints should also be considered when retrieving relationships, causing additional overhead.
Compared withrelational databases,graph databases are often faster for associative data sets[citation needed]and map more directly to the structure ofobject-orientedapplications. They can scale more naturally[citation needed]to large datasets as they do not typically needjoinoperations, which can often be expensive. As they depend less on a rigid schema, they are marketed as more suitable to manage ad hoc and changing data with evolving schemas.
Conversely, relational database management systems are typically faster at performing the same operation on large numbers of data elements, permitting the manipulation of the data in its natural structure. Despite the graph databases' advantages and recent popularity over[citation needed]relational databases, it is recommended the graph model itself should not be the sole reason to replace an existing relational database. A graph database may become relevant if there is an evidence for performance improvement by orders of magnitude and lower latency.[19]
Examples
[edit]The relational model gathers data together using information in the data. For example, one might look for all the "users" whose phone number contains the area code "311". This would be done by searching selected datastores, ortables,looking in the selected phone number fields for the string "311". This can be a time-consuming process in large tables, so relational databases offerindexes,which allow data to be stored in a smaller sub-table, containing only the selected data and aunique key(or primary key) of the record. If the phone numbers are indexed, the same search would occur in the smaller index table, gathering the keys of matching records, and then looking in the main data table for the records with those keys. Usually, a table is stored in a way that allows a lookup via a key to be very fast.[20]
Relational databases do notinherentlycontain the idea of fixed relationships between records. Instead, related data is linked to each other by storing one record's unique key in another record's data. For example, a table containing email addresses for users might hold a data item calleduserpk
,which contains theprimary keyof the user record it is associated with. In order to link users and their email addresses, the system first looks up the selected user records primary keys, looks for those keys in theuserpk
column in the email table (or, more likely, an index of them), extracts the email data, and then links the user and email records to make composite records containing all the selected data. This operation, termed ajoin,can be computationally expensive. Depending on the complexity of the query, the number of joins, and indexing various keys, the system may have to search through multiple tables and indexes and then sort it all to match it together.[20]
In contrast, graph databases directly store the relationships between records. Instead of an email address being found by looking up its user's key in theuserpk
column, the user record contains a pointer that directly refers to the email address record. That is, having selected a user, the pointer can be followed directly to the email records, there is no need to search the email table to find the matching records. This can eliminate the costly join operations. For example, if one searches for all of the email addresses for users in area code "311", the engine would first perform a conventional search to find the users in "311", but then retrieve the email addresses by following the links found in those records. A relational database would first find all the users in "311", extract a list of the primary keys, perform another search for any records in the email table with those primary keys, and link the matching records together. For these types of common operations, graph databases would theoretically be faster.[20]
The true value of the graph approach becomes evident when one performs searches that are more than one level deep. For example, consider a search for users who have "subscribers" (a table linking users to other users) in the "311" area code. In this case a relational database has to first search for all the users with an area code in "311", then search the subscribers table for any of those users, and then finally search the users table to retrieve the matching users. In contrast, a graph database would search for all the users in "311", then follow thebacklinksthrough the subscriber relationship to find the subscriber users. This avoids several searches, look-ups, and the memory usage involved in holding all of the temporary data from multiple records needed to construct the output. In terms ofbig O notation,this query would betime – i.e., proportional to the logarithm of the size of the data. In contrast, the relational version would be multiplelookups, plus thetime needed to join all of the data records.[20]
The relative advantage of graph retrieval grows with the complexity of a query. For example, one might want to know "that movie about submarines with the actor who was in that movie with that other actor that played the lead inGone With the Wind".This first requires the system to find the actors inGone With the Wind,find all the movies they were in, find all the actors in all of those movies who were not the lead inGone With the Wind,and then find all of the movies they were in, finally filtering that list to those with descriptions containing "submarine". In a relational database, this would require several separate searches through the movies and actors tables, doing another search on submarine movies, finding all the actors in those movies, and then comparing the (large) collected results. In contrast, the graph database would walk fromGone With the WindtoClark Gable,gather the links to the movies he has been in, gather the links out of those movies to other actors, and then follow the links out of those actors back to the list of movies. The resulting list of movies can then be searched for "submarine". All of this can be done via one search.[21]
Propertiesadd another layer ofabstractionto this structure that also improves many common queries. Properties are essentially labels that can be applied to any record, or in some cases, edges as well. For example, one might label Clark Gable as "actor", which would then allow the system to quickly find all the records that are actors, as opposed to director or camera operator. If labels on edges are allowed, one could also label the relationship betweenGone With the Windand Clark Gable as "lead", and by performing a search on people that are "lead" "actor" in the movieGone With the Wind,the database would produceVivien Leigh,Olivia de Havillandand Clark Gable. The equivalent SQL query would have to rely on added data in the table linking people and movies, adding more complexity to the query syntax. These sorts of labels may improve search performance under certain circumstances, but are generally more useful in providing added semantic data for end users.[21]
Relational databases are very well suited to flat data layouts, where relationships between data are only one or two levels deep. For example, an accounting database might need to look up all the line items for all the invoices for a given customer, a three-join query. Graph databases are aimed at datasets that contain many more links. They are especially well suited tosocial networkingsystems, where the "friends" relationship is essentially unbounded. These properties make graph databases naturally suited to types of searches that are increasingly common in online systems, and inbig dataenvironments. For this reason, graph databases are becoming very popular for large online systems likeFacebook,Google,Twitter,and similar systems with deep links between records.
To further illustrate, imagine a relational model with two tables: apeople
table (which has aperson_id
andperson_name
column) and afriend
table (withfriend_id
andperson_id
,which is aforeign keyfrom thepeople
table). In this case, searching for all of Jack's friends would result in the following SQL query.
SELECTp2.person_name
FROMpeoplep1
JOINfriendON(p1.person_id=friend.person_id)
JOINpeoplep2ON(p2.person_id=friend.friend_id)
WHEREp1.person_name='Jack';
The same query may be translated into --
- Cypher,a graph databasequery language
MATCH(p1:person{name:'Jack'})-[:FRIEND_WITH]-(p2:person) RETURNp2.name
- SPARQL,an RDF graph databasequery languagestandardized byW3Cand used in multiple RDFTripleandQuadstores
- Long form
PREFIXfoaf:<http://xmlns.com/foaf/0.1/> SELECT?name WHERE{?safoaf:Person. ?sfoaf:name"Jack". ?sfoaf:knows?o. ?ofoaf:name?name. }
- Short form
PREFIXfoaf:<http://xmlns.com/foaf/0.1/> SELECT?name WHERE{?sfoaf:name"Jack"; foaf:knows?o. ?ofoaf:name?name. }
- Long form
- SPASQL, a hybrid database query language, that extendsSQLwithSPARQL
SELECTpeople.name FROM( SPARQLPREFIXfoaf:<http://xmlns.com/foaf/0.1/> SELECT?name WHERE{?sfoaf:name"Jack"; foaf:knows?o. ?ofoaf:name?name. } )ASpeople;
The above examples are a simple illustration of a basic relationship query. They condense the idea of relational models' query complexity that increases with the total amount of data. In comparison, a graph database query is easily able to sort through the relationship graph to present the results.
There are also results that indicate simple, condensed, and declarative queries of the graph databases do not necessarily provide good performance in comparison to the relational databases. While graph databases offer an intuitive representation of data, relational databases offer better results when set operations are needed.[15]
List of graph databases
[edit]The following is a list ofnotablegraph databases:
name | current version |
latest release date (YYYY-MM-DD) |
software license |
programming language | description |
---|---|---|---|---|---|
Aerospike | 7.0 | 2023-11-15 | Proprietary | C | Aerospike Graph is a highly scalable, low-latency property graph database built on Aerospike’s proven real-time data platform. Aerospike Graph combines the enterprise capabilities of the Aerospike Database - the most scalable real-time NoSQL database - with the property graph data model via the Apache Tinkerpop graph compute engine. Developers will enjoy native support for the Gremlin query language, which enables them to write powerful business processes directly. |
AllegroGraph | 7.0.0 | 2020-04 | Proprietary,clients:Eclipse Public Licensev1 | C#,C,Common Lisp,Java,Python | Resource Description Framework(RDF) and graph database. |
Amazon Neptune |
1.3.3.0 | 2024-08-05[22] | Proprietary | Not disclosed | Amazon Neptune is a fully managed graph database byAmazon.com.It is used as aweb service,and is part ofAmazon Web Services.Supports popular graph models property graph andW3C'sRDF,and their respectivequery languagesApache TinkerPop,Gremlin,SPARQL,andopenCypher. |
AnzoGraph DB | 2.1 | 2020-02 | Proprietary | C,C++ | AnzoGraph DB is amassively parallelnative Graph Online Analytics Processing (GOLAP) style database built to supportSPARQLandCypher Query Languageto analyze trillions of relationships. AnzoGraph DB is designed for interactive analysis of large sets ofsemantic tripledata, but also supports labeled properties under proposedW3Cstandards.[23][24][25][26] |
ArangoDB | 3.9.1 | 2022-04 | FreeApache 2,Proprietary | C++,JavaScript,.NET,Java,Python,Node.js,PHP,Scala,Go,Ruby,Elixir | NoSQLnative graph database system developed by ArangoDB Inc, supporting three data models (key/value, documents, graphs), with one database core and a unified query language called AQL (ArangoDB Query Language). Provides scalability and high availability via datacenter-to-datacenter replication, auto-sharding, automatic failover, and other capabilities. |
AzureCosmos DB | 2017 | Proprietary | Not disclosed | Multi-modal database which supports graph concepts using theApache Gremlinquery language | |
DataStax Enterprise Graph |
v6.0.1 | 2018-06 | Proprietary | Java | Distributed, real-time, scalable database; supports Tinkerpop, and integrates withCassandra[27] |
InfiniteGraph | 2021.2 | 2021-05 | Proprietary,commercial, free 50GB version | Java,C++,'DO' query language | A distributed, cloud-enabled and massively scalable graph database for complex, real-time queries and operations. Its Vertex and Edge objects have unique 64-bit object identifiers that considerably speed up graph navigation and pathfinding operations. It supports batch or streaming updates to the graph alongside concurrent, parallel queries. InfiniteGraph's 'DO' query language enables both value based queries, as well as complex graph queries. InfiniteGraph is goes beyond graph databases to also support complex object queries. |
JanusGraph | 1.0.0 | 2023-10-21[28] | Apache 2 | Java | Open source, scalable, distributed across a multi-machine cluster graph database under TheLinux Foundation;supports various storage backends (Apache Cassandra,Apache HBase,Google CloudBigtable,OracleBerkeley DB);[29]supports global graph data analytics, reporting, andextract, transform, load(ETL) through integration with big data platforms (Apache Spark,Apache Giraph,Apache Hadoop); supports geo, numeric range, and full-text search via external index storages (Elasticsearch,Apache Solr,Apache Lucene).[30] |
MarkLogic | 8.0.4 | 2015 | Proprietary,freewaredeveloper version | Java | Multi-modelNoSQLdatabase that storesdocuments(JSON and XML) and semantic graph data (RDFtriples); also has a built-in search engine. |
Microsoft SQL Server2017 | RC1 | Proprietary | SQL/T-SQL,R,Python | Offers graph database abilities to model many-to-many relationships. The graph relationships are integrated into Transact-SQL, and use SQL Server as the foundational database management system.[31] | |
NebulaGraph | 3.7.0 | 2024-03 | Open Source Edition is under Apache 2.0, Common Clause 1.0 | C++,Go,Java,Python | A scalable open-source distributed graph database for storing and handling billions of vertices and trillions of edges with milliseconds of latency. It is designed based on a shared-nothing distributed architecture for linear scalability.[32] |
Neo4j | 5.25.1 | 2024-10-31[33] | GPLv3Community Edition,commercialandAGPLv3options for enterprise and advanced editions | Java,.NET,JavaScript,Python,Go,Ruby,PHP,R,Erlang/Elixir,C/C++,Clojure,Perl,Haskell | Open-source, supports ACID, has high-availability clustering for enterprise deployments, and comes with a web-based administration that includes full transaction support and visual node-link graph explorer; accessible from most programming languages using its built-inRESTweb APIinterface, and a proprietary Bolt protocol with official drivers. |
Ontotext GraphDB | 10.7.3 | 2024-08-19[34] | Proprietary,Standard and Enterprise Editions arecommercial,Free Edition isfreeware | Java | Highly efficient and robust semantic graph database with RDF and SPARQL support, also available as a high-availability cluster. IntegratesOpenRefinefor ingestion and reconciliation of tabular data andontopforOntology-Based Data Access.Connects toLucene,SOLRandElasticsearchforFull textandFaceted search,andKafkafor event and stream processing. SupportsOGCGeoSPARQL.ProvidesJDBCaccess toKnowledge Graphs. |
OpenLink Virtuoso |
8.2 | 2018-10 | Open Source Edition isGPLv2,Enterprise Edition isproprietary | C,C++ | Multi-model (Hybrid) relational database management system (RDBMS) that supports both SQL and SPARQL for declarative (Data Definition and Data Manipulation) operations on data modelled as SQL tables and/or RDF Graphs. Also supports indexing of RDF-Turtle, RDF-N-Triples, RDF-XML, JSON-LD, and mapping and generation of relations (SQL tables or RDF graphs) from numerous document types including CSV, XML, and JSON. May be deployed as a local or embedded instance (as used in theNEPOMUKSemantic Desktop), a one-instance network server, or a shared-nothing elastic-cluster multiple-instance networked server[35] |
Oracle RDF Graph; part ofOracle Database | 21c | 2020 | Proprietary | SPARQL,SQL | RDF Graph capabilities as features in multi-model Oracle Database: RDF Graph: comprehensiveW3CRDF graph management in Oracle Database with native reasoning and triple-level label security. ACID, high-availability, enterprise scale. Includes visualization, RDF4J, and native end Sparql end point. |
Oracle Property Graph; part of Oracle Database | 21c | 2020 | Proprietary; Open Source language specification | PGQL,Java, Python | Property Graph; consisting of a set of objects or vertices, and a set of arrows or edges connecting the objects. Vertices and edges can have multiple properties, which are represented as key–value pairs. Includes PGQL, anSQL-like graph query language and an in-memory analytic engine (PGX) nearly 60 prebuilt parallel graph algorithms. Includes REST APIs and graph visualization. |
OrientDB | 3.2.28 | 2024-02 | Community Edition isApache 2,Enterprise Edition iscommercial | Java | Second-generation[clarification needed]distributed graph database with the flexibility of documents in one product (i.e., it is both a graph database and a document NoSQL database); licensed under open-source Apache 2 license; and has fullACIDsupport; it has a multi-master replication; supports schema-less, -full, and -mixed modes; has security profiling based on user and roles; supports a query language similar toSQL.It has HTTPRESTandJSONAPI. |
RedisGraph | 2.0.20 | 2020-09 | Redis Source Available License | C | In-memory, queryable Property Graph database which usessparse matricesto represent theadjacency matrixin graphs andlinear algebrato query the graph.[36] |
SAP HANA | 2.0 SPS 05 | 2020-06[37] | Proprietary | C,C++,Java,JavaScriptandSQL-like language | In-memoryACIDtransaction supported property graph[38] |
Sparksee | 5.2.0 | 2015 | Proprietary,commercial,freewarefor evaluation, research, development | C++ | High-performance scalable database management system from Sparsity Technologies; main trait is its query performance for retrieving and exploring large networks; has bindings forJava,C++,C#,Python,andObjective-C;version 5 is the first graphmobile database. |
Sqrrl Enterprise |
2.0 | 2015-02 | Proprietary | Java | Distributed, real-time graph database featuring cell-level security and mass-scalability[39] |
Teradata Aster |
7 | 2016 | Proprietary | Java,SQL,Python,C++,R | Massive parallel processing(MPP) database incorporating patented engines supporting native SQL,MapReduce,and graph data storage and manipulation; provides a set of analytic function libraries and data visualization[40] |
TerminusDB | 11.0.6 | 2023-05-03[41] | Apache 2 | Prolog,Rust,Python,JSON-LD | Document-oriented knowledge graph; the power of an enterprise knowledge graph with the simplicity of documents. |
TigerGraph | 3.10.1 | 2024-05-07[42] | Proprietary | C++ | Massive parallel processing(MPP) native graph database management system[43] |
TypeDB | 2.14.0 | 2022-11[44] | Free,GNU AGPLv3,Proprietary | Java,Python,JavaScript | TypeDB is a strongly-typed database with a rich and logicaltype system.TypeDB empowers you to tackle complex problems, and TypeQL is its query language. TypeDB allows you to model your domain based on logical andobject-orientedprinciples. Composed ofentity, relationship, and attributetypes, as well as type hierarchies, roles, and rules, TypeDB allows you to think higher-level, as opposed to join-tables, columns, documents, vertices, edges, and properties.[promotion?] |
Graph query-programming languages
[edit]- AQL (ArangoDB Query Language):a SQL-like query language used inArangoDBfor both documents and graphs
- Cypher Query Language(Cypher): a graph querydeclarative languageforNeo4jthat enables ad hoc and programmatic (SQL-like) access to the graph.[45]
- GQL:proposed ISO standard graph query language
- GraphQL:an open-source data query and manipulation language for APIs.Dgraphimplements modified GraphQL language called DQL (formerly GraphQL+-)
- Gremlin:a graph programming language that is a part of Apache TinkerPop open-source project[46]
- SPARQL:a query language for RDF databases that can retrieve and manipulate data stored in RDF format
- regular path queries,a theoretical language for queries on graph databases
See also
[edit]- Graph transformation
- Hierarchical database model
- Datalog
- Vadalog
- Object database
- RDF Database
- Structured storage
- Text graph
- Wikidatais a Wikipedia sister project that stores data in a graph database. Ordinary web browsing allows for viewing nodes, following edges, and runningSPARQLqueries.
References
[edit]- ^Bourbakis, Nikolaos G. (1998).Artificial Intelligence and Automation.World Scientific. p. 381.ISBN9789810226374.Retrieved2018-04-20.
- ^Yoon, Byoung-Ha; Kim, Seon-Kyu; Kim, Seon-Young (March 2017)."Use of Graph Database for the Integration of Heterogeneous Biological Data".Genomics & Informatics.15(1): 19–27.doi:10.5808/GI.2017.15.1.19.ISSN1598-866X.PMC5389944.PMID28416946.
- ^Angles, Renzo; Gutierrez, Claudio (1 Feb 2008)."Survey of graph database models"(PDF).ACM Computing Surveys.40(1): 1–39.CiteSeerX10.1.1.110.1072.doi:10.1145/1322432.1322433.S2CID207166126.Archived fromthe original(PDF)on 15 August 2017.Retrieved28 May2016.
network models [...] lack a good abstraction level: it is difficult to separate the db-model from the actual implementation
- ^Silberschatz, Avi (28 January 2010).Database System Concepts, Sixth Edition(PDF).McGraw-Hill. p. D-29.ISBN978-0-07-352332-3.
- ^Robinson, Ian (2015-06-10).Graph Databases: New Opportunities for Connected Data.O'Reilly Media, Inc. p. 4.ISBN9781491930861.
- ^"Graph Databases Burst into the Mainstream".www.kdnuggets.com.Retrieved2018-10-23.
- ^Fan, Jing; Gerald, Adalbert (2014-12-25).The case against specialized graph analytics engines(PDF).Conference on Innovative Data Systems Research (CIDR).
- ^Silberschatz, Avi (28 January 2010).Database System Concepts, Sixth Edition(PDF).McGraw-Hill. p. E-20.ISBN978-0-07-352332-3.
- ^Parker, Lorraine."IMS Notes".vcu.edu.Retrieved31 May2016.
- ^Angles, Renzo; Gutierrez, Claudio (1 Feb 2008)."Survey of graph database models"(PDF).ACM Computing Surveys.40(1): 1–39.CiteSeerX10.1.1.110.1072.doi:10.1145/1322432.1322433.S2CID207166126.Archived fromthe original(PDF)on 15 August 2017.Retrieved28 May2016.
network models [...] lack a good abstraction level: it is difficult to separate the db-model from the actual implementation
- ^Kuper, Gabriel M. (1985).The Logical Data Model: A New Approach to Database Logic(PDF)(Ph.D.). Docket STAN-CS-85-1069.Archived(PDF)from the original on June 30, 2016.Retrieved31 May2016.
- ^"SAP Announces New Capabilities in the Cloud with HANA".2014-10-22.Retrieved2016-07-07.
- ^Frisendal, Thomas (2017-09-22)."Property Graphs".graphdatamodeling.com.Retrieved2018-10-23.
- ^Das, S; Srinivasan, J; Perry, Matthew; Chong, Eugene; Banerjee, Jay (2014-03-24)."A Tale of Two Graphs: Property Graphs as RDF in Oracle".
{{cite journal}}
:Cite journal requires|journal=
(help) - ^abHave, Christian Theil; Jensen, Lars Juhl (2013-10-17)."Are graph databases ready for bioinformatics?".Bioinformatics.29(24): 3107–3108.doi:10.1093/bioinformatics/btt549.ISSN1460-2059.PMC3842757.PMID24135261.
- ^"Resource Description Framework (RDF): Concepts and Abstract Syntax".www.w3.org.Retrieved2018-10-24.
- ^"The Competitive Dynamics of the Consumer Web: Five Graphs Deliver a Sustainable Advantage".www.gartner.com.Retrieved2018-10-23.
- ^abCodd, E. F. (1970-06-01)."A relational model of data for large shared data banks".Communications of the ACM.13(6): 377–387.doi:10.1145/362384.362685.ISSN0001-0782.S2CID207549016.
- ^"Graph Databases, 2nd Edition".O’Reilly | Safari.Retrieved2018-10-23.
- ^abcd"From Relational to Graph Databases".Neo4j.
- ^ab"Examples where Graph databases shine: Neo4j edition",ZeroTurnaround
- ^"Amazon Neptune Engine version 1.3.3.0 (2024-08-05)".Docs.AWS.Amazon.com.Amazon Web Services.Retrieved22 August2024.
- ^"In-memory massively parallel distributed graph database purpose-built for analytics".CambridgeSemantics.com.Retrieved2018-02-20.
- ^Rueter, John (15 February 2018)."Cambridge Semantics announces AnzoGraph graph-based analytics support for Amazon Neptune and graph databases".BusinessWire.com.Retrieved20 February2018.
- ^Zane, Barry (2 November 2016)."Semantic graph databases: a worthy successor to relational databases".DBTA.com.Database Trends and Applications.Retrieved20 February2018.
- ^"Cambridge Semantics announces AnzoGraph support for Amazon Neptune and graph databases".DBTA.com.Database Trends and Applications. 2018-02-15.Retrieved2018-03-08.
- ^Woodie, Alex (21 June 2016)."Beyond Titan: the evolution of DataStax's new graph database".Datanami.com.Retrieved9 May2017.
- ^"release 1.0.0 · JanusGraph/janusgraph".GitHub.com.21 October 2023.
- ^"JanusGraph storage backends".docs.JanusGraph.org.Archived fromthe originalon 2018-10-02.Retrieved2018-10-01.
- ^"JanusGraph index storages".docs.JanusGraph.org.Archived fromthe originalon 2018-10-02.Retrieved2018-10-01.
- ^"What's new in SQL Server 2017".Docs.Microsoft.com.Microsoft Corp.19 April 2017.Retrieved9 May2017.
- ^"Nebula Graph debuts for big data analytics discovery".Datanami.com.29 June 2020.Retrieved2 December2020.
- ^"Release notes: Neo4j 5".Neo4j.com.Neo4j Graph Database Platform.Retrieved2024-10-31.
- ^"Release Notes".Ontotext GraphDB.19 August 2024.Retrieved19 August2024.
- ^"Clustering deployment architecture diagrams for Virtuoso".Virtuoso.OpenLinkSW.com.OpenLink Software.Retrieved9 May2017.
- ^Ewbank, Key."RedisGraph reaches general availability".I-Programmer.info.
- ^"What's new in SAP HANA 2.0 SPS 05".blogs.SAP.com.2020-06-26.Retrieved2020-06-26.
- ^Rudolf, Michael; Paradies, Marcus; Bornhövd, Christof; Lehner, Wolfgang.The graph story of the SAP HANA database(PDF).Lecture Notes in Informatics.
- ^Vanian, Jonathan (18 February 2015)."NSA-linked Sqrrl eyes cyber security and lands $7M in funding".Gigaom.com.Gigaom.Archived fromthe originalon 9 March 2019.Retrieved9 May2017.
- ^Woodie, Alex (23 October 2015)."The art of analytics, or what the green-haired people can teach us".Datanami.com.Retrieved9 May2017.
- ^"GitHub Releases".GitHub.Retrieved2023-07-03.
- ^"Release notes: TigerGraph: Docs".Docs.TigerGraph.com.TigerGraph.Retrieved4 July2024.
- ^"The Forrester Wave™: graph data platforms, Q4 2020".AWS.Amazon.com.Amazon Web Services.16 November 2020.Retrieved16 November2020.
- ^"Release TypeDB 2.14.0 · vaticle/typedb".GitHub.Retrieved2022-11-25.
- ^Svensson, Johan (5 July 2016)."Guest View: Relational vs. graph databases: Which to use and when?".San Diego Times.BZ Media.Retrieved30 August2016.
- ^TinkerPop, Apache."Apache TinkerPop".Apache TinkerPop.Retrieved2016-11-02.