liveBook · Manning

Hypertext link

As explained in Graph Algorithms for Data Science

A hyperlink is a reference in digital content that provides direct access to another resource.

A hypertext link is a reference in digital content that provides direct access to another resource. In a tweet, a URL can lead followers to related content and increase interactivity. section 2.4

When modeling tweet links in a labeled-property graph, store the URL as a tweet property or represent it as a separate link node connected by a relationship. Separate nodes support faster grouping of tweets that share a link. section 2.4.1

Choose the representation according to the intended queries:

  • Use a node property when links do not need to be grouped or traversed as shared entities. section 2.4.1
  • Use separate link nodes when standardized URLs must connect multiple tweets efficiently. section 2.4.1
  • Treat standardization as essential: different representations of the same resource weaken the value of shared link nodes. section 2.4.1

Tweets sharing a Medium article

A tweet containing a Medium article URL can connect to a separate link node. Other tweets using the same standardized URL can connect to that node, making shared-link analysis direct. section 2.4.1

Figure 2.22 Two options for storing the extracted link from the tweet
02-22

Compare storing an extracted URL as a tweet property with representing it as a separate link node. section 2.4.1

How Graph Algorithms for Data Science covers it

How deep it goes
Compares two graph representations, query costs, traversal benefits, and standardization, without implementing URL extraction code.
Examples
Uses tweet URLs, a Medium article, shared-link grouping, and alternative graph diagrams as concrete examples.
What it assumes
Assumes experience developing a labeled-property graph model and teaches how to add extracted tweet links.
What you can do after
Evaluate/understand whether URLs belong in tweet properties or separate nodes for the intended graph queries.
How it connects
Connects hypertext links with tweets, URLs, labeled-property graphs, node properties, relationships, and knowledge graphs.

Also explained in

Compare how 9 books explain hypertext link →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Graph Algorithms for Data Science. The section links point to the parts of the book it draws on.