Home Tracking Mad Cow and Doctor Who with Neo4j

Tracking Mad Cow and Doctor Who with Neo4j

One key to a good or great talk? Having a good “hook,” to interest the audience. Ian Robinson decided that a good way to grab audience attention yesterday at the Strange Loop conference in St. Louis was to use Doctor Who to talk about the Neo4j graph database. He’s not wrong.

What could have been an extremely dry and boring presentation was fairly lively. Robinson started with a quick overview of Doctor Who, just in case the audience wasn’t familiar with the show. I don’t think he needed to have worried, given the demographic.

So what is a graph database, anyway? Basically, Neo4j is a database that stores the relationships between nodes using semi-structured data. Robinson says that it’s fully ACID-compliant, high-availability, and capable of dealing with 32 billion nodes, 32 billion relationships and 64 billion properties.

It can run as a standalone server, or embedded in a Java application. (The site claims it has a footprint of around 750kb.) Neo4j is released under the GNU General Public License for the community edition, and under the Affero GPL (AGPL) for the commercial editions. (Robinson says that companies can “buy their way out” of the AGPL if they want.)

After the requisite explanation of the show, he then started talking about how Neo4j might be put to use. One example he provided was tracking the Doctor’s frequent nemeses, the Daleks. More accurately, he discussed tracking the Dalek props that were used in the show. Apparently there’s a Web site called Dalek 6388 that (as he says) “wondrously and laboriously” has gone through all publicity photos, episodes and so on to track the various Dalek costumes.

Robinson showed how you might track each and every piece of a Dalek costume, along with the episodes that it’s appeared in using Neo4j. First Robinson graphed it out visually, then showed code examples of how you would retrieve the information using Java and the new Cypher graph query language.

Assuming you don’t have a need to track Doctor Who props, what else might you use Neo4j for? Robinson mentioned that one of his first jobs was working with supply chain traceability. He gave the example of the late 90s Mad Cow outbreak in the U.K. Robinson explained you might use Neo4j to track the history of any given cow that turned up with Mad Cow, and then be able to tell which locations it’d been to and any other cattle it’d been in contact with.

Robinson finished off the presentation with a demonstration of the Neo4j Webadmin interface, and ran through a few queries to show results returned by Neo4j. If you’re interested in learning more about Neo4j, Robinson recommends starting with the tutorial.

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.