Skip to content

Instantly share code, notes, and snippets.

@sarmbruster
sarmbruster / beergist.adoc
Created September 21, 2016 11:52 — forked from rvanbruggen/beergist.adoc
Creating a beergraph straight from wikipedia

Belgian Beer Graph - straight from Wikipedia into a GraphGist

For the past couple of years, I have been preaching the Neo4j gospel in many different places, meetups, conferences, and what have you. For the most part, I have been using a very specific demo that has been super well-received: The Belgian Beer Graph. It started out as a learning experience for me personally back in the day when Neo4j did not have any proper data import functionality - and I had to load the graph by jumping through all kinds of hoops.

belgian beers
@sarmbruster
sarmbruster / panama_papers_azerbaijan.adoc
Last active May 3, 2016 14:47 — forked from jexp/panama_papers_azerbaijan.adoc
ICIJ Panama Papers Graph Model Exploration

The #PanamaPapers - Example Dataset President of Azerbaijan my changes

Let’s look at the family of the Azerbaijan’s President Ilham Aliyev who was already the topic of a GraphGist by Linkurious in the past. We see his wife, two daughters and son depicted.

Source

@GrabResolver(name="neo4j", root="http://m2.neo4j.org/")
@GrabResolver(name="restlet", root="http://maven.restlet.org/")
@GrabConfig(systemClassLoader = true)
@Grab('org.neo4j:neo4j-jdbc:2.1.4')
import groovy.sql.*
def sql = Sql.newInstance('jdbc:neo4j://localhost:7474/')
def titles=["abc","def","ghi"]
titles.each {
sql.execute """

FOOD RECIPES RECOMMENDATION GRAPH

Inspiration123

Interpreting Citation Patterns in Academic Publications: A research aid

Academic research largely consists in reading and writing texts. These texts can be modelled as a conversation. To be a reasercher, on this model, is to enter into a scientific conversation, to listen (read) and occassionaly to speak (write).

Authors write things

Texts embodying contributions to the scientific conversation are published as book chapters, articles in peer reviewed journals, conference papers &c. For the individual researcher, a major task involves identifying which of these published items are relevant to one’s research, to be able to study them and to respond.

Key concepts: relevance and order

= Car manufacturers 2013
This is a graph of all the major car manufacturers and their earnings in 2013, alongside all of their main suppliers.
It also shows the relationships between the various manufactures: cooperations, jointventuress and stock ownership. and the type of those
relationships.(For example a cooperation can be of the type: research/development)
//hide

US Flights & Airports: Delays, Cancellations, & Diversions


Table of Contents

Wasting time as a boothbabe

The Øredev Schedule in a Graph

What do you do when you have to spend a day on a booth at a (lovely) conference like Oredev - you try to make the most of it! So somehow I got it into my head to try and get the conference schedule into Neo4j - and see what would happen! So here goes!

The Model

Here’s what the model looks like: