Sitemap
Ibrahim Mutlay

Ibrahim Mutlay

Founder of startups on advanced materials, computational sciences, and green chemistry. Now, helping companies to turn ideas into market-ready products.

Graph Data Platforms

If there is a relation between objects, then your data may have a network hidden inside.

8 min readSep 27, 2018

--

Analytics are traditionally based on the statistical data mining. However, the data coming from organizational patterns with inherent correlations implies a deeper, very complex information content. Especially after the dawn of social networks in combination with sophisticated online resources, it’s been noticed that we are incapable of understanding the underlying structure. A very fortunate coincidence, a new scientific field has been cultivating at the right time; theory of graphs and complex networks (we use “graph” and “network” interchangeably).

Modern foundation of network theory is built on the findings of the “6 separation degrees” by Milgram in the 1960s [1] and the Erdös-Rényi random graph model [2,3], following the discovery of complex networks by Watts & Strogatz [4] and Barabási & Albert [5] in the late 1990s. Today, we know many networks are governed by the same laws of graph theory from the abstract ones; social organizations, World Wide Web, epidemic diseases, metabolism, chemical reactions, protein interactions, scientific publication references, economic structures, Internet, terrorist organizations to the physical ones as well; electrical power grids, transportation routes [6–9]. This diverse nature made graph analytics one of the main data mining branches of modern science.

Press enter or click to view image in full size
The network of Russian Trolls on Twitter. This is the network of which troll accounts mention which other troll accounts. Each node in the network below is an IRA-connected Twitter handle, colored by its taxonomic type (Right Troll, Left Troll, etc.) and sized by the number of followers the account had at its peak. (Credit: 538)

At this point, the graph theory has found three main commercial applications [7,12–14]: social networks, search engines, and graph-based computing (graph databases, recommendation systems etc.). But, don’t be mistaken. Remember, search engines and social networks amount to the almost entire web consumption [11].

Next, we’ll look into the status quo of graph platforms. If you are a data scientist you will find a useful introduction to graph analysis tools or if you are inclined to business applications, if you are an app developer, for example, you will find industrial graph platforms at the end. This article will be short but a definitive guide, as a reference.

Graph Analytics Tools

These are the graph algorithms and codes used for data mining and visualization, developed, mostly open source, by data scientists.

igraph

OS: All OS with R, Python and C/C++.
Purpose: Network analysis and visualization.
Functionality: One of the most powerful and comprehensive tools available. It can read and write almost any type of data. It has the most powerful analysis algorithm library.

NetworkX

OS: All OS with Python.
Purpose: Network analysis and visualization.
Functionality: After the igraph, the tool has the widest capabilities.

graph-tool

OS: All OS with Python.
Purpose: Network analysis and visualization.
Functionality: Designed especially for high-performance big data calculations.

Gephi

OS: Windows, Linux, and Mac OS X.
Purpose: Visualization.
Functionality: The most common tool for the graph visualization. It gives the user full control of the graphic design with interactive GUI.

SNAP

OS: All OS with C++ and Python.
Purpose: Network analysis.
Functionality: Designed especially for high-performance big data calculations.

JUNG

OS: All OS with Java.
Purpose: Network analysis and visualization.
Functionality: It is a widely used tool thanks to Java, but the analysis capabilities are relatively low.

Mathematica

OS: Windows, Linux, and Mac OS X.
Purpose: Network analysis and visualization.
Functionality: Powerful mathematical infrastructure and visualization.

D3.js

OS: All OS with JavaScript.
Purpose: Visualization.
Functionality: A highly flexible and powerful data visualization library for the web browsers with nice graph representation capabilities.

Cytoscape

OS: All OS.
Purpose: Visualization.
Functionality: Interactive GUI; similar visualization capabilities with Gephi.

Pajek

OS: Windows.
Purpose: Network analysis and visualization.
Functionality: Commercial software package; interactive GUI, limited ability, only for simple applications.

UCINET

OS: Windows.
Purpose: Network analysis and visualization.
Functionality: Commercial software package; interactive GUI, limited ability, only for simple applications.

NodeXL

OS: Windows with Excel.
Purpose: Network analysis and visualization.
Functionality: It is quite popular with the Excel interface but limited ability, only for simple applications.

Graph Platforms in Industry

Considering the commercial potential of graph data framework, every market player built its own special platform. Here, we will try to portray the general picture.

Google

Google Search
Purpose: Search engine.
Functionality: “THE search engine” which is primitively based on the PageRank algorithm inspired by the analogy of the scientific article citations and the hyperlinks of Web pages [10].

Press enter or click to view image in full size
You know the Google’s info cards (next to the search results). It’s calculated by The Knowledge Graph.

The Knowledge Graph
Purpose: Search engine enhancement.
Functionality: An assistant to the basic search that resolves search queries as a semantic network and produces structured infoboxes.

Get Ibrahim Mutlay’s stories in your inbox

Join Medium for free to get updates from this writer.

Pregel
Purpose: Graph algorithm.
Functionality: Graph algorithms and programming platform designed for big data analysis.

Cayley
Purpose: Graph database.
Functionality: Open source database written in Go language.

Facebook

Graph API + Open Graph protocol
Purpose: Social network.
Functionality: The graph-based platform that forms the core of the Facebook infrastructure.

