Practice English vocabulary for graph machine learning: GNNs, GCNs, node embeddings, link prediction, knowledge graph completion, and embedding models like TransE.
0 / 10 completed
1 / 10
What does a Graph Neural Network (GNN) do that a standard neural network cannot?
A GNN iteratively aggregates messages from neighbouring nodes to update each node's representation. This makes it possible to learn from both node features and graph topology simultaneously — something flat feature vectors cannot express.
2 / 10
How would you describe 'node embedding' to a data scientist unfamiliar with graphs?
Node embeddings (e.g., from Node2Vec or GNN encoders) represent each node as a real-valued vector. The key property is that geometric proximity in the embedding space reflects graph structure or semantic similarity, enabling downstream ML tasks.
3 / 10
What is 'link prediction' as a graph ML task?
Link prediction asks: given the current graph, which pairs of nodes are likely to be connected by an edge that is missing? It is fundamental to recommender systems (user–product links), social networks (friend suggestions), and KG completion (missing facts).
4 / 10
What problem does 'knowledge graph completion' address?
Real-world knowledge graphs like Wikidata are incomplete — many true facts are missing. KG completion models (TransE, RotatE, ComplEx) learn entity and relation embeddings and use them to score and predict missing (subject, predicate, object) triples.
5 / 10
What is the key idea behind the TransE knowledge graph embedding model?
TransE (Translating Embeddings) is an intuitive KG embedding model: h + r ≈ t for valid triples. It is efficient and interpretable, though it struggles with symmetric and one-to-many relations. RotatE and ComplEx extend it to handle these cases.
6 / 10
Sarah (Senior Data Scientist) just asked you to explain 'graph convolution' during the team standup. Which of the following best describes it?
'Graph convolution is a way to propagate information across a graph, similar to how neurons in a neural network connect and influence each other.'
Graph convolution differs significantly from standard convolutional layers because it explicitly considers relationships between nodes. Instead of just applying filters locally, each node's representation is updated by aggregating information—a weighted sum—from its connected neighbors. This propagation mimics how signals spread through a network, making it suitable for graph-structured data.
7 / 10
You're writing the description for a Pull Request proposing to use GraphSAGE. The PR includes code that calculates 'node embeddings' using a GNN. Which of the following best captures the purpose of this embedding calculation within the context of your project?
'Node embeddings represent each node in our social network as a dense vector, allowing us to capture complex relationships and perform similarity searches.'
Node embeddings are crucial in graph ML because they transform discrete nodes into continuous vector representations. These vectors capture the essence of each node's position and relationships within the graph—essentially encoding structural information. This allows for downstream tasks like similarity calculations or clustering to be performed efficiently.
8 / 10
David (Code Reviewer) comments on your PR: 'This model uses a 'message passing' strategy. Can you elaborate on what that means in the context of this Graph ML implementation?' Which response is most appropriate?
'Message passing refers to iteratively updating node representations by exchanging information with their neighbors, mimicking how biological neural networks learn.'
The 'message passing' strategy highlights the iterative nature of many GNN algorithms. Nodes repeatedly receive and process messages from their neighbors, refining their own representations over successive iterations – this simulates learning through interaction. This concept is central to how information propagates within a graph structure.
9 / 10
You're reviewing an API response from a knowledge graph completion service. The response indicates that the model successfully 'predicted new links' between entities in a pharmaceutical knowledge graph. What does this primarily signify?
'The model has identified previously unobserved relationships between drugs and diseases based on existing graph connections.'
Knowledge graph completion focuses on inferring missing relationships within a graph. Predicting 'new links' means the model has learned patterns and connections based on existing data to suggest potentially valid new edges – effectively expanding the knowledge base of the graph.
10 / 10
Your team is experimenting with different embedding models for a fraud detection task using a transaction network. You've been evaluating TransE. What's the core principle behind this model?
'TransE represents relationships as translations between entity embeddings, assuming that a relation R connects two entities A and B if and only if their embeddings are related by translation.'
The TransE model's core idea is based on translating relations between entities. It represents each relation as a vector shift – if A relates to B via R, then the embedding of R should be equivalent to the difference between the embeddings of A and B. This approach simplifies learning relational structures.
Practice English vocabulary for graph machine learning: GNNs, GCNs, node embeddings, link prediction, knowledge graph completion, and embedding models like TransE.
How many exercises are in this module?
This module has 10 multiple-choice exercises, each with instant feedback and a full explanation of the correct answer.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account, sign-up, or paywall.
Do I need to create an account to do these exercises?
No account is required. Just click an option to answer — your score for this session is tracked automatically in the progress bar above.
What happens if I choose the wrong answer?
You'll immediately see which answer was correct, plus a full explanation covering the vocabulary and reasoning behind it — mistakes are where most of the learning happens.
Can I retry the exercises if I want a higher score?
Yes — use the "Try again" button on the results screen to reset and go through all the questions again.
Is my progress saved if I close the page?
No. Progress is tracked only for your current visit; reloading or leaving the page resets the counter. This keeps the exercise simple and account-free.
Where can I find more Knowledge Graph Vocabulary exercises?
Browse the full Knowledge Graph Vocabulary hub for related drills, or check the "Next up" link below to continue with a connected topic.
How is this different from reading an article on the same topic?
Articles explain vocabulary and concepts in prose; this exercise tests and reinforces that vocabulary through active recall with immediate feedback — the two work best together.
Who writes these exercises?
Every exercise is written by the CoderSlingo team, drawing on real workplace English used in IT roles, then reviewed for accuracy and clarity.