AI, Data Science & Cloud Certificates from Google, IBM & Meta
Live Online Classes in Design, Coding & AI — Small Classes, Free Retakes
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
This tutorial explores how to define knowledge graphs using Python, specifically with the NetworkX and RDF libraries. Begin with a slide presentation covering core concepts of knowledge graphs, NetworkX, and RDF. Learn about the fundamentals of RDF, including URIs, Namespaces in RDFlib, and how to compare the definition of various graph elements like nodes, edges, and metadata between NetworkX and RDFlib. Understand key concepts such as serialization, querying, and running algorithms on graphs. Follow along with a practical example using Google Colab that demonstrates how to define and manipulate knowledge graphs using both NetworkX and RDFlib. By the end of this 40-minute tutorial, gain a solid understanding of how to work with knowledge graphs in Python using these two powerful libraries. The code for this tutorial is available on GitHub.
Syllabus
355 Defining Knowledge Graphs with NetworkX and RDF in Python
Taught by
DigitalSreeni