Loading AI tools
Format for combining Linked Data and HTML documents From Wikipedia, the free encyclopedia
The CP/LD format defines a flexible, extensible, machine readable format that links HTML5 documents with content to JSON-LD graphs for the data and semantics.[1]
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
|
Abbreviation | CP/LD |
---|---|
Status | Published |
Year started | 2018 |
First published | 2023 |
Organization | ANSI/NISO |
Committee | www |
Editors | Rinke Hoekstra |
Base standards | HTML, JSON-LD, |
Related standards | RDF, IRI, W3C Publication Manifest |
Domain | |
Website | www |
The Linked Document part of the standard outlines the minimal characteristics of documents, whereas the Content Profile part describes how to extend and refine rules for specific use cases.
A example of a minimal document is:
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="schema.dcterms" href="http://purl.org/dc/terms/" />
<base href="https://example.com/minimal" />
<meta name="id" content="https://example.com/minimal" />
<meta name="dcterms.conformsTo" content="https://w3id.org/cpld/" />
<title>Minimal Linked Document</title>
<script type="application/ld+json">
{
"@context": {
"@vocab": "http://schema.org/",
"doc": "https://example.com/minimal#",
"ex": "https://example.com/narrativeStructure/"
},
"@graph": {
"@id": "https://example.com/minimal",
"schema:conformsTo": "https://w3id.org/cpld/",
"@type": "schema:Article",
"schema:hasPart": [
{
"@id": "doc:e1",
"@type": "ex:Introduction"
}
]
}
}
</script>
</head>
<body>
<h1 id="e0">Minimal document</h1>
<p id="e1">Hello World</p>
</body>
</html>
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.