liveBook · Manning

Semantics

As explained in Knowledge Graphs and LLMs in Action

Semantics is the explicit representation of the meaning of data through typed entities and meaningful relationships.

Semantics makes data meaning explicit by modeling typed entities, attributes, and meaningful named relationships within a domain knowledge graph. This structure supports contextual knowledge, explainability, and reasoning. section 1.4.1

Semantic modeling typically combines:

  • Taxonomies organize categories hierarchically through broader–narrower relationships, such as Vehicle, Car, and Sedan. section 1.6.1
  • Ontologies define identity, difference, disjointness, unions, complements, and cardinality restrictions among concepts. section 1.6.1
  • Modern knowledge graphs often apply just enough semantics: partial, extensible models that address current domain needs without rigid completeness. section 1.6.1

Healthcare domain

A healthcare knowledge graph may begin with an oncology or cardiology ontology, then expand into additional specialties as requirements evolve. section 1.6.1

Figure 1.6 The four pillars of KGs: evolution, semantics, integration, and learning
figure

Use the four-pillar view to relate semantics to evolution, integration, and learning in knowledge graphs. section 1.4.1

How Knowledge Graphs and LLMs in Action covers it

How deep it goes
Explains typed relationships, taxonomies, ontologies, and pragmatic partial modeling without detailing formal implementation procedures.
Examples
Uses Vehicle–Car–Sedan hierarchies, Car–Automobile identity, Car–Bicycle disjointness, and healthcare specialty ontologies.
What it assumes
Assumes familiarity with graph data models while distinguishing structural graph information from semantic metadata.
What you can do after
Evaluate graph representations for meaningful relationships, explainability, and extensible domain modeling.
How it connects
Connects knowledge graphs with taxonomies, ontologies, RDF, labeled property graphs, integration, and inference.

Also explained in

Compare how 2 books explain semantics →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Knowledge Graphs and LLMs in Action. The section links point to the parts of the book it draws on.