Author Archives: maxdemarzi

Personalization with Cypher

You hopefully have seen a TV commercial from “The Man Your Man Could Smell Like” marketing campaign put on by Old Spice, and you may have seen some of the over 100 videos Isaiah Mustafa appeared in responding to comments made on Twitter. This is a great example of personalization, and today you’ll learn how you can bring some personalization to your application, and you won’t need muscles or a horse.

We’re going to dust off the Neoflix project from the beginning of the year and add a few features. It has been updated to work on Neo4j version 1.7 and allows searching for movies that have a quote. Thanks to Jenn Alons and Vince Cima for the bug fixes during WindyCityDB.
Continue reading

Tagged , , ,

Key Players

In the late 90s Michael Jordan, Scottie Pippen, and Dennis Rodman of the Chicago Bulls dominated the basketball court. They were the key players of the Chicago Bulls, and dominated the NBA offensively and defensively. When exploring a social network you’ll want to find who the key players are for a variety of reasons:

Disrupt: Who should be removed from the network to disrupt it?
Protect: Who should be protected in order to keep the network functioning?
Influence: Who should be influenced in order to change social opinion?
Learn: Who should be questioned in order to know what is going on?
Redirect: Who should be moved to alter social flows?
Continue reading

Tagged , ,

Relationships

When working with relational databases, the join tables are sometimes treated as second class citizens. If they are lucky, they’ll get some additional fields, but are often just placeholder tables connecting your main object tables together. It leads you to think about objects first, and relationships second. With graphs, you will want to switch up your thinking. You want to start thinking about how things are connected. Think about the different ways things are connected. Two people can be friends, co-workers, and neighbors all at the same time.
Continue reading

Tagged ,

Slides from Chicago Graph Database April Meet-up

Thank you again to Groupon Engineering! They hosted our Graph Database Meet-up at their Headquarters.

Join us May 31st, 2012 for our next meet-up Add data from your existing Application into Neo4j.

Tagged , ,

Using Three.js with Neo4j

Last week we saw Sigma.js, and as promised here is a graph visualization with Three.js and Neo4j. Three.js is a lightweight 3D library, written by Mr. Doob and a small army of contributors.

The things you can do with Three.js are amazing, and my little demo here doesn’t give it justice, but nonetheless I’ll show you how to build it.
Continue reading

Tagged , , , , , ,

Using Sigma.js with Neo4j

I’ve done a few posts recently using D3.js and now I want to show you how to use two other great Javascript libraries to visualize your graphs. We’ll start with Sigma.js and soon I’ll do another post with Three.js.
Continue reading

Tagged , , , , , ,

Slides from Chicago Graph Database March Meet-up

Cypher

View more PowerPoint from Max De Marzi

Thank you very much to Groupon Engineering! They hosted our Graph Database Meet-up at their Headquarters.

Join us April 30th, 2012 for Neo4j Basics and an introduction to Gremlin.

Tagged , , ,

Visualizing a set of Hiveplots with Neo4j


What should a graph look like and how can I tell two graphs apart?

Continue reading

Tagged , , , , , ,

MadCoderTV is live on Roku

I’ve had a Roku streaming player for my TV for a few years now and a few months ago I got interested in how it actually worked. I started seeing more channels pop-up and I thought how hard could it be to put one up? So I found their SDK, grabbed their sample application and after a few tweaks, some nice artwork and finding content, it was approved.

Why go through the trouble of doing this to watch videos on my TV when I can just watch them on the laptop? One word… Distraction.

If a video is more than 3 to 5 minutes long, there is a good chance I won’t make it all the way through. It’s hard to sit still when you have the full power of your laptop and the internet at your fingertips. On the TV, as long as there are no commercials, I’m pretty much going to just sit there and watch. Maybe it is some mild form of ADD, maybe it’s normal.
Continue reading

Tagged , , , , ,

JUNG in Neo4j – Part 2

A few weeks ago I showed you how to visualize a graph using the chord flare visualization and how to visualize a network using a force directed graph visualization from D3.js.

On Twitter Claire Willett from Riparian Data asked:
https://twitter.com/#!/RiparianData/status/169099913580396544

This post on Graphs Beyond the Hairball by Robert Kosara explains why some non-traditional graph visualizations may work better and links us to an article explaining what a Node Quilt is and how it’s useful. We’re going to just take the first step and build a Matrix representation of a graph. We will use one of the JUNG clustering algorithms to help us understand it.
Continue reading

Tagged , , , , ,