Skip to content

Commit 2fe2191

Browse files
smrgeoinfoclaude
andcommitted
Wrap ddeCatalogRecord example in root dataset for SHACL validation
The SHACL shape targets the root Dataset and follows schema:subjectOf to find dcterms:conformsTo. The example needs a parent dataset wrapper so the path resolves correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 347388f commit 2fe2191

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

_sources/DDEproperties/ddeCatalogRecord/exampleDdeCatalogRecord.json

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
"@context": {
33
"schema": "http://schema.org/",
44
"dde": "https://www.ddeworld.org/resource/",
5-
"cdif": "https://cdif.org/profile/",
65
"dcterms": "http://purl.org/dc/terms/",
76
"dcat": "http://www.w3.org/ns/dcat#"
87
},
9-
"@id": "https://example.org/metadata/geo-dataset-001",
8+
"@id": "https://example.org/dataset/geo-dataset-001",
109
"@type": ["schema:Dataset"],
11-
"schema:additionalType": ["dcat:CatalogRecord"],
12-
"schema:about": {"@id": "https://example.org/dataset/geo-dataset-001"},
10+
"schema:name": "Example DDE Geoscience Dataset",
11+
"schema:identifier": "https://example.org/dataset/geo-dataset-001",
1312
"schema:dateModified": "2026-02-28",
14-
"schema:creator": [
13+
"schema:license": [
1514
{
16-
"@id": "https://orcid.org/0000-0002-7933-2154",
17-
"@type": "schema:Person",
18-
"schema:name": "Richard, Stephen M."
15+
"@type": "schema:CreativeWork",
16+
"schema:name": "Creative Commons Attribution 4.0",
17+
"schema:url": "https://creativecommons.org/licenses/by/4.0/"
1918
}
2019
],
21-
"schema:description": "Metadata record for a DDE geoscience dataset",
22-
"dcterms:conformsTo": [
23-
{"@id": "https://w3id.org/cdif/core/1.0/"},
24-
{"@id": "https://w3id.org/cdif/bbr/metadata/DDEproperties/ddeMandatory"}
25-
]
20+
"schema:url": "https://example.org/dataset/geo-dataset-001",
21+
"schema:subjectOf": {
22+
"@id": "urn:uuid:example-dde-catalog-record",
23+
"@type": ["schema:Dataset"],
24+
"schema:additionalType": ["dcat:CatalogRecord"],
25+
"schema:about": {"@id": "https://example.org/dataset/geo-dataset-001"},
26+
"dcterms:conformsTo": [
27+
{"@id": "https://w3id.org/cdif/core/1.0/"},
28+
{"@id": "https://w3id.org/cdif/bbr/metadata/DDEproperties/ddeMandatory"}
29+
],
30+
"schema:sdDatePublished": "2026-02-28"
31+
}
2632
}

0 commit comments

Comments
 (0)