EMS logo

Produkt Navigation

Wählen Sie Ihr DB-Tool aus

Unsere Partnerschaften

Microsoft Certified Partner
Oracle Certified Partner
Embarcadero Technology Partner

Nachrichten aus der SQL-Welt

Allgemeine Nachrichten

01/07/2014
Google Releases Cayley Open-Source Graph Database

Google has been using, improving and boosting its Knowledge Graph search services for several years to show users how information can be linked together in graphics form to help find desired results. Now it is again pushing forward in the graph database world through the open-source release of Cayley, which will be used in the continuing development of graph databases.

The availability of Cayley was announced by Google software engineer Barak Michener in a June 25 post on the Google Open Source Blog. "Four years ago this July, Google acquired Metaweb, bringing Freebase and linked open data to Google," he wrote. "It's been astounding to watch the growth of the Knowledge Graph and how it has improved Google search to delight users every day."

Since then, the concepts of Freebase and its linked data have spread through Google's worldwide offices, wrote Michener. "I began to wonder how the concepts would advance if developers everywhere could work with similar tools. However, there wasn't a graph available that was fast, free, and easy to get started working with. With the Freebase data already public and universally accessible, it was time to make it useful, and that meant writing some code as a side project."

Google is making that happen now with the release of Cayley, an open-source graph database that is being called a "spiritual successor" to graphd, wrote Michener. Cayley "shares a similar query strategy for speed" with graphd, while adding its own unique features, including RESTful API, multiple (modular) back-end stores such as LevelDB and MongoDB, multiple (modular) query languages and ease-of-use features that make it convenient to work with for developers, he wrote.

"Cayley is written in Go, which was a natural choice," he added. "As a backend service that depends upon speed and concurrent access, Go seemed like a good fit. Go did not disappoint; with a fantastic standard library and easy access to open source libraries from the community, the necessary building blocks were already there. Combined with Go's effective concurrency patterns compared to C, creating a performance-competitive successor to graphd became a reality."

To illustrate some of the uses of Cayley, Google developers created a YouTube video that describes the building of a small knowledge graph using the application. "The video includes a quick introduction to graph stores as well as an example of processing Freebase and Schema.org linked data," he wrote.

Interested developers can also check out a demo dataset in a live instance running on Google App Engine to see how it works. "It's running with the sample dataset in the repository — 30,000 movies and their actors, roles, and directors using Freebase film schema," wrote Michener. "For a more-than-trivial query, try running the following code, both as a query and as a visualization; what you'll see is the neighborhood of the given actor and how the actors who co-star with that actor interact with each other."

The open-source project is hosted on GitHub.

News source: eweek.com

twitterfacebook