Advanced Topic 40 of 51 Emerging & Frontier Topics
Knowledge Graphs
Networks of entities and relations.
How it works
A knowledge graph stores facts as a network of entities connected by typed relations, commonly as triples such as (Marie Curie, won, Nobel Prize in Physics). Nodes can have properties, and an accompanying schema or ontology defines classes and relation types. Graphs are stored in RDF triple stores queried with SPARQL or in property graph databases such as Neo4j queried with Cypher. They are built by extracting facts from text, integrating databases and resolving duplicate entities, and embeddings allow completion of missing links. Examples include Wikidata, Google's Knowledge Graph and enterprise data catalogs.
Where it is used
They improve search answers, recommendations, question answering, data integration and grounding for language models.
Common pitfall
Building and maintaining accurate data is expensive, entity matching is error-prone and facts go stale. Track sources, confidence and update time for every fact.
Where it fits in the course
Knowledge Graphs is topic 40 of 51 in Emerging & Frontier Topics, rated Advanced. It follows Computational Linguistics. The next topic is Ontologies and Semantic Web.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Emerging & Frontier Topics quiz.
- Explore the Graph Traversal visualizer: BFS, DFS and Dijkstra on a weighted graph.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Emerging & Frontier Topics quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Knowledge Graphs?
Where do people use Knowledge Graphs?
What is the most common mistake with Knowledge Graphs?
What should I learn before this topic?
How can I practice it?
Is Knowledge Graphs hard to learn?
How long does it take to learn Knowledge Graphs?
Which topics are related to Knowledge Graphs?
What should I study after Knowledge Graphs?
Related topics
- Computational Linguistics (Emerging & Frontier Topics)
- Ontologies and Semantic Web (Emerging & Frontier Topics)
- Computational Geometry (Emerging & Frontier Topics)
- Expert Systems (Emerging & Frontier Topics)
- Functions and Graphs (Math for Computing)
- Graphs (Data Structures)
- Control Flow Graphs (Languages & Compilers)