{"slug": "turning-wordpress-into-an-open-knowledge-graph-with-okf", "title": "Turning WordPress Into an Open Knowledge Graph with OKF", "summary": "A developer built Knowledge Layer, a WordPress plugin that synchronizes content into Open Knowledge Format (OKF) documents, creating a portable Markdown-based knowledge graph. The plugin transforms WordPress pages, posts, and custom post types into structured OKF files, making website knowledge accessible to AI systems. This approach bridges the gap between traditional CMS content and AI-friendly structured data.", "body_md": "For years, content management systems have been optimized for people and search engines.\n\nPages, posts, taxonomies, custom post types, categories, tags, and internal links all work well for publishing content on the web.\n\nBut modern AI systems need something different.\n\nThey need structure.\n\nThey need relationships.\n\nThey need knowledge.\n\nThis is where the Open Knowledge Format (OKF) becomes interesting.\n\nMost WordPress websites contain valuable knowledge.\n\nA real estate website may contain:\n\nA SaaS website may contain:\n\nA university website may contain:\n\nThe information exists.\n\nThe relationships exist.\n\nBut the knowledge is trapped inside HTML pages.\n\nFor humans, that is fine.\n\nFor AI systems, it is not ideal.\n\n[Open Knowledge Format](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing) (OKF) is an open specification introduced by Google Cloud as a lightweight way to represent knowledge using Markdown files.\n\nInstead of storing knowledge in a graph database or a proprietary format, OKF uses:\n\nEvery document becomes a concept.\n\nEvery link becomes a relationship.\n\nThe result is a portable and AI-friendly knowledge graph.\n\nWordPress powers a large portion of the web.\n\nYet most WordPress content is still distributed as HTML.\n\nIf we can transform WordPress content into OKF documents, we gain:\n\nTo explore this idea, I built Knowledge Layer:\n\n[https://github.com/wooserv/wp-knowledge-layer](https://github.com/wooserv/wp-knowledge-layer)\n\nKnowledge Layer is a WordPress plugin that synchronizes WordPress content into Open Knowledge Format documents.\n\nThe goal is simple:\n\nTransform WordPress content into a persistent Markdown-based knowledge graph.\n\nThe plugin supports:\n\nInstead of rebuilding everything repeatedly, content is synchronized as it changes.\n\nWhen content is published:\n\nThe resulting files remain readable by both humans and AI systems.\n\nMarkdown provides several advantages:\n\nMost importantly, Markdown does not require specialized infrastructure.\n\nAs AI systems increasingly consume structured knowledge, websites need more than pages and posts.\n\nThey need a way to expose their knowledge in an open and portable format.\n\nOKF provides a promising foundation.\n\nWordPress already contains the knowledge.\n\nThe next step is making that knowledge accessible.\n\nKnowledge Layer is one attempt to bridge that gap.\n\nGoogle Cloud:\n\n[https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing](https://cloud.google.com/blog/products/data-analytics/how-the-open-knowledge-format-can-improve-data-sharing)\n\nOpen Knowledge Format Specification:\n\n[https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md)\n\nCommunity Resources:\n\n[https://suganthan.com/blog/open-knowledge-format/](https://suganthan.com/blog/open-knowledge-format/)", "url": "https://wpnews.pro/news/turning-wordpress-into-an-open-knowledge-graph-with-okf", "canonical_source": "https://dev.to/ihfbib/turning-wordpress-into-an-open-knowledge-graph-with-okf-4j1b", "published_at": "2026-06-16 17:29:28+00:00", "updated_at": "2026-06-16 17:48:02.453624+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["WordPress", "Open Knowledge Format", "Google Cloud", "Knowledge Layer"], "alternates": {"html": "https://wpnews.pro/news/turning-wordpress-into-an-open-knowledge-graph-with-okf", "markdown": "https://wpnews.pro/news/turning-wordpress-into-an-open-knowledge-graph-with-okf.md", "text": "https://wpnews.pro/news/turning-wordpress-into-an-open-knowledge-graph-with-okf.txt", "jsonld": "https://wpnews.pro/news/turning-wordpress-into-an-open-knowledge-graph-with-okf.jsonld"}}