liveBook · Manning

Semantics

Semantics is the meaning or behavior assigned to expressions, symbols, data, or structures under an interpretation.

How 4 Manning books explain it

Data-Oriented Programming in Java

Semantics are the intended meanings that a program expresses through its data and operations.

How it is used
Guides data-oriented design toward representations, operations, and boundaries that state domain meaning explicitly.
How deep it goes
Develops semantics from implicit fields through validation, domain types, model refactoring, and architectural boundaries.
Examples
Uses UUID identifiers, task retries, temperature and curing measurements, checklists, database upserts, and HTTP/JSON ingestion.
What you can do after
Evaluate/understand whether a representation, operation, or boundary communicates domain meaning and prevents invalid states.

Read how Data-Oriented Programming in Java explains semantics →

LLMs in Production

Semantics is the study of meaning in language, including the meanings of expressions and their combinations.

How it is used
Uses semantics to reason about meaning and its approximation in language models.
How deep it goes
Explains usage-based embeddings and their limitations, with a vector analogy and a pragmatic interpretation example.
Examples
Illustrates semantic approximation with the king–man+woman Word2Vec analogy and interpretation with “I need food.”
What you can do after
Evaluate semantic approximations by considering embedding visualizations and the contextual information a model can access.

Read how LLMs in Production explains semantics →

Machines that Think

The aspect of language and cognition concerned with meaning and the relationships between expressions, concepts, and what they signify.

How it is used
Uses semantics to examine language representation and assess claims of machine understanding.
How deep it goes
Explains the syntax–semantics distinction and learned relational structure, while leaving whether such structure constitutes understanding contested.
Examples
Uses the Chinese Room, a grammatically correct nonsense sentence, and word-embedding relationships to illustrate competing aspects of meaning.
What you can do after
Evaluate claims of machine understanding by distinguishing fluent behavior, learned linguistic relationships, and experiential grounding.

Read how Machines that Think explains semantics →

Knowledge Graphs and LLMs in Action

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

How it is used
Makes knowledge-graph meaning explicit so data can support contextual analysis, business decisions, explainability, and reasoning.
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 you can do after
Evaluate graph representations for meaningful relationships, explainability, and extensible domain modeling.

Read how Knowledge Graphs and LLMs in Action explains semantics →

Also covered in

What to know first

Related concepts

Questions about semantics

What is semantics?

Semantics is the meaning or behavior assigned to expressions, symbols, data, or structures under an interpretation.

Which Manning books explain semantics?

Data-Oriented Programming in Java, LLMs in Production, Machines that Think and Knowledge Graphs and LLMs in Action.

What should I know before learning semantics?

Manning books that teach semantics usually introduce language model, call, interpretability and literal first.

What is the difference between semantics and syntax?

Semantics is the meaning or behavior assigned to expressions, symbols, data, or structures under an interpretation. Syntax is the set of rules governing how symbols and constructs may be arranged to form valid expressions or programs in a language.

What kinds of semantics are there?

Kinds of semantics include deterministic evaluation semantics.

What is semantics part of?

Semantics is part of natural language. Natural language is a human communication system that develops through social use and is expressed in spoken or written form.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.