A research landing page and a downloadable dataset are related resources with different addresses. Use Dataset to describe the data and DataDownload distributions to identify where readers can retrieve each available format. Do not put a report page, a login screen or a chart image into a field intended to link to the data download.
Google’s dataset documentation describes metadata that can support discovery in Dataset Search. Its main property table requires a dataset name and a description; creator and other provenance fields are recommended. When describing downloadable distributions, it requires distribution.contentUrl for the download and recommends its format. Eligibility and actual inclusion remain separate outcomes.
This implementation starts after the research table and dictionary are approved. It does not make an unsupported study rigorous or authorize public distribution of private records.
Choose a qualifying resource before writing markup
The fictional resource below is a small equipment-count teaching dataset. It has an approved public landing page, a CSV file, a JSON file and a readable dictionary. The rows are invented teaching fixtures, not observations from a real company. The publisher controls the fictional example’s reuse terms.
A commentary article discussing someone else’s statistics is not automatically the dataset itself. A PDF containing a chart may describe an analysis without providing its underlying data. Inventory the actual resource, access conditions and distribution permissions before choosing a type.
A dataset can have access limits, but this example deliberately concerns authorized public downloads. Do not remove a real login requirement or disclose participant information to satisfy a metadata fixture. If access must stay restricted, document that situation rather than falsely describing the endpoint as a public file.
| Role | Address or evidence | Owner decision |
|---|---|---|
| Landing page | /data/equipment-count | Explains purpose, version, dictionary and downloads |
| CSV distribution | /data/files/equipment-count-v1.csv | Approved public text/csv file |
| JSON distribution | /data/files/equipment-count-v1.json | Approved public application/json file |
| Reuse terms | Visible approved CC BY 4.0 statement | Illustrative publisher permits these teaching records |
Connect both distributions in one complete example
The JSON-LD below is an illustrative complete resource description, not a real registered dataset. The example.com addresses are placeholders. The license URL is meaningful only if the actual rights owner has approved those terms and the visible page explains them. Never copy a permissive license into a real resource merely because a sample includes it.
{
"@context": "https://schema.org",
"@type": "Dataset",
"@id": "https://example.com/data/equipment-count#dataset",
"name": "Example equipment count teaching dataset, version1",
"description": "Fictional equipment-count observations used to demonstrate a public download metadata contract. The records are teaching fixtures and do not describe real equipment or research participants.",
"url": "https://example.com/data/equipment-count",
"version": "1",
"creator": {
"@type": "Organization",
"name": "Example Data Workshop"
},
"license": "https://creativecommons.org/licenses/by/4.0/",
"distribution": [
{
"@type": "DataDownload",
"contentUrl": "https://example.com/data/files/equipment-count-v1.csv",
"encodingFormat": "text/csv"
},
{
"@type": "DataDownload",
"contentUrl": "https://example.com/data/files/equipment-count-v1.json",
"encodingFormat": "application/json"
}
]
}The Dataset url points to its explanatory landing page. Each contentUrl points to the corresponding downloadable data. The two formats are distributions of the same identified teaching resource, not two separate datasets merely because the file extensions differ.
The description explains the scope and the fictional nature of the data. Google currently specifies a description length between 50 and 5000 characters. Check the final string rather than substituting an empty summary. Keep meaningful provenance fields where supported and verified; do not promote recommended properties into invented required facts.
If multiple real datasets appear on one page, identify each separately and connect its own distributions. A single page-wide name cannot accurately stand in for several unrelated resources. Stable IDs help, but the entity graph register does not remove the need to inspect the actual download relationships.
Use a response and file-meaning matrix
| Check | Passing evidence | Reject or investigate |
|---|---|---|
| Public access | Logged-out request reaches the intended file | Login page, unexpected consent wall or access error |
| Final resource identity | Downloaded content matches the approved equipment-count version | Old release or unrelated export |
| Representation | CSV is parseable as the stated table; JSON as its documented structure | HTML error page returned with status 200 |
| Format declaration | encodingFormat matches the actual distribution | CSV label on a JSON response |
| Visible discoverability | Landing page links to the same approved downloads | Markup-only inaccessible or stale link |
| Rights | Public page and approved license record agree | Template emits an unapproved license |
Inspect redirects rather than treating every redirect as a failure. A stable download address can legitimately redirect to a maintained file location. Record the final destination and verify that its content and access rules preserve the resource contract. A redirect to a login screen is different from one to the approved public object.
Do not rely on a filename suffix or Content-Type header alone. Both can be wrong. Parse a sample, compare its column names or JSON keys with the dictionary and verify the intended version. Where the release process maintains checksums, use that approved record instead of inventing a hash in the markup.
Exercise the failures that metadata can conceal
Create negative fixtures for four specific mistakes: the CSV URL now returns a branded HTML error document; the JSON distribution points to version 2 while the landing page describes version 1; the visible download links differ from the emitted contentUrl values; and the license describes reuse the rights owner has not granted. Each fails a different evidence check even if the JSON-LD parses.
Add a fifth fixture in which a marketing report is mislabeled as the dataset because it quotes a numerical finding. The corrective action may be to identify the real underlying data resource, describe the article appropriately or omit Dataset markup. It is not automatically to publish additional rows.
Version changes need the dataset correction and citation record. That guide decides how old and new released evidence remain interpretable. This download contract should consume the approved version decision, not silently replace it or invent a DOI to make the graph appear complete.
Release a usable public package
Retain the resource register, exact JSON-LD, actual download results, dictionary comparison, rights approval and unresolved access limits. Validate the appropriate representation and use the documented inspection tools to check what Google can retrieve. Then inspect the production landing page and both real downloads.
Save actual retrieval and release dates separately from any editorial display calendar. A distribution URL appearing in source code does not establish that the file was public on a prior date. Likewise, passing a validator is not evidence that Dataset Search has included the resource.
Approve when a reader can identify the dataset, understand its scope and reach the stated permitted distribution without guessing which file is meant. If a later deployment swaps a file, redirects a download or changes reuse terms, rerun the same matrix. The useful outcome is an honest link between metadata and accessible data, not a larger schema graph.
