Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion project/jsonld/dcat_ap_plus.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2025-11-23T13:49:17",
"generation_date": "2025-11-24T16:42:40",
"source": "dcat_ap_plus.yaml"
},
"@context": {
Expand Down
8 changes: 4 additions & 4 deletions project/jsonld/dcat_ap_plus.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"https://gitlab.com/opensourcelab/scientificdata/scidats/-/blob/feature/linkml-schemata/schemata/metadata_model_scidats_dcat_ap.yaml?ref_type=heads"
],
"id": "https://w3id.org/nfdi-de/dcat-ap-plus/",
"version": "0.1.0rc1.post13.dev0+5c0f19e",
"version": "0.1.0rc1.post21.dev0+3faed58",
"imports": [
"linkml:types"
],
Expand Down Expand Up @@ -7795,9 +7795,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "dcat_ap_plus.yaml",
"source_file_date": "2025-11-23T12:02:52",
"source_file_size": 88109,
"generation_date": "2025-11-23T13:49:17",
"source_file_date": "2025-11-24T16:42:12",
"source_file_size": 90872,
"generation_date": "2025-11-24T16:42:41",
"@type": "SchemaDefinition",
"@context": [
"project\\jsonld/dcat_ap_plus.context.jsonld",
Expand Down
2 changes: 1 addition & 1 deletion project/jsonschema/dcat_ap_plus.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3886,5 +3886,5 @@
"metamodel_version": "1.7.0",
"title": "dcat-ap-plus",
"type": "object",
"version": "0.1.0rc1.post13.dev0+5c0f19e"
"version": "0.1.0rc1.post21.dev0+3faed58"
}
2,162 changes: 1,081 additions & 1,081 deletions project/shacl/dcat_ap_plus.shacl.ttl

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/dcat_ap_plus/datamodel/dcat_ap_plus.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from dcat_ap_plus.yaml by pythongen.py version: 0.0.1
# Generation date: 2025-11-23T13:49:54
# Generation date: 2025-11-24T16:42:41
# Schema: dcat-ap-plus
#
# id: https://w3id.org/nfdi-de/dcat-ap-plus/
Expand Down Expand Up @@ -60,7 +60,7 @@
from linkml_runtime.utils.metamodelcore import Decimal, URIorCURIE, XSDDate

metamodel_version = "1.7.0"
version = "0.1.0rc1.post13.dev0+5c0f19e"
version = "0.1.0rc1.post21.dev0+3faed58"

# Namespaces
AFE = CurieNamespace('AFE', 'http://purl.allotrope.org/ontologies/equipment#AFE_')
Expand Down
2 changes: 1 addition & 1 deletion src/dcat_ap_plus/datamodel/dcat_ap_plus_pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


metamodel_version = "None"
version = "0.1.0rc1.post13.dev0+5c0f19e"
version = "0.1.0rc1.post21.dev0+3faed58"


class ConfiguredBaseModel(BaseModel):
Expand Down
12 changes: 6 additions & 6 deletions src/dcat_ap_plus/dcat_ap_shacl_2_linkml.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def load_dcat_ap_shacl_shapes(jsonld_file='dcat_ap_shacl.jsonld'):
- A Python object containing the loaded SHACL shapes
TODO: Use Requests to download directly from the script, maybe with cache option.
"""
filepath = os.path.join('src', jsonld_file)
filepath = os.path.join('src', 'dcat_ap_plus', jsonld_file)
with open(filepath, 'r') as file:
print(f'INFO: Loaded the DCAT-AP SHACL shapes from {filepath}.')
return json.load(file)
Expand Down Expand Up @@ -384,12 +384,12 @@ def build_dcatap_linkml():
"""
print('\n --- Building the DCAT-AP LinkML representation ---')

builder = SchemaBuilder(name="dcat-ap")
builder.schema.id = 'https://nfdi-de.github.io/dcat-ap-plus/dcat_ap_linkml.yaml'
builder = SchemaBuilder(name="dcat-ap-linkml")
builder.schema.id = 'https://w3id.org/nfdi-de/dcat-ap-plus/dcat_ap_linkml.yaml'
builder.schema.description = DESCRIPTION1 + '\nNOTE:' + NOTE
builder.schema.default_prefix = 'dcatap_linkml'
builder.schema.prefixes = PREFIX_MAP
builder.schema.prefixes['dcatap_linkml']='https://nfdi-de.github.io/dcat-ap-plus/dcat_ap_linkml.yaml#'
builder.schema.prefixes['dcatap_linkml']='https://w3id.org/nfdi-de/dcat-ap-plus/dcat_ap_linkml.yaml#'
builder.schema.title = 'LinkML schema representation of DCAT-AP 3.0.0'
builder.schema.license = 'CC-BY 4.0'
builder.schema.default_range = 'string'
Expand Down Expand Up @@ -962,11 +962,11 @@ def add_analysis_context():
# Initialize the extended DCAT-AP LinkML schema

builder = SchemaBuilder(name="dcat-ap-plus")
builder.schema.id = 'https://nfdi-de.github.io/dcat-ap-plus/dcat_ap_plus.yaml'
builder.schema.id = 'https://w3id.org/nfdi-de/dcat-ap-plus'
builder.schema.description = DESCRIPTION2
builder.schema.default_prefix = 'dcatap_plus'
builder.schema.prefixes = PREFIX_MAP
builder.schema.prefixes['dcatap_plus']='https://nfdi-de.github.io/dcat-ap-plus/dcat_ap_plus.yaml#'
builder.schema.prefixes['dcatap_plus']='https://w3id.org/nfdi-de/dcat-ap-plus/'
builder.schema.prefixes['BFO']='http://purl.obolibrary.org/obo/BFO_'
builder.schema.prefixes['OBI']='http://purl.obolibrary.org/obo/OBI_'
builder.schema.prefixes['IAO'] = 'http://purl.obolibrary.org/obo/IAO_'
Expand Down
4 changes: 2 additions & 2 deletions src/dcat_ap_plus/schema/dcat_ap_linkml.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: https://nfdi-de.github.io/dcat-ap-plus/dcat_ap_linkml.yaml
name: https://w3id.org/nfdi-de/dcat_ap_linkml
description: 'This LinkML schema representation of DCAT-AP 3.0.0 was automatically
created from these [JSON-LD SHACL shapes](https://github.com/SEMICeu/DCAT-AP/blob/master/releases/3.0.0/shacl/dcat-ap-SHACL.jsonld)
using this Python script: https://github.com/StroemPhi/dcat-4C-ap/tree/main/src/dcat-ap_shacl_2_linkml.py.
Expand Down Expand Up @@ -56,7 +56,7 @@ prefixes:
iana: https://www.iana.org/assignments/
epos: https://www.epos-eu.org/epos-dcat-ap#
schema: https://schema.org/
dcatap_linkml: https://nfdi-de.github.io/dcat-ap-plus/dcat_ap_linkml.yaml
dcatap_linkml: https://w3id.org/nfdi-de/dcat_ap_linkml/
default_prefix: dcatap_linkml
default_range: string
types:
Expand Down
2 changes: 1 addition & 1 deletion src/dcat_ap_plus/schema/dcat_ap_plus.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: https://w3id.org/nfdi-de/dcat-ap-plus/
version: "0.1.0rc1.post13.dev0+5c0f19e" # Managed by dynamic-versioning. Don't change this line!
version: "0.1.0rc1.post21.dev0+3faed58" # Managed by dynamic-versioning. Don't change this line!
name: dcat-ap-plus
description: >-
This metadata schema is an Extension of the DCAT Application Profile
Expand Down