Embedded Structured-Data Markup¶
Embed machine-readable annotations in a document so compatible parsers can extract structured facts.
Core Idea¶
A web document can carry annotations that let a compatible parser extract structured facts from the same document that presents information to people. The annotations identify items, properties or relationships according to a convention or vocabulary. Some values come from text already displayed on the page; others are stored in attributes or separate metadata elements. A consumer must understand the relevant syntax and vocabulary to recover the intended data.[1][2][3]
Embedding does not guarantee consistency. A machine-readable attribute can become stale while visible text changes, and changing a class or other markup for presentation can affect extraction. The annotations also do not guarantee that a browser’s appearance stays unchanged: styles and scripts can depend on the same markup.
How would you explain it like I'm…
Hidden Name Tags on Pages
Labels Computers Can Read
Machine-Readable Page Annotations
Structural Signature¶
- Host document: the HTML or other supported document carrying both presentation content and machine-readable annotations.
- Annotation syntax: conventions for identifying the item and its properties or relationships.
- Value source: element text, an attribute, a nested item or another value specified by the syntax.
- Vocabulary and parser: agreed names and rules that let a consumer construct items or relations.
- Consistency boundary: where a visible description and a separately encoded value must be kept aligned.
Geo Microformat¶
The legacy Geo microformat marks a WGS84 latitude and longitude with a geo root and latitude and longitude class names. In a simple form, the values are the text of the marked elements, allowing a compatible parser to extract coordinates from a page. The community specification also documents an abbr form whose title holds a machine value and a value-title form for values not displayed as coordinates. Those alternatives can require synchronization with what a reader sees. The published Geo page calls itself a draft and points readers to the later h-geo format; their class names should not be interchanged without considering the relevant parser.[1]
Microdata and RDFa¶
HTML Microdata uses itemscope, itemtype and itemprop to express items and their properties. Depending on the element, a property value can come from a nested item, text or an attribute such as content, href or datetime; it is not always the visible string. Its consumer must interpret the chosen item vocabulary as well as the HTML rules.[2]
RDFa uses attributes such as property, typeof and vocab to express RDF data. A literal can be taken from inline text or supplied with content; RDFa Core advises using inline text when it accurately represents the value rather than duplicating it unnecessarily. RDFa’s extracted triples and Microdata’s items have different data models even when both annotate a page.[3]
Boundaries¶
Annotating visible values can reduce duplication, but that benefit depends on the actual value rules and publication workflow. Separate embedded data can also be useful: COinS, for example, encodes an OpenURL context object in a span’s attribute. That is an embedded metadata pattern, but it need not annotate each visible citation field in place.[4]
A shared metadata vocabulary defines meanings; the embedding syntax says how a particular document exposes them. Neither a vocabulary nor embedded markup alone guarantees correct extraction, accessible presentation, an open license or agreement between the machine-readable and visible descriptions.
Relationships to Other Abstractions¶
Current abstraction Embedded Structured-Data Markup Domain-specific
Parents (1) — outgoing typed relations
-
Embedded Structured-Data Markup presupposes Representation Prime
Embedded markup requires a convention mapping structured facts to document markup.Every instance encodes selected facts in document markup under a convention that a compatible parser can interpret; such a mapping is a representation component even when values are hidden, stale or inaccurate.
Hierarchy path (1) — routes to 1 parentless root
- Embedded Structured-Data Markup → presupposes Representation → presupposes Abstraction
Neighborhood in Abstraction Space¶
Embedded Structured-Data Markup sits in a sparse region of the domain-specific corpus (95th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.
Family — Unclustered & Miscellaneous (3155 abstractions)
Nearest neighbors
- Document Structure Description — 0.78
- Transclusion — 0.77
- Path Expression — 0.77
- Denotation — 0.75
- Semantic integration — 0.75
Computed from structural-signature embeddings · 2026-11-14
References¶
[1] Tantek Çelik, “Geo”, microformats community draft specification. registry ↩a ↩b
[2] WHATWG, “Microdata”, HTML Standard, living standard. registry ↩a ↩b
[3] World Wide Web Consortium, RDFa Core 1.1, third edition, sections 5 and 8.3. registry ↩a ↩b
[4] Max Planck Digital Library, “Using COinS”, OpenURL metadata in HTML. registry ↩