Skip to content

Instantly share code, notes, and snippets.

View okabasakal88's full-sized avatar

Osman Kabasakal okabasakal88

View GitHub Profile
@dcinzona
dcinzona / rdbmsImport
Last active October 4, 2016 13:10
Neo4j RDBMS Import
= SQL --> Neo4j
The main goal is to be able to import data from SQL (or similar RDBMS) into Neo4j, while maintaining Foreign Keys as relationships, using Cypher. The reason behind using cypher vs. the batch importer is because I want to build a system that allows for multiple imports and updates without having to batch process it.
//console
= Table Structure Requirements:
1. Primary Key column names should use the pattern [TableName]+Id, so for a Contact table, the primary key field should be names ContactId. This is to prevent overlap of Node Labels.
@creativcoder
creativcoder / CallPython.cs
Created November 15, 2015 14:26
Passing arguements from C# to python
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CallPython
{
@ricardodestro
ricardodestro / EXAMPLE_NEO4J.md
Last active October 4, 2016 13:04
NEO4J Example

FIAP NEO4J

NEO4J example script

This excercise was created from FIAP - MBA - Solution Architect

#####Create Social Network Node##### CREATE (Facebook:SocialNetwork { name:'Facebook'}) CREATE (Twitter:SocialNetwork { name:'Twitter'})