Skip to content

Tag

Description

A keyword or term assigned to a party

Label

:Tag

Properties

PropertyDescriptionType
idThe tag's unique identifier (uuid)string
namethe printable name of the Tag; see table belowstring
createdBythe person or process that created the nodestring
createdDatedateTime
modifiedBythe person or process who last modified the nodestring
modifiedDatedateTime

Below is a not exhaustive list of tag list hierarchy:

Tag list nameLevel 2Level 3Level 4
Event SeriesAttributesDry (no alcohol) event
LGBTQIA+ friendly
Family friendly
SpeakersCategories
& Topics
Belonging
& Inclusion
Accessibility &
Disability
Black Voices
Civil Rights
BusinessBig Data &
Analytics
Disruptive Innovation
CultureArt & Fashion
Culinary
EntertainmentCelebrity
Digital Content
HealthAddiction &
Recovery
Fitness &
Nutrition
TypesAAPI
Action
Activists &
Advocates
Actors &
Actresses

While four levels of hierarchy are shown above, the database developer can add as many levels as needed.

Key

id

Relationships

:SUBCATEGORY_OF, :HAS_TAG

The :SUBCATEGORY_OF relationship connects a child Tag to a parent Tag in a hierarchy. The example code below shows how the database developer can navigate the hierarchy.

The :HAS_TAG relationship connects a :Party to a specific :Tag. This is usuaally assigned to a tag at the bottom rung of a hierarchy.

Examples

cypher
MATCH      (t:Tag)
WHERE NOT  ( (t)-[:SUBCATEGORY_OF]->(:Tag) )
RETURN     t.name AS TagList
cypher
MATCH   path = (topLevelTag:Tag {name: 'Speakers'})<-[:SUBCATEGORY_OF*0..10]-(descendant:Tag)
RETURN  [n IN nodes(path) | n.name] AS pathNodes
cypher
MATCH (root:Tag {name: "Speakers"})
CALL apoc.path.spanningTree(root, {
  relationshipFilter: "<SUBCATEGORY_OF",
  labelFilter: "+Tag",
  maxLevel: 10
}) YIELD path
RETURN path
cypher

Confidential. For internal use only.