reading surface
Technology
- words
- 3,022
- sections
- 23
- references
- 10
- compendium links
- 70
Working Definition
Permalink to Working DefinitionSemantics is the study of meaning: how signs, words, sentences, data structures, symbols, programs, interfaces, ontologies, and formal systems come to stand for something. Syntax asks whether an expression is well formed. Semantics asks what the expression denotes, implies, changes, permits, forbids, or makes possible.
The topic is broad because meaning travels. A word can become a database label, a database label can become a chart legend, a chart legend can become a knowledge graph edge, and that edge can become retrieval context for a model. Each transformation can preserve meaning, sharpen it, flatten it, or silently change it.
This page connects language, symbols, semantic web, philosophy, consciousness, category theory, type theory, theorem proving, graphs, data sources, standards, data visualization, transformers, and multimodal AI.
Core Distinctions
Permalink to Core DistinctionsUseful semantic work starts with a few distinctions:
- Syntax: the form, grammar, or arrangement of expressions.
- Semantics: the meaning, denotation, interpretation, model, or truth condition of expressions.
- Pragmatics: how situation, speaker intent, social context, and use affect meaning.
- Ontology: the inventory of entities, categories, relations, and constraints a system assumes.
- Reference: what an expression points to.
- Sense: the way an expression presents or describes its referent.
- Model: the structure that makes a formal sentence true, false, valid, or meaningful.
- Interpretation: the rule that maps symbols to entities, values, actions, or states.
These are not academic decorations. They keep a system from confusing a label with a definition, a string with an entity, a chart color with a category, a type with a runtime value, or a search embedding with understanding.
Kinds Of Meaning
Permalink to Kinds Of MeaningMeaning is not one thing. A word can have dictionary meaning, speaker meaning, social meaning, technical meaning, legal meaning, mathematical meaning, and machine-readable meaning at the same time. A symbol in mathematics may be precise inside a proof but ambiguous outside it. A field name in a database may look obvious until two systems disagree about units, null values, identity, or allowed states.
Reports about consciousness make this especially visible. "Aware," "understands," "feels," and "wants" can describe behavior, report, metaphor, attribution, or subjective experience. A semantic record should say which claim is intended.
This is why semantic work often starts with disambiguation. What is the term? What does it refer to? What model interprets it? What context changes it? What source authorizes the definition? What breaks if the representation changes?
Truth, Reference, And Context
Permalink to Truth, Reference, And ContextSemantics often has to separate three questions that everyday language blends together:
- What does the expression refer to?
- Under what conditions would the expression be true or satisfied?
- Which context makes this interpretation the intended one?
The sentence "the archive is complete" changes meaning depending on whether it refers to a physical box, a digitized collection, a checksum manifest, a public catalog, or a legal retention policy. The truth condition changes with the object. The reference changes with the identifier. The context changes with the workflow.
This is why graphs need typed edges and why data sources need field definitions. A graph edge that says "complete" without naming the domain is too weak to audit. A source field that says "status" without allowed values is too vague to join safely. A chart legend that says "high risk" without the scoring model is not a reusable semantic record.
Good semantic practice therefore keeps expression, referent, condition, source, and context close together. If they must be separated for storage, search, or visualization, the system should preserve the path back to the original statement.
Semantic Record Contract
Permalink to Semantic Record ContractA semantic record names the thing being discussed, the vocabulary used to describe it, the authority for that vocabulary, and the context where the meaning holds. It should say whether a term is a common-language label, a technical definition, a database field, an ontology class, a type, a legal category, a UI affordance, a metaphor, or an inferred model label.
A useful record should preserve:
- term, label, alias, symbol, or field name;
- definition and contrast cases;
- domain where the meaning is valid;
- source or authority for the definition;
- examples and non-examples;
- related entities, predicates, and data fields;
- known ambiguities or deprecated meanings;
- transformation rules for serialization, display, translation, or indexing.
This contract is practical. A data source with unclear field meanings cannot be joined safely. A standard with vague terms cannot be implemented consistently. A knowledge graph with labels but no semantics is only a network of strings.
Natural Language
Permalink to Natural LanguageNatural-language semantics studies how words, phrases, and sentences convey meaning. It includes lexical meaning, compositionality, quantification, modality, tense, aspect, scope, anaphora, deixis, metaphor, entailment, presupposition, and ambiguity.
Real language is messy because meaning is not only in the sentence. It is also in shared background, situation, genre, speaker intention, social power, and expectation. "The door is open" can describe a door, invite someone in, warn about security, or signal that a meeting has started.
For language and symbols, this means a record should keep original wording, translation, transliteration, context, script, authority, and uncertainty separate. A translated label can be useful without being identical to the source phrase.
Formal Semantics
Permalink to Formal SemanticsFormal semantics gives expressions mathematical interpretations. In logic, a sentence may be evaluated against a model. In programming languages, an expression may be assigned a denotation, transition behavior, type, or proof obligation. In database work, a schema may define what a record can mean inside a system.
Common forms include:
- model-theoretic semantics, where truth is evaluated in a structure;
- denotational semantics, where expressions map to mathematical objects;
- operational semantics, where meaning is given by execution or transition rules;
- axiomatic semantics, where behavior is described with assertions;
- game semantics, where interaction gives meaning;
- categorical semantics, where structure-preserving maps explain interpretation;
- abstract interpretation, where program behavior is approximated safely.
This is where category theory, type theory, and theorem proving become semantic tools. They help say what expressions mean, what transformations preserve, and what proof obligations a system must satisfy.
Programming Languages
Permalink to Programming LanguagesProgramming language semantics matters because compilers, interpreters, type checkers, verifiers, and optimizers need precise meanings. A vague language specification makes portability and correctness fragile.
Examples:
- operational semantics describes execution as state transitions;
- denotational semantics maps programs into mathematical objects;
- axiomatic semantics describes behavior with preconditions and postconditions;
- type systems classify expressions to prevent invalid operations;
- effect systems describe what a program may read, write, throw, allocate, or communicate.
The practical lesson is simple: code meaning lives at boundaries. A function name, type signature, parser, schema validator, runtime error, database migration, and test fixture all make semantic claims about what the software accepts and promises.
Data And Schema Semantics
Permalink to Data And Schema SemanticsData semantics is the difference between storing strings and preserving meaning. A database column named status, a JSON field named type, a chart series named risk, a tag on a blog post, and an ontology class all carry assumptions. If those assumptions are not explicit, systems drift.
For data sources, a semantic contract should capture units, denominators, missing-value rules, identifiers, update cadence, provenance, and transformation history. For data visualization, encodings such as color, shape, axis scale, and legend labels should carry the same meaning in the chart, alt text, source table, and graph metadata.
For SEO, semantics is the entity-page discipline underneath metadata. A page should say what entity or concept it is about, use headings that match visible content, expose external identifiers when useful, and keep structured data consistent with the article a reader sees.
Authority And Scope
Permalink to Authority And ScopeMeaning always has an authority surface. A word may be defined by a standards body, a scientific field, a legal document, a local database schema, a user community, a maintainer, or the visible behavior of a running system. Those authorities can conflict. A term that is precise in type theory may be metaphorical in a product page. A tag used for SEO may be too broad for a knowledge graph edge. A dataset label may be operationally useful while still being historically or culturally loaded.
Good semantic records name the authority and scope. They should say who defines the term, where it applies, what it excludes, which examples are canonical, which aliases are accepted, and which mappings are approximate. This is especially important for standards, data sources, language, and symbols, where one visible label may hide several incompatible conventions.
Scope protects readers from false precision. A local definition can be useful without claiming universal meaning. A Wikidata identifier can aid reconciliation without proving that every local use matches the global entity. A model label can help retrieval without becoming a definition.
Ontologies And Vocabularies
Permalink to Ontologies And VocabulariesOntology work names the categories and relationships a system is willing to treat as real enough for use. The danger is overbuilding. A vocabulary that no one uses is not semantic infrastructure; it is a private language.
Good ontology hygiene starts from actual questions:
- What needs to be found?
- What needs to be validated?
- What needs to interoperate?
- What distinctions change a decision?
- What sources authorize the terms?
- What happens when a term changes?
Useful ontology records include stable identifiers, labels, aliases, definitions, examples, source links, version notes, deprecation paths, and mappings to external vocabularies. Standards, semantic web, and graphs all depend on this boring maintenance work.
Disambiguation Workflow
Permalink to Disambiguation WorkflowWhen a term is overloaded, resolve it before adding more graph edges. A useful workflow is:
- list the candidate meanings;
- identify the source or community that authorizes each meaning;
- collect examples and counterexamples;
- choose the meaning needed for the current article;
- record aliases, narrower terms, broader terms, and related-but-not-same concepts;
- mark mappings as exact, close, broad, narrow, historical, or contested.
This keeps the compendium from turning graphs into a synonym cloud. "Graph," "network," "semantic graph," "knowledge graph," and "mind map" can overlap without becoming interchangeable. "Meaning," "reference," "truth condition," "embedding similarity," and "model confidence" can all matter to AI systems, but they answer different questions.
Disambiguation is also a reader workflow. A good page should let a visitor discover whether they are looking at a concept, tool, method, standard, data source, historical movement, or metaphor. Headings, aliases, sameAs identifiers, related links, and reference sources should all reinforce that answer.
Semantic Web And Knowledge Graphs
Permalink to Semantic Web And Knowledge GraphsIn web and data systems, semantics means giving entities, properties, schemas, identifiers, and claims enough structure that machines can connect them without erasing context. RDF, OWL, JSON-LD, Schema.org, SKOS, Wikidata, and local knowledge graphs are all attempts to make meaning more portable.
The key distinction is that graph shape is not meaning by itself. A node-edge diagram becomes semantic only when identities, predicates, constraints, sources, and interpretations are explicit enough to survive outside one person's head.
For this site, semantics shows up in frontmatter, tags, aliases, related links, sameAs URLs, Wikidata IDs, headings, outbound references, and the generated knowledge graph. A page is more useful when it names its topic clearly, connects to nearby topics, and points to stable external identifiers.
AI And Retrieval
Permalink to AI And RetrievalTransformers, embedding models, search engines, and retrieval systems can move meaning across representations very quickly. They can also confuse similarity with definition, fluent paraphrase with evidence, and token proximity with conceptual identity.
Semantic discipline asks what a model result is allowed to mean:
- Is this answer based on a source, a pattern, or a guess?
- Did the retrieval step preserve entity identity?
- Did the model collapse a distinction that the source kept separate?
- Does the generated summary cite the claim it depends on?
- Is the embedding being used for topic similarity, entity resolution, clustering, or definition?
For multimodal AI, the same issue crosses media. A photo, caption, OCR text, diagram, chart, audio clip, and model label may point to the same event, but they are not the same evidence object.
Meaning Preservation
Permalink to Meaning PreservationMany systems transform representations: prose into tags, tags into graph nodes, records into embeddings, code into bytecode, images into captions, charts into alt text, maps into simplified tiles, and standards into conformance fixtures. Semantics asks what meaning survives those transformations.
A search embedding may preserve topic similarity while losing definition. A diagram may preserve relation while losing uncertainty. A type may preserve structure while ignoring source provenance. A translation may preserve rough reference while losing tone, historical context, or legal force.
For the compendium, every transformation should keep enough context that a reader can recover the intended claim. That keeps semantic web, graphs, type theory, data visualization, and SEO aligned with the visible page.
Status Labels For Meaning
Permalink to Status Labels For MeaningSemantic claims benefit from status labels. Useful labels include defined, inferred, mapped, approximate, disputed, deprecated, local-only, historical, metaphorical, generated, and source-backed. A claim that two identifiers are the same is stronger than a claim that they are related. A generated summary is weaker than a source quotation. A local category may be valid for navigation while still being too informal for external linked data.
These labels matter for multimodal AI and transformers. Model outputs often sound definitional even when they are only plausible paraphrases. A semantic system should preserve whether a statement came from a source, a rule, a model, a curator, or a query result.
Semantic Audit Workflow
Permalink to Semantic Audit WorkflowA semantic audit asks whether the visible language, structured data, graph edges, search terms, and source records are still saying the same thing. It is useful whenever a page changes names, merges topics, introduces an alias, imports an external identifier, or starts using a technical term more narrowly than ordinary speech.
The audit has a simple order:
- list the central terms and the entities they name;
- separate aliases from broader, narrower, related, historical, and metaphorical terms;
- check whether each external identifier really denotes the same entity;
- preserve the source or rule that authorizes each definition;
- record which transformation created each derived label, summary, edge, or search phrase;
- mark disputed, local-only, approximate, generated, and deprecated meanings explicitly.
This keeps a wiki from turning into a bag of plausible names. A standards page can name a normative definition. A data source can name how a field is measured. A data visualization page can say when a category was grouped for display rather than redefined. A knowledge graph can then connect claims without pretending every string match is an identity match.
Semantic audits also protect readers from overconfident AI summaries. A retrieval result may connect two pages because their embeddings are close, but semantic closeness is not synonymy. A generated caption may describe an image well enough for navigation but not well enough for evidence. A search facet may be helpful while still being a local editorial category. Those distinctions should survive in metadata and prose.
Ambiguity And Granularity
Permalink to Ambiguity And GranularityMany semantic failures come from choosing the wrong grain. A page about language may discuss a word, a script, a language family, a writing system, a social practice, and a corpus. A page about Rust may discuss a language, compiler, crate, ecosystem, edition, toolchain, or safety discipline. A page about music may discuss a work, recording, performance, file, stem, sample, right, or notation. Collapsing those into one node makes the graph look connected while making answers worse.
Good granularity follows the question. If two things have different sources, identifiers, lifecycles, rights, authors, standards, or verification methods, they probably deserve different records. If two names always travel together for the reader's purpose, one record with aliases may be enough. The graph should preserve both the editorial shortcut and the stricter distinction so the interface can stay readable while the underlying model remains honest.
For compendium pages, that means each article should expose the reader-facing term while also leaving enough structure for claims. "Semantics" can be a hub topic, but a claim about RDF semantics, model-theoretic semantics, lexical meaning, or programming-language operational semantics should point to the right subdomain. This is how the wiki can be approachable without becoming semantically mushy.
Graph Role
Permalink to Graph RoleIn the compendium graph, semantics sits between natural language, formal type theory, category theory, theorem proving, and semantic web infrastructure. The local links matter because meaning is never isolated. It is interpreted through a grammar, model, practice, source, interface, or community.
Useful semantic predicates include means, denotes, refers_to, disambiguates, defines, aliases, translates_as, formalizes, preserves_meaning_under, contradicts_definition, has_context, and has_authority. Those edges turn a loose note into a graphable meaning record.
Working Heuristic
Permalink to Working HeuristicWhen a system is confusing, ask:
What are the objects, what are the relations, what rules interpret them, what source authorizes those rules, and what transformations preserve meaning?
That question applies to prose, code, databases, diagrams, ontologies, charts, search indexes, user interfaces, and AI outputs.
Failure Modes
Permalink to Failure Modes- Treating labels as definitions.
- Reusing one word for several concepts without disambiguation.
- Adding ontology terms that no workflow actually uses.
- Letting aliases, redirects, and external identifiers drift apart.
- Confusing syntactic validity with meaningful correctness.
- Treating embeddings as if similarity were the same thing as definition.
- Letting generated summaries erase source uncertainty.
- Exposing structured data that contradicts visible content.
- Adding formal vocabulary that no reader, query, or workflow actually uses.
Reference Sources
Permalink to Reference Sources- Meaning in the Stanford Encyclopedia of Philosophy
- Compositionality in the Stanford Encyclopedia of Philosophy
- Montague Semantics in the Stanford Encyclopedia of Philosophy
- Model Theory in the Stanford Encyclopedia of Philosophy
- W3C Semantic Web standards
- RDF 1.1 Concepts and Abstract Syntax
- OWL 2 Web Ontology Language Document Overview
- SKOS Simple Knowledge Organization System Reference
- Schema.org
- Software Foundations - Smallstep Operational Semantics
Related Compendium Threads
Permalink to Related Compendium Threads- Language for human meaning, translation, scripts, and naming.
- Symbols for marks, icons, standards, and visible meaning.
- Semantic Web for web-scale linked data and identifiers.
- Graphs for entities, edges, claims, and provenance.
- Data Sources for field meanings, source contracts, and evidence boundaries.
- Type Theory, Category Theory, and Theorem Proving for formal meaning and machine-checked structure.
- Transformers and Multimodal AI for meaning under learned representation and generated output.