Skip to content

Commit 6597639

Browse files
updated git action pipeline, toml and config file for changing to LinkML 0.11
1 parent 7f3e7ac commit 6597639

7 files changed

Lines changed: 14396 additions & 7990 deletions

File tree

docs/working-with-data.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ When referencing ontology terms — for example in `rdf_type` — you should use
8585

8686
DCAT-AP+ is designed to be compatible with DCAT-AP 3.0, but there is a current limitation in LinkML that prevents a fully correct mapping.
8787

88-
DCAT-AP is working completly with the RDF **open-world** Assumption in mind, meaning that while the Application Profile check whether the relations, domains, ranges and cardinalities defined by the shapes must be valid, additional relations are allowed. As such, espacially the [Supportive Entities](https://semiceu.github.io/DCAT-AP/releases/3.0.0/#supportive-entities) are open ended classes, where DCAT-AP does not define how e.g. an `Resource` must be defined.
88+
DCAT-AP is working completely with the RDF **open-world** Assumption in mind, meaning that while the Application Profile check whether the relations, domains, ranges and cardinalities defined by the shapes must be valid, additional relations are allowed. As such, especially the [Supportive Entities](https://semiceu.github.io/DCAT-AP/releases/3.0.0/#supportive-entities) are open ended classes, where DCAT-AP does not define how e.g. an `Resource` must be defined.
8989

9090
LinklML on the other hand is mostly a closed world validation tool, which means that relations and entries not defined in the schema are not allowed in the dataset. An exeption is SHACL, where we can and have set the schema to be open, thus complying more closely with the original DCAT-AP.
9191

@@ -99,7 +99,8 @@ This is a known upstream issue in LinkML. Progress is tracked in [issue #85](htt
9999

100100
!!! warning "For experts: prefix resolution during conversion"
101101

102-
When `linkml-convert` encounters a CURIE, it resolves it against the prefix map embedded in the schema (`src/dcat_ap_plus/schema/dcat_ap_plus.yaml`, under `prefixes:`). The prefix map is generated from the [Bioregistry](https://bioregistry.io/) and covers ~2,000 common prefixes.
102+
When `linkml-convert` encounters a CURIE, it resolves it against the prefix map embedded in the schema (`src/dcat_ap_plus/schema/dcat_ap_plus.yaml`, under `prefixes:`). The prefix map is
103+
just contains the prefixes from the main schema, so some CURIEs can be resolved, while most will fail.
103104

104105
If you need to use a CURIE from a prefix that is not in the map, you can pass additional prefix declarations on the command line:
105106

examples/output/AnalysisDataset-001.ttl

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/MolarMass> ;
5757
qudt:unit <https://qudt.org/vocab/unit/GM-PER-MOL> ;
5858
prov:value "204.29"^^xsd:float ],
59-
[ a <http://semanticscience.org/resource/CHEMINF_000113>,
59+
[ a <http://semanticscience.org/resource/CHEMINF_000042>,
6060
prov:Entity ;
61-
dcterms:title "assigned InChi" ;
62-
prov:value "InChI=1S/C11H12N2S/c1-12-7-10-8-14-11(13-10)9-5-3-2-4-6-9/h2-6,8,12H,7H2,1H3" ],
61+
dcterms:title "assigned molecular formula" ;
62+
prov:value "C11H12N2S" ],
6363
[ a <http://semanticscience.org/resource/CHEMINF_000018>,
6464
prov:Entity ;
6565
dcterms:title "assigned SMILES" ;
@@ -73,18 +73,18 @@
7373
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/MolarMass> ;
7474
qudt:unit <https://qudt.org/vocab/unit/GM-PER-MOL> ;
7575
prov:value "204.072119"^^xsd:float ],
76+
[ a <http://semanticscience.org/resource/CHEMINF_000113>,
77+
prov:Entity ;
78+
dcterms:title "assigned InChi" ;
79+
prov:value "InChI=1S/C11H12N2S/c1-12-7-10-8-14-11(13-10)9-5-3-2-4-6-9/h2-6,8,12H,7H2,1H3" ],
7680
[ a <http://semanticscience.org/resource/CHEMINF_000107>,
7781
prov:Entity ;
7882
dcterms:description "PubChem IUPAC name" ;
7983
prov:value "Methyl[(2-phenyl-1,3-thiazol-4-yl)methyl]amine" ],
8084
[ a <http://semanticscience.org/resource/CHEMINF_000107>,
8185
prov:Entity ;
8286
dcterms:description "Chemotion IUPAC name" ;
83-
prov:value "N-methyl-1-(2-phenyl-1,3-thiazol-4-yl)methanamine" ],
84-
[ a <http://semanticscience.org/resource/CHEMINF_000042>,
85-
prov:Entity ;
86-
dcterms:title "assigned molecular formula" ;
87-
prov:value "C11H12N2S" ] ;
87+
prov:value "N-methyl-1-(2-phenyl-1,3-thiazol-4-yl)methanamine" ] ;
8888
adms:identifier [ a adms:Identifier ;
8989
skos:notation "https://pubchem.ncbi.nlm.nih.gov/compound/26248854" ] .
9090

@@ -96,16 +96,16 @@
9696
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/Temperature> ;
9797
qudt:unit <https://qudt.org/vocab/unit/K> ;
9898
prov:value "300.0"^^xsd:float ],
99+
[ a <http://nmrML.org/nmrCV#NMR:1400037>,
100+
prov:Entity ;
101+
dcterms:title "Puls programme" ;
102+
prov:value "zgpg30" ],
99103
[ a <http://nmrML.org/nmrCV#NMR:1400087>,
100104
qudt:Quantity ;
101105
dcterms:title "Number of scans" ;
102106
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/Count> ;
103107
qudt:unit <http://qudt.org/vocab/unit/NUM> ;
104-
prov:value "1024.0"^^xsd:float ],
105-
[ a <http://nmrML.org/nmrCV#NMR:1400037>,
106-
prov:Entity ;
107-
dcterms:title "Puls programme" ;
108-
prov:value "zgpg30" ] ;
108+
prov:value "1024.0"^^xsd:float ] ;
109109
dcterms:title "CDCl3_13C_NMR" ;
110110
prov:used <https://doi.org/10.14272/UGRXAOUDHZOHPF-UHFFFAOYSA-N.2> ;
111111
prov:wasAssociatedWith <https://doi.org/10.14272/UGRXAOUDHZOHPF-UHFFFAOYSA-N/CHMO0000595.1#CDCl3_13C_NMR_AcquisitionNucleus>,
@@ -131,18 +131,18 @@
131131

