FlashKeepers

Databases · College · College and University

Graph Databases and Neo4j

Nodes, relationships, properties, Cypher query basics, traversals and graph modeling use cases.

About this set

35 basic cards for College Databases. It opens with "What is a node in a graph database?" and "What is a relationship in a graph database?". Study it alongside the other College sets below.

35 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is a node in a graph database?
Show answerA fundamental data structure representing an entity or object in the graph
What is a relationship in a graph database?
Show answerA connection or edge between two nodes representing how entities are associated
What is a property in a graph database?
Show answerA key-value pair storing attributes or metadata about a node or relationship
What does it mean to label a node in Neo4j?
Show answerTo assign a category or type to a node, written as :LabelName
Can a single node in Neo4j have multiple labels?
Show answerYes, a node can have multiple labels to represent multiple categories
What is a directed relationship?
Show answerA relationship with a specific direction, flowing from one node to another
Can Neo4j store properties on relationships?
Show answerYes, relationships can have properties just like nodes
What is Cypher?
Show answerA declarative query language designed for Neo4j to work with graph data
What does the MATCH clause do in Cypher?
Show answerSpecifies a pattern to search for in the graph
What does the WHERE clause do in Cypher?
Show answerFilters matched results by applying conditions
What does the RETURN clause do in Cypher?
Show answerSpecifies which data to return from the query result
What does the CREATE clause do in Cypher?
Show answerCreates new nodes or relationships in the graph
What does the SET clause do in Cypher?
Show answerSets or updates properties on existing nodes or relationships
What does the DELETE clause do in Cypher?
Show answerRemoves nodes and relationships from the graph
What does the MERGE clause do in Cypher?
Show answerCreates a node or relationship if it does not exist, or updates it if it does

20 more cards in the app

Study this set free