From 0adad8e84c6d01ad428d517db6a078ecd8c89f61 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Thu, 2 Nov 2023 16:29:52 +0100 Subject: [PATCH 1/3] Change author to creator --- description/description.shacl.ttl | 42 +++++++++++++++---------------- ontologies/schema.rdfs.ttl | 12 +++++++++ 2 files changed, 33 insertions(+), 21 deletions(-) diff --git a/description/description.shacl.ttl b/description/description.shacl.ttl index 12373d3..4261c66 100644 --- a/description/description.shacl.ttl +++ b/description/description.shacl.ttl @@ -129,15 +129,15 @@ ], [ a sh:PropertyShape ; - sh:path schema:author ; + sh:path schema:creator ; sh:class schema:Role ; - sh:name "author"@en ; - sh:name "auteur"@nl ; - sh:name "auteur"@fr ; + sh:name "creator"@en ; + sh:name "maker"@nl ; + sh:name "créateur"@fr ; sh:severity sh:Violation ; - sh:message "schema:author is not of class schema:Role"@en ; - sh:message "schema:author is niet van de klasse schema:Role"@nl ; - sh:message "schema:author n'est pas de la classe schema:Role"@fr ; + sh:message "schema:creator is not of class schema:Role"@en ; + sh:message "schema:creator is niet van de klasse schema:Role"@nl ; + sh:message "schema:creator n'est pas de la classe schema:Role"@fr ; ], [ a sh:PropertyShape ; @@ -610,15 +610,15 @@ ], [ a sh:PropertyShape ; - sh:path schema:author ; + sh:path schema:creator ; sh:class schema:Role ; - sh:name "author"@en ; - sh:name "auteur"@nl ; - sh:name "auteur"@fr ; + sh:name "creator"@en ; + sh:name "maker"@nl ; + sh:name "créateur"@fr ; sh:severity sh:Violation ; - sh:message "schema:author is not of class schema:Role"@en ; - sh:message "schema:author is niet van de klasse schema:Role"@nl ; - sh:message "schema:author n'est pas de la classe schema:Role"@fr ; + sh:message "schema:creator is not of class schema:Role"@en ; + sh:message "schema:creator is niet van de klasse schema:Role"@nl ; + sh:message "schema:creator n'est pas de la classe schema:Role"@fr ; ] . <#CarrierRepresentationNodeShape> a sh:NodeShape ; @@ -741,19 +741,19 @@ sh:property [ a sh:PropertyShape ; - sh:path schema:author ; + sh:path schema:creator ; sh:or ( [sh:class schema:Person ] [sh:class org:Organization ] [sh:class schema:Thing ] ) ; - sh:name "author"@en ; - sh:name "auteur"@nl ; - sh:name "auteur"@fr ; + sh:name "creator"@en ; + sh:name "maker"@nl ; + sh:name "créateur"@fr ; sh:severity sh:Violation ; - sh:message "schema:author is not of class schema:Thing, schema:Person or org:Organization"@en ; - sh:message "schema:author is niet van de klasse schema:Thing, schema:Person of org:Organization"@nl ; - sh:message "schema:author n'est pas de la classe schema:Thing, schema:Person ou org:Organization"@fr ; + sh:message "schema:creator is not of class schema:Thing, schema:Person or org:Organization"@en ; + sh:message "schema:creator is niet van de klasse schema:Thing, schema:Person of org:Organization"@nl ; + sh:message "schema:creator n'est pas de la classe schema:Thing, schema:Person ou org:Organization"@fr ; ], [ a sh:PropertyShape ; diff --git a/ontologies/schema.rdfs.ttl b/ontologies/schema.rdfs.ttl index de0a14e..76dd590 100644 --- a/ontologies/schema.rdfs.ttl +++ b/ontologies/schema.rdfs.ttl @@ -318,6 +318,18 @@ schema:author a rdf:Property ; skos:definition "L'auteur de ce contenu ou de cette évaluation."@fr ; rdfs:isDefinedBy . +schema:creator a rdf:Property ; + rdfs:domain schema:CreativeWork ; + rdfs:range [ owl:unionOf(schema:Person org:Organization schema:Role) ] ; + owl:equivalentProperty dct:creator ; + sh:name "creator"@en ; + sh:name "maker"@nl ; + sh:name "créateur"@fr ; + skos:definition "The creator/author of this CreativeWork."@en ; + skos:definition "De maker/auteur van dit creatief werk."@nl ; + skos:definition "Le créateur / auteur de ce travail créatif."@fr ; + rdfs:isDefinedBy . + schema:birthDate a rdf:Property ; rdfs:domain schema:Person ; rdfs:range xsd:date ; From 34d837bc72df4ded88bcb7ec1e011c239786c811 Mon Sep 17 00:00:00 2001 From: milan <67414316+fastidiousfella@users.noreply.github.com> Date: Thu, 2 Nov 2023 18:21:39 +0100 Subject: [PATCH 2/3] KG-245 Change sh:name to rdfs:label --- ontologies/schema.rdfs.ttl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ontologies/schema.rdfs.ttl b/ontologies/schema.rdfs.ttl index 76dd590..c7cf06e 100644 --- a/ontologies/schema.rdfs.ttl +++ b/ontologies/schema.rdfs.ttl @@ -322,9 +322,9 @@ schema:creator a rdf:Property ; rdfs:domain schema:CreativeWork ; rdfs:range [ owl:unionOf(schema:Person org:Organization schema:Role) ] ; owl:equivalentProperty dct:creator ; - sh:name "creator"@en ; - sh:name "maker"@nl ; - sh:name "créateur"@fr ; + rdfs:label "creator"@en ; + rdfs:label "maker"@nl ; + rdfs:label "créateur"@fr ; skos:definition "The creator/author of this CreativeWork."@en ; skos:definition "De maker/auteur van dit creatief werk."@nl ; skos:definition "Le créateur / auteur de ce travail créatif."@fr ; From 3ade1f3af4b65e65ef566e6f41890024150fa0cf Mon Sep 17 00:00:00 2001 From: milan <67414316+fastidiousfella@users.noreply.github.com> Date: Thu, 2 Nov 2023 18:21:59 +0100 Subject: [PATCH 3/3] KG-245 Remove schema:author --- ontologies/schema.rdfs.ttl | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ontologies/schema.rdfs.ttl b/ontologies/schema.rdfs.ttl index c7cf06e..e74c905 100644 --- a/ontologies/schema.rdfs.ttl +++ b/ontologies/schema.rdfs.ttl @@ -306,18 +306,6 @@ schema:artMedium a rdf:Property ; skos:definition "Le matériau utilisé. (par exemple Huile, Aquarelle, Acrylique, Linoprint, Marbre, Cyanotype, Numérique, Lithographie, Point sec, Intaglio, Pastel, Gravure sur bois, Crayon, Médias mixtes, etc.)"@fr ; rdfs:isDefinedBy . -schema:author a rdf:Property ; - rdfs:domain schema:CreativeWork ; - rdfs:range [ owl:unionOf(schema:Person org:Organization schema:Role) ] ; - owl:equivalentProperty dct:creator ; - rdfs:label "author"@en ; - rdfs:label "auteur"@nl ; - rdfs:label "auteur"@fr ; - skos:definition "The author of this content or rating."@en ; - skos:definition "De auteur van deze inhoud of beoordeling."@nl ; - skos:definition "L'auteur de ce contenu ou de cette évaluation."@fr ; - rdfs:isDefinedBy . - schema:creator a rdf:Property ; rdfs:domain schema:CreativeWork ; rdfs:range [ owl:unionOf(schema:Person org:Organization schema:Role) ] ;