OKF vs. Schema.org structured data
See how Schema.org describes a page and how OKF packages its content. Compare the formats with JSON-LD and Markdown examples.
You can keep Schema.org markup and use Open Knowledge Format, or OKF, to share a separate copy of your content. A recipe is a good way to see where each fits. Schema can identify the author and the cook time. An OKF bundle can carry the recipe and link it to other recipes or ingredients. My OKF explainer covers the bundle format.
Schema.org and JSON-LD
In SEO, “schema” usually means Schema.org structured data. Schema.org is the vocabulary for describing entities and their relationships. It defines types such as Article, Person, Product, and Organization, and properties such as author and datePublished. JSON-LD is one way to write those descriptions into a page. You can also use Microdata or RDFa. Google recommends JSON-LD.
Schema describes the recipe
A person can scan a recipe page and see who wrote it, that it takes 35 minutes, and that 12 reviewers gave it a 4.8 rating. Structured data lets a crawler read those facts from named fields in the HTML.
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Chicken Curry",
"author": {
"@type": "Person",
"name": "Aditya Raj Singh"
},
"totalTime": "PT35M"
}
This example gives a crawler the recipe’s name, author, and total time. The reader goes to the page for the ingredients and instructions. Google uses structured data to understand pages and determine eligibility for some search features. Valid markup can make a page eligible for a rich result, and Google decides whether to display one.
OKF can carry the recipe
With OKF, you publish a bundle of Markdown files. Each file represents a concept and can link to related files. In spec v0.2, each concept needs a type field. The rest of the YAML front matter is optional. See what goes in a bundle for an example with an index.
---
type: Article
title: How I Migrated From WordPress to Astro
description: What changed when I moved my site to Astro.
resource: https://example.com/blog/astro-migration/
tags: [astro, wordpress, web]
---
# How I Migrated From WordPress to Astro
The full article content goes here.
This article connects to:
[Astro](/concepts/astro.md)
[WordPress](/concepts/wordpress.md)
The YAML describes the article. The Markdown body holds its text and links to other concepts in the bundle. Google describes OKF as a vendor-neutral format that lets you share metadata, context, and curated knowledge without requiring a particular runtime, database, or AI framework.
The formats side by side
| Schema.org structured data | OKF | |
|---|---|---|
| Primary purpose | Describe web content | Represent knowledge |
| Where it lives | Usually inside the HTML page | Markdown files in a bundle |
| Typical format | JSON-LD, Microdata, RDFa | Markdown with YAML front matter |
| Main question | ”What is this?" | "What is this knowledge, and how does it connect?” |
| Contains the full content? | Usually no | The Markdown body can hold it |
| Relationships | Structured properties and linked entities | Markdown links between concepts |
| Main audience | Search engines and structured-data consumers | People, agents, systems, and indexes |
| Tied to a web page | Usually yes | No |
| Search features | Supports eligibility for some Google features | No known role in rich results |
| Portable as a knowledge corpus | Not its purpose | Yes |
| Maturity | Mature, in wide use | v0.2 at publication |
One article in both formats
Say you publish an article about Kubernetes. Someone reading the schema on that page might learn the following.
This is a BlogPosting.
The headline is X.
The author is Aditya.
It was published on Y.
The image is Z.
An agent reading the OKF version can open the article and follow links to concepts such as containers and Kubernetes networking.
---
type: Article
title: Kubernetes Explained
resource: https://example.com/kubernetes/
---
# Kubernetes Explained
[full article content]
See also:
[Kubernetes](/concepts/kubernetes.md)
[Containers](/concepts/containers.md)
[Kubernetes Networking](/concepts/kubernetes-networking.md)
Reading the links as a graph
I care about the links because a text scrape can drop the relationship between a glossary term and the product page that cites it. In an OKF bundle, an agent can follow that link between files. I wrote about what those links preserve in the explainer.
okf/
├── index.md
├── products/
│ ├── cdn.md
│ ├── api-security.md
│ └── bot-management.md
├── concepts/
│ ├── edge-computing.md
│ ├── zero-trust.md
│ └── ai-security.md
└── articles/
├── edge-security.md
└── ai-security-guide.md
If you link products/cdn.md to concepts/edge-computing.md and open the bundle as a graph, you can follow that relationship between the files. You can spot concepts with no incoming links and compare the topics backed by dozens of articles with those that have one. I can use that view to audit a site before any agent reads it.
Sitemaps, schema, and OKF
A product URL can appear in a sitemap, carry Product structured data in its HTML, and have its own OKF concept. The sitemap points to the page. A search system can read the schema to find the product name and price. Someone reading the OKF file can get the same product information in Markdown and follow its links to other concepts. The OKF spec leaves domain-specific schemas in place.
Sitemap
↓
Where are the URLs?
Schema.org
↓
What are these pages and entities?
OKF
↓
What is the underlying knowledge and how does it connect?
The webpage
↓
What does the human actually see?
Schema in Google Search
Google uses structured data to help interpret pages, and it ties some search features to markup for articles, products, organizations, breadcrumbs, recipes, events, and videos. Write markup that matches what someone can see on the page. Google warns against irrelevant or misleading structured data.
Eligible markup gives Google information it can use in a rich result. That’s different from improving your ranking. For more on the distinction between visibility in search results and in AI answers, see being cited versus being ranked.
Provenance and freshness in OKF
An agent answering a question about Kubernetes may need the source for a networking claim or the date someone checked it. OKF v0.2 added fields for provenance, verification, freshness, lifecycle, and attestation. Bundle authors can use those fields to record where a concept came from, how they checked it, and whether they still maintain it. That context gives a reader more to go on if another system produced the content.
Where I’d use each
I use Schema.org on pages that map to a supported type. For a content site, that might mean Article or BlogPosting, with Organization, Person, and BreadcrumbList where they describe the page. Use Product, Event, or Recipe on pages with the corresponding content.
I’d try OKF on a site where the links between documents matter. Documentation, product information, and glossaries are good candidates, as are research libraries, runbooks, and collections of data definitions. A five-page brochure site gives you little to connect. With 5,000 interlinked documents, the bundle gives you a way to inspect their relationships as well as a copy an agent can read.
The spec moved from v0.1 to v0.2 and was still changing when I wrote this. I wouldn’t build a search strategy around it. The OKF Bundle Generator can build a bundle from your sitemap if you want to inspect a copy of your site first.
Your Content
┌──────────┴──────────┐
↓ ↓
Structured metadata Knowledge
↓ ↓
Schema OKF
↓ ↓
Search systems Agents / AI systems
FAQ
Is OKF the same as Schema.org? Schema.org defines terms for describing entities and content. OKF packages content in Markdown files with YAML front matter and links between concepts. The OKF explainer covers the bundle format in more detail.
Does OKF replace schema markup? Keep schema for the systems that use it to interpret the page. Add an OKF bundle if you want to share the content as linked files.
Is JSON-LD the same thing as schema? JSON-LD is one way to write Schema.org structured data. Microdata and RDFa can express the same vocabulary.
Does OKF improve Google rankings? I haven’t seen evidence that publishing a bundle affects rankings. Google documents Schema.org markup for page interpretation and eligibility for search features.
Should a website have both? Mark up the entities you show on your pages. A bundle is useful if the same content has value as a portable collection of linked concepts.