132132
<https://doi.org/10.14272/UGRXAOUDHZOHPF-UHFFFAOYSA-N/CHMO0000595.1#DMSO_13C_NMR> a <http://purl.obolibrary.org/obo/CHMO_0000595>,
133133
prov:Activity ;
134-
dcterms:relation [ a <http://nmrML.org/nmrCV#NMR:1400262>,
135-
qudt:Quantity ;
136-
dcterms:title "sample temperature setting" ;
137-
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/Temperature> ;
138-
qudt:unit <https://qudt.org/vocab/unit/K> ;
139-
prov:value "300.0"^^xsd:float ],
140-
[ a <http://nmrML.org/nmrCV#NMR:1400087>,
134+
dcterms:relation [ a <http://nmrML.org/nmrCV#NMR:1400087>,
141135
qudt:Quantity ;
142136
dcterms:title "Number of scans" ;
143137
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/Count> ;
144138
qudt:unit <http://qudt.org/vocab/unit/NUM> ;
145139
prov:value "1024.0"^^xsd:float ],
140+
[ a <http://nmrML.org/nmrCV#NMR:1400262>,
141+
qudt:Quantity ;
142+
dcterms:title "sample temperature setting" ;
143+
qudt:hasQuantityKind <http://qudt.org/vocab/quantitykind/Temperature> ;
144+
qudt:unit <https://qudt.org/vocab/unit/K> ;
145+
prov:value "300.0"^^xsd:float ],
146146
[ a <http://nmrML.org/nmrCV#NMR:1400037>,
147147
prov:Entity ;
148148
dcterms:title "Puls programme" ;
@@ -225,4 +225,3 @@ OBI:0000566 a schema1:DefinedTerm ;
225225
dcterms:description "The analysed chemical substance sample CRS-50440." ;
226226
dcterms:hasPart <https://doi.org/10.14272/UGRXAOUDHZOHPF-UHFFFAOYSA-N.2#EvaluatedCompound> ;
227227
dcterms:title "CRS-50440" .
228-

project/jsonld/dcat_ap_plus.jsonld

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"https://gitlab.com/opensourcelab/scientificdata/scidats/-/blob/feature/linkml-schemata/schemata/metadata_model_scidats_dcat_ap.yaml?ref_type=heads"
1313
],
1414
"id": "https://w3id.org/nfdi-de/dcat-ap-plus",
15-
"version": "0.1.0rc4.post34.dev0+20e64d58",
15+
"version": "0.1.0rc4.post36.dev0+b5e290db",
1616
"imports": [
1717
"linkml:types"
1818
],
@@ -7781,12 +7781,12 @@
77817781
],
77827782
"metamodel_version": "1.11.0",
77837783
"source_file": "dcat_ap_plus.yaml",
7784-
"source_file_date": "2026-06-10T16:34:47",
7785-
"source_file_size": 86797,
7786-
"generation_date": "2026-06-10T17:30:30",
7784+
"source_file_date": "2026-06-11T18:32:26",
7785+
"source_file_size": 89369,
7786+
"generation_date": "2026-06-11T18:33:17",
77877787
"@type": "SchemaDefinition",
77887788
"@context": [
7789-
"project/jsonld/dcat_ap_plus.context.jsonld",
7789+
"project\\jsonld/dcat_ap_plus.context.jsonld",
77907790
"https://w3id.org/linkml/types.context.jsonld",
77917791
{
77927792
"@base": "https://w3id.org/nfdi-de/dcat-ap-plus/"

project/jsonschema/dcat_ap_plus.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3913,5 +3913,5 @@
39133913
"metamodel_version": "1.11.0",
39143914
"title": "dcat-ap-plus",
39153915
"type": "object",
3916-
"version": "0.1.0rc4.post34.dev0+20e64d58"
3916+
"version": "0.1.0rc4.post36.dev0+b5e290db"
39173917
}

0 commit comments

Comments
 (0)