Facebook friendships across cities. Colors were selected randomly by country for within-country ties, and white was chosen for between-country ties. (Credit: https://research.fb.com/facebook-friendships-in-europe/)

Unicorn
Purpose: Search engine.
Functionality: A search engine based on graph algorithms and social relationships.

TAO
Purpose: Graph database.
Functionality: A graph database custom built for Facebook business-loads and social networks.

ThreatExchange
Purpose: Content management.
Functionality: Graph-based content management for malware and offensive user detection.

Microsoft

The Image Graph
Purpose: Bing Image search engine.
Functionality: A semantic search engine based on clustering statistics of the image network connected by the meta-data.

Press enter or click to view image in full size
Image Content Graph of Bing Search Engine. Bing analyzes every image’s content and context and constructs an advanced graph clustering similar images and all their associated metadata together. This graph, which is pivoted on content within the image rather than URLs, is referred to as the Image Graph and is the foundational building block of Bing’s Image Search. (Credit: Microsoft)

Graph Engine
Purpose: Graph database.
Functionality: Database and distributed computing engine for large graphs.

Amazon

Amazon Neptune
Purpose: Graph database.
Functionality: A purpose-built, high-performance graph database engine optimized for storing billions of relationships and querying the graph with milliseconds latency.

Press enter or click to view image in full size
Amazon Neptune, benefiting from Amazon’s own cloud infrastructure.

Twitter

Interest Graph
Purpose: Social network.
Functionality: Social network analysis based recommendation engine.

FlockDB
Purpose: Graph database.
Functionality: An open source, fault-tolerant, distributed database.

LinkedIn

The Economic Graph
Purpose: Social network.
Functionality: Global employment network of employees and job opportunities.

Yahoo

Yahoo Weather
Purpose: Content enhancement.
Functionality: An image selection system for Yahoo weather app’s background depending on the location and the weather visuals using the clustering statistics of the Flickr image network connected by the meta-data.

Apache

Giraph
Purpose: Graph algorithm.
Functionality: Inspired by Google’s Pregel, a graph platform designed for big data analysis. Used in the Facebook infrastructure.

eBay

Taste Graph
Purpose: Recommendation engine.
Functionality: Graph-based recommendation engine.

Press enter or click to view image in full size
Neo4j Graph Database Browser (Credit: Neo4j).

Neo Technology

Neo4j
Purpose: Graph database and analytics.
Functionality: One of the most popular graph databases available in the market commercially. It also includes graph analytics and Cypher query language.

Turi (owned by Apple)

Turi (GraphLab) Create
Purpose: Graph algorithm.
Functionality: A graph platform simplifying the development of custom machine learning models.

Ayasdi

Ayasdi
Purpose: Graph algorithm.
Functionality: A graph algorithms platform developed for the public, intelligence and defense applications under DARPA sponsorship.

References

[1] S. Milgram. The small world problem. Psychology Today 1(1967).
[2] Renyi, A., and P. Erdos. “On random graphs.” Publicationes Mathematicae 6.290–297 (1959): 5.
[3] Erdös, Paul, and Alfréd Rényi. “On the evolution of random graphs.” Publ. Math. Inst. Hung. Acad. Sci 5 (1960): 17–61.
[4] Watts, Duncan J., and Steven H. Strogatz. “Collective dynamics of ‘small-world’networks.” nature 393.6684 (1998): 440–442.
[5] Barabási, Albert-László, and Réka Albert. “Emergence of scaling in random networks.” science 286.5439 (1999): 509–512.
[6] Albert, Réka, and Albert-László Barabási. “Statistical mechanics of complex networks.” Reviews of modern physics 74.1 (2002): 47.
[7] Newman, Mark EJ. “The structure and function of complex networks.” SIAM review 45.2 (2003): 167–256.
[8] Holme, Petter, and Jari Saramäki, eds. Temporal networks. Springer, 2013.
[9] Yeung, Chi Ho, and David Saad. “Networking — a statistical physics perspective.” Journal of Physics A: Mathematical and Theoretical 46.10 (2013): 103001.
[10] Sergey Brin, Lawrence Page, The Anatomy of a Large-Scale Hypertextual Web Search Engine, Computer Networks, vol. 30 (1998), pp. 107–117.
[11] https://www.alexa.com/topsites
[12] Boccaletti, Stefano, et al. “Complex networks: Structure and dynamics.” Physics reports 424.4 (2006): 175–308.
[13] Can, Fazli, Tansel Özyer, and Faruk Polat. State of the Art Applications of Social Network Analysis. Springer, 2014.
[14] Ulusoy, Özgür, Abdullah Uz Tansel, and Erol Arkun, eds. Recommendation and Search in Social Networks. Cham: Springer International Publishing, 2015.
[15] Gandomi, Amir, and Murtaza Haider. “Beyond the hype: Big data concepts, methods, and analytics.” International Journal of Information Management 35.2 (2015): 137–144.
[16] Mariam Adedoyin-Olowe, Mohamed Medhat Gaber, Frederic Stahl, A Survey of Data Mining Techniques for Social Media Analysis, arXiv:1312.4617v2 [cs.SI].

--

--

Ibrahim Mutlay
Ibrahim Mutlay

Written by Ibrahim Mutlay

Founder of startups on advanced materials, computational sciences, and green chemistry. Now, helping companies to turn ideas into market-ready products.