From 8f7bf4f733eccd91d45f769b24e837056fdc32cf Mon Sep 17 00:00:00 2001 From: ljgarcia Date: Thu, 14 May 2026 17:21:01 +0200 Subject: [PATCH 1/4] Propose new type CreativeWork --- .../examples/0.1-DRAFT/minimalExample.jsonld | 35 ++++++ .../type/CreativeWork_v0.1-DRAFT.jsonld | 112 ++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld create mode 100644 CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld diff --git a/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld b/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld new file mode 100644 index 0000000..46c3e34 --- /dev/null +++ b/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld @@ -0,0 +1,35 @@ +{ + "@context": { + "schema": "http://schema.org/", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "owl": "http://www.w3.org/2002/07/owl/", + "bioschemas": "https://discovery.biothings.io/ns/bioschemas/", + "bioschemasdrafts": "https://discovery.biothings.io/ns/bioschemasdrafts/", + "bioschemastypes": "https://discovery.biothings.io/ns/bioschemastypes/", + "bioschemastypesdrafts": "https://discovery.biothings.io/ns/bioschemastypesdrafts/", + "dct": "http://purl.org/dc/terms/", + "@dateModified": "03/19/2026, 12:46:20", + "dwc": "http://rs.tdwg.org/dwc/terms/" + }, + "@type": ["bioschemastypesdrafts:CreativeWork", "CreativeWork"], + "@id": "https://pid_example.org/org1/myCW_v1.1", + "description": "Creative work about how to use Python", + "keywords": "Python", + "name": "Introduction to Python", + "bioschemastypesdrafts:applicationDomain": "cross-domain", + "bioschemastypesdrafts:contactPoint": { + "@type": "ContactPoint", + "contactType": "web form", + "url": "https://pid_example.org/org1/myContactWeForm" + }, + "bioschemastypesdrafts:sourceRepository": "https://pid_example.org/org1/myCW_v1.1_rerpo", + "bioschemastypesdrafts:nextItem": { + "@type": ["bioschemastypesdrafts:CreativeWork", "CreativeWork"], + "@id": "https://pid_example.org/org1/myCW_v1.2" + }, + "bioschemastypesdrafts:previousItem": { + "@type": ["bioschemastypesdrafts:CreativeWork", "CreativeWork"], + "@id": "https://pid_example.org/org1/myCW_v1.0" + } +} \ No newline at end of file diff --git a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld new file mode 100644 index 0000000..7e1eaf9 --- /dev/null +++ b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld @@ -0,0 +1,112 @@ +{ + "@context": { + "schema": "http://schema.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "bioschemastypes": "https://discovery.biothings.io/ns/bioschemastypes/", + "bioschemastypesdrafts": "https://discovery.biothings.io/ns/bioschemastypesdrafts/", + "bioschemas": "https://discovery.biothings.io/ns/bioschemas/" + }, + "@graph": [ + { + "@id": "bioschemastypesdrafts:CreativeWork", + "@type": "rdfs:Class", + "rdfs:comment": "Extension of a CreativeWork with additional properties relevant to research artifacts. \n\nAs metadata for research artifacts becomes more and more important as a mean to increase transparency and trust, there is a need to include additional properties to schema:CreativeWork reflecting, for instance, intended use, limitations, links across versions. Rather than adding the same set of properties to various Bioschemas types or profiles, we are here compiling them together at the CreativeWork level.\n\nAcknowledgement note: Some of the properties added to this bioschemas:CreativeWork type come from hackathons sponsored by NFDI4DS (DFG grant number 460234259), ConnOSS (DFG grant number 561044496), DiscoRSE (Klaus Tschira Foundation, scientific software grant), German BioHackathon 2026 (organized by deNBI).", + "rdfs:label": "CreativeWork", + "rdfs:subClassOf": { + "@id": "schema:CreativeWork" + }, + "schemaVersion": [ + "https://schema.org/docs/releases.html#v29.3" + ] + }, + { + "@id": "bioschemastypesdrafts:applicationDomain", + "@type": "rdf:Property", + "rdfs:comment": "The discipline, area, or research domain to which this item aligns or belongs to.", + "rdfs:label": "applicationDomain", + "owl:equivalentProperty": { + "@id": "http://purl.org/spar/fabio#hasDiscipline" + }, + "schema:domainIncludes": { + "@id": "bioschemastypesdrafts:CreativeWork" + }, + "schema:rangeIncludes": [ + { + "@id": "schema:Text" + }, + { + "@id": "schema:DefinedTerm" + }, + { + "@id": "schema:URL" + } + ] + }, + { + "@id": "bioschemastypesdrafts:contactPoint", + "@type": "rdf:Property", + "rdfs:comment": "A contact point for a person, organization or CreativeWork", + "rdfs:label": "contactPoint", + "schema:domainIncludes": { + "@id": "bioschemastypesdrafts:CreativeWork" + }, + "schema:rangeIncludes": [ + { + "@id": "schema:ContactPoint" + }, + { + "@id": "schema:Person" + } + ] + }, + { + "@id": "bioschemastypesdrafts:sourceRepository", + "@type": "rdf:Property", + "rdfs:comment": "Link to the repository used to host this item while in development. Similar to codeRepository but for all sort of creative works.", + "rdfs:label": "sourceRepository", + "schema:domainIncludes": { + "@id": "bioschemastypesdrafts:CreativeWork" + } + }, + { + "@id": "bioschemastypesdrafts:nextItem", + "@type": "rdf:Property", + "rdfs:comment": "A link to the CreativeWork that immediately follows the current one. Inverse property of previousItem.", + "rdfs:label": "nextItem", + "schema:domainIncludes": { + "@id": "bioschemastypesdrafts:CreativeWork" + }, + "schema:inverseOf": { + "@id": "bioschemastypesdrafts:previousItem" + }, + "schema:rangeIncludes": [ + { + "@id": "schema:CreativeWork" + }, + { + "@id": "schema:ListItem" + } + ] + }, + { + "@id": "bioschemastypesdrafts:previousItem", + "@type": "rdf:Property", + "rdfs:comment": "A link to the CreativeWork that precedes the current one. As it is easier to include the previous item rather than the next one, metadata repositories/registries should ideally add the nextItem automatically. Inverse property of nextItem. ", + "rdfs:label": "previousItem", + "schema:domainIncludes": { + "@id": "bioschemastypesdrafts:CreativeWork" + }, + "schema:inverseOf": { + "@id": "bioschemastypesdrafts:nextItem" + }, + "schema:rangeIncludes": [ + { + "@id": "schema:CreativeWork" + }, + { + "@id": "schema:ListItem" + } + ] + } + ] +} \ No newline at end of file From 97c47429851c21bb02bbe300ec11bb9b20b45fd4 Mon Sep 17 00:00:00 2001 From: ljgarcia Date: Thu, 14 May 2026 22:38:12 +0200 Subject: [PATCH 2/4] Update next and previous version - It avoids possible collisions when the CreativeWork it used as the item of a ListItem (using nextItem and previousItem as in ListItem would create confusion) - It removes CreativeWork typing from examples as already there by inheritance --- .../examples/0.1-DRAFT/minimalExample.jsonld | 10 +++++----- .../jsonld/type/CreativeWork_v0.1-DRAFT.jsonld | 14 ++++---------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld b/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld index 46c3e34..ece9a50 100644 --- a/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld +++ b/CreativeWork/examples/0.1-DRAFT/minimalExample.jsonld @@ -12,7 +12,7 @@ "@dateModified": "03/19/2026, 12:46:20", "dwc": "http://rs.tdwg.org/dwc/terms/" }, - "@type": ["bioschemastypesdrafts:CreativeWork", "CreativeWork"], + "@type": "bioschemastypesdrafts:CreativeWork", "@id": "https://pid_example.org/org1/myCW_v1.1", "description": "Creative work about how to use Python", "keywords": "Python", @@ -24,12 +24,12 @@ "url": "https://pid_example.org/org1/myContactWeForm" }, "bioschemastypesdrafts:sourceRepository": "https://pid_example.org/org1/myCW_v1.1_rerpo", - "bioschemastypesdrafts:nextItem": { - "@type": ["bioschemastypesdrafts:CreativeWork", "CreativeWork"], + "bioschemastypesdrafts:nextVersion": { + "@type": "bioschemastypesdrafts:CreativeWork", "@id": "https://pid_example.org/org1/myCW_v1.2" }, - "bioschemastypesdrafts:previousItem": { - "@type": ["bioschemastypesdrafts:CreativeWork", "CreativeWork"], + "bioschemastypesdrafts:previousVersion": { + "@type": "bioschemastypesdrafts:CreativeWork", "@id": "https://pid_example.org/org1/myCW_v1.0" } } \ No newline at end of file diff --git a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld index 7e1eaf9..74f4e27 100644 --- a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld +++ b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld @@ -69,9 +69,9 @@ } }, { - "@id": "bioschemastypesdrafts:nextItem", + "@id": "bioschemastypesdrafts:nextVersion", "@type": "rdf:Property", - "rdfs:comment": "A link to the CreativeWork that immediately follows the current one. Inverse property of previousItem.", + "rdfs:comment": "A link to the CreativeWork version that immediately follows the current one. Inverse property of previousItem.", "rdfs:label": "nextItem", "schema:domainIncludes": { "@id": "bioschemastypesdrafts:CreativeWork" @@ -82,16 +82,13 @@ "schema:rangeIncludes": [ { "@id": "schema:CreativeWork" - }, - { - "@id": "schema:ListItem" } ] }, { - "@id": "bioschemastypesdrafts:previousItem", + "@id": "bioschemastypesdrafts:previousVersion", "@type": "rdf:Property", - "rdfs:comment": "A link to the CreativeWork that precedes the current one. As it is easier to include the previous item rather than the next one, metadata repositories/registries should ideally add the nextItem automatically. Inverse property of nextItem. ", + "rdfs:comment": "A link to the CreativeWork version that precedes the current one. As it is easier to include the previous item rather than the next one, metadata repositories/registries should ideally add the nextItem automatically. Inverse property of nextItem. ", "rdfs:label": "previousItem", "schema:domainIncludes": { "@id": "bioschemastypesdrafts:CreativeWork" @@ -102,9 +99,6 @@ "schema:rangeIncludes": [ { "@id": "schema:CreativeWork" - }, - { - "@id": "schema:ListItem" } ] } From 57888681d8ced5fee53a88a0d861dabc515ab5a6 Mon Sep 17 00:00:00 2001 From: ljgarcia Date: Thu, 14 May 2026 22:43:26 +0200 Subject: [PATCH 3/4] Replace item by version everywhere in relation to next and previous versions --- .../jsonld/type/CreativeWork_v0.1-DRAFT.jsonld | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld index 74f4e27..daa71fa 100644 --- a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld +++ b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld @@ -45,7 +45,7 @@ { "@id": "bioschemastypesdrafts:contactPoint", "@type": "rdf:Property", - "rdfs:comment": "A contact point for a person, organization or CreativeWork", + "rdfs:comment": "A contact point for a person, organization or CreativeWork.", "rdfs:label": "contactPoint", "schema:domainIncludes": { "@id": "bioschemastypesdrafts:CreativeWork" @@ -71,13 +71,13 @@ { "@id": "bioschemastypesdrafts:nextVersion", "@type": "rdf:Property", - "rdfs:comment": "A link to the CreativeWork version that immediately follows the current one. Inverse property of previousItem.", - "rdfs:label": "nextItem", + "rdfs:comment": "A link to the CreativeWork version that immediately follows the current one. Inverse property of previousVersion.", + "rdfs:label": "nextVersion", "schema:domainIncludes": { "@id": "bioschemastypesdrafts:CreativeWork" }, "schema:inverseOf": { - "@id": "bioschemastypesdrafts:previousItem" + "@id": "bioschemastypesdrafts:previousVersion" }, "schema:rangeIncludes": [ { @@ -88,13 +88,13 @@ { "@id": "bioschemastypesdrafts:previousVersion", "@type": "rdf:Property", - "rdfs:comment": "A link to the CreativeWork version that precedes the current one. As it is easier to include the previous item rather than the next one, metadata repositories/registries should ideally add the nextItem automatically. Inverse property of nextItem. ", - "rdfs:label": "previousItem", + "rdfs:comment": "A link to the CreativeWork version that precedes the current one. As it is easier to include the previous version rather than the next one, metadata repositories/registries should ideally add the nextVersion automatically. Inverse property of nextVersion. ", + "rdfs:label": "previousVersion", "schema:domainIncludes": { "@id": "bioschemastypesdrafts:CreativeWork" }, "schema:inverseOf": { - "@id": "bioschemastypesdrafts:nextItem" + "@id": "bioschemastypesdrafts:nextVersion" }, "schema:rangeIncludes": [ { From 341dca49ba3e2dc5d9ae3ccf211e6ba901ba7f25 Mon Sep 17 00:00:00 2001 From: ljgarcia Date: Fri, 15 May 2026 19:53:29 +0200 Subject: [PATCH 4/4] Add range to sourceRepository --- CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld index daa71fa..b0bf531 100644 --- a/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld +++ b/CreativeWork/jsonld/type/CreativeWork_v0.1-DRAFT.jsonld @@ -66,7 +66,12 @@ "rdfs:label": "sourceRepository", "schema:domainIncludes": { "@id": "bioschemastypesdrafts:CreativeWork" - } + }, + "schema:rangeIncludes": [ + { + "@id": "schema:URL" + } + ] }, { "@id": "bioschemastypesdrafts:nextVersion",