From 52e32859fc1ccf3090d77ab5d7bc452b82c25869 Mon Sep 17 00:00:00 2001 From: Tanya Gray Date: Mon, 13 Apr 2026 16:59:12 +0100 Subject: [PATCH 1/3] add class domain file inc shape with target rdfs:Class --- shapes/class.ttl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shapes/class.ttl diff --git a/shapes/class.ttl b/shapes/class.ttl new file mode 100644 index 0000000..81e2ec7 --- /dev/null +++ b/shapes/class.ttl @@ -0,0 +1,8 @@ +@prefix sh: . +@prefix rdfs: . +@prefix class_shape: . + +class_shape:ClassShape a sh:NodeShape ; + sh:targetClass rdfs:Class ; + sh:codeIdentifier "Class" ; +. \ No newline at end of file From 6293079174813e9f68d73d00e785f94853f5f63f Mon Sep 17 00:00:00 2001 From: Tanya Gray Date: Mon, 13 Apr 2026 17:06:36 +0100 Subject: [PATCH 2/3] add class shape --- shapes/class.ttl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/shapes/class.ttl b/shapes/class.ttl index 81e2ec7..1489df4 100644 --- a/shapes/class.ttl +++ b/shapes/class.ttl @@ -1,8 +1,15 @@ @prefix sh: . @prefix rdfs: . +@prefix xsd: . +@prefix dct: . +@prefix vs: . + @prefix class_shape: . class_shape:ClassShape a sh:NodeShape ; sh:targetClass rdfs:Class ; sh:codeIdentifier "Class" ; -. \ No newline at end of file + dct:created "2024-06-01"^^xsd:date ; + vs:term_status "testing" ; + sh:name "Class Shape" ; + . From b1fb22de2f96bc573798f1a39749ecff7546b6c2 Mon Sep 17 00:00:00 2001 From: Tanya Gray Date: Mon, 13 Apr 2026 17:12:43 +0100 Subject: [PATCH 3/3] revert vcard changes that are in PR 52 --- shapes/vcard.ttl | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/shapes/vcard.ttl b/shapes/vcard.ttl index 8cf9cbd..1f2e7c3 100644 --- a/shapes/vcard.ttl +++ b/shapes/vcard.ttl @@ -4,7 +4,6 @@ @prefix vcard: . @prefix dct: . @prefix vs: . -@prefix prov: . @prefix vcard_shape: . @@ -210,27 +209,4 @@ vcard_shape:AddressShape sh:description "Country Name"; sh:codeIdentifier "countryName"; ] ; -. - -################################################################# -# Individual Shape -################################################################# - -vcard_shape:VCardIndividualShape - a sh:NodeShape ; - sh:targetClass vcard:Individual ; - sh:name "vCard Individual Shape" ; - sh:description "An object representing a single person or entity" ; - dct:created "2026-04-13"^^xsd:date ; - vs:term_status "testing" ; - dct:references ; - prov:wasDerivedFrom ; - sh:description "This shape validates vCard Individual data" ; - sh:codeIdentifier "Individual"; - - sh:and ( - vcard_shape:VCardShape - ) - - . \ No newline at end of file