Learn how to use Neo4j + GraphQL to analyze data from Game of Thrones and A Song of Ice and Fire

This blog post was originally published on Medium by Michael Hunger and is used with permission.

Creating a Neo4j graph database (and more) based on Game of Thrones (and A Song of Ice and Fire) data.

As season 7 is progressing, interest around Game of Thrones data is flaring up again. There are plenty of very thorough data sources like the A Wiki of Ice and Fire and the Game of Thrones Wikia. But those are unfortunately not available as plain data APIs.

Thanks to Joakim Skoog that changed at least a bit. He scraped and cleaned data from the sources above and made it available at his An API of Ice and Fire, which is a neat .NET project running on Microsoft Azure. The code and data (!!) is also available in his GitHub repository.

Most recently, the Wall Street Journal wrote about his API, which I find quite unexpected.



As we currently have our 7 weeks of Graph of Thrones challenge running, I thought it would be fun and useful to create a Neo4j graph database out of Joakim’s data.

You can find all the scripts and documentation in my game-of-graphs GitHub repository.

Data Source


The data about Westeros is available via several API endpoints, which are detailed in the documentation. For us the house and character data is most interesting….


Read the rest of Michael’s post on Medium where he covers using Neo4j, GraphQL and Cypher to analyze data from Game of Thrones / A Song of Ice and Fire.


Want to learn more about how relational databases compare to their graph counterparts? Download this ebook, The Definitive Guide to Graph Databases for the RDBMS Developer, and discover when and how to use graph technology in conjunction with your relational database.

Get the Ebook

 

Keywords:  


About the Author

Michael Hunger, Developer Relations

Michael Hunger Image

Michael Hunger has been passionate about software development for a very long time. For the last few years he has been working on the open source Neo4j graph database filling many roles.

As caretaker of the Neo4j community and ecosystem he especially loves to work with graph-related projects, users and contributors. As a developer, Michael enjoys many aspects of programming languages, learning new things every day, participating in exciting and ambitious open source projects and contributing and writing software related books and articles.


Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe

Upcoming Event

 

From the CEO

Emil's Blog


Have a Graph Question?

Stackoverflow
Slack
Contact Us

Share your Graph Story?

Email us: content@neotechnology.com


Popular Graph Topics