SHARES_ATTRIBUTE (Shared Attributes)
Knowledge GraphsSHARES_ATTRIBUTE is a relationship in knowledge graphs connecting two entities that share the same attribute. For example, 'cortisol' and 'prednisone' share the attribute 'side effects', so they have a SHARES_ATTRIBUTE('side_effects') relationship. SHARES_ATTRIBUTE is fundamental for graph-based linking: if two entities share an attribute, pages about them should be linked, and the shared attribute suggests anchor text.
SHARES_ATTRIBUTE is automatically detected in graphs by simply traversing the graph from any entity through its attributes to other entities having those same attributes. The number of shared attributes determines relationship strength; more shared attributes mean stronger relationships. SHARES_ATTRIBUTE gives graphs a key advantage over embeddings: embeddings say 'these pages are similar', SHARES_ATTRIBUTE says 'they're similar because they share attributes X, Y, Z'.
For example, 'inheritance waiver' SHARES_ATTRIBUTE('statute_of_limitations') → 'estate division'—link with anchor 'statute of limitations for estate division'. In practice, export all SHARES_ATTRIBUTE pairs from Neo4j to CSV (that's a ready-made list of URL pairs to link with suggested anchor texts).