Skip to content

Commit

Permalink
Update to latest metamodel
Browse files Browse the repository at this point in the history
  • Loading branch information
pkalita-lbl committed Dec 12, 2022
1 parent a45e5cf commit 04c298c
Show file tree
Hide file tree
Showing 36 changed files with 23,615 additions and 1,792 deletions.
402 changes: 402 additions & 0 deletions linkml_runtime/linkml_model/datasets.py

Large diffs are not rendered by default.

Binary file added linkml_runtime/linkml_model/excel/meta.xlsx
Binary file not shown.
1,171 changes: 1,171 additions & 0 deletions linkml_runtime/linkml_model/json/datasets.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions linkml_runtime/linkml_model/json/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6861,9 +6861,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "meta.yaml",
"source_file_date": "2022-07-13T17:52:28",
"source_file_date": "2022-07-14T00:55:10",
"source_file_size": 71464,
"generation_date": "2022-07-13T17:56:42",
"generation_date": "2022-07-14T00:56:03",
"@type": "SchemaDefinition",
"@context": [
"https://w3id.org/linkml/types.context.jsonld",
Expand Down
138 changes: 138 additions & 0 deletions linkml_runtime/linkml_model/jsonld/datasets.context.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"_comments": "Auto generated from datasets.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2022-07-14T00:56:17\n Schema: datasets\n metamodel version: 1.7.0\n model version: None\n \n id: https://w3id.org/linkml/datasets\n description: A datamodel for datasets\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ",
"@context": {
"bibo": "http://example.org/UNKNOWN/bibo/",
"csvw": "http://www.w3.org/ns/csvw#",
"datasets": {
"@id": "https://w3id.org/linkml/report",
"@prefix": true
},
"dcat": "http://www.w3.org/ns/dcat#",
"dcterms": "http://purl.org/dc/terms/",
"formats": "http://www.w3.org/ns/formats/",
"frictionless": "https://specs.frictionlessdata.io/",
"linkml": "https://w3id.org/linkml/",
"mediatypes": "https://www.iana.org/assignments/media-types/",
"oslc": "http://example.org/UNKNOWN/oslc/",
"owl": "http://www.w3.org/2002/07/owl#",
"pav": "http://purl.org/pav/",
"prov": "http://www.w3.org/ns/prov#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "http://schema.org/",
"sh": "https://w3id.org/shacl/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"void": "http://rdfs.org/ns/void#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"@vocab": "https://w3id.org/linkml/report",
"bytes": {
"@type": "xsd:integer",
"@id": "dcat:byteSize"
},
"conforms_to": {
"@type": "@id",
"@id": "dcterms:conformsTo"
},
"conforms_to_class": {
"@type": "@id"
},
"conforms_to_schema": {
"@type": "@id"
},
"created_by": {
"@type": "@id",
"@id": "pav:createdBy"
},
"created_on": {
"@type": "xsd:dateTime",
"@id": "pav:createdOn"
},
"description": {
"@id": "dcterms:description"
},
"dialect": {
"@id": "csvw:dialect"
},
"download_url": {
"@type": "@id",
"@id": "dcat:downloadURL"
},
"format": {
"@context": {
"@vocab": "@null",
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "dcterms:format"
},
"id": "@id",
"issued": {
"@type": "xsd:dateTime",
"@id": "dcterms:issued"
},
"keywords": {
"@id": "dcat:keyword"
},
"last_updated_on": {
"@type": "xsd:dateTime",
"@id": "pav:lastUpdatedOn"
},
"license": {
"@id": "dcterms:license"
},
"media_type": {
"@id": "dcat:mediaType"
},
"modified_by": {
"@type": "@id",
"@id": "oslc:modifiedBy"
},
"page": {
"@id": "dcat:landingPage"
},
"profile": {
"@type": "@id"
},
"publisher": {
"@type": "@id",
"@id": "dcterms:publisher"
},
"resources": {
"@type": "@id",
"@id": "dcat:distribution"
},
"status": {
"@type": "@id",
"@id": "bibo:status"
},
"test_roles": {
"@context": {
"@vocab": "@null",
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
}
},
"themes": {
"@type": "@id",
"@id": "dcat:theme"
},
"title": {
"@id": "dcterms:title"
},
"version": {
"@id": "pav:version"
},
"was_derived_from": {
"@id": "prov:wasDerivedFrom"
},
"DataPackage": {
"@id": "void:Dataset"
},
"DataResource": {
"@id": "dcat:Distribution"
}
}
}

138 changes: 138 additions & 0 deletions linkml_runtime/linkml_model/jsonld/datasets.model.context.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"_comments": "Auto generated from datasets.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2022-07-14T00:56:28\n Schema: datasets\n metamodel version: 1.7.0\n model version: None\n \n id: https://w3id.org/linkml/datasets\n description: A datamodel for datasets\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ",
"@context": {
"bibo": "http://example.org/UNKNOWN/bibo/",
"csvw": "http://www.w3.org/ns/csvw#",
"datasets": {
"@id": "https://w3id.org/linkml/report",
"@prefix": true
},
"dcat": "http://www.w3.org/ns/dcat#",
"dcterms": "http://purl.org/dc/terms/",
"formats": "http://www.w3.org/ns/formats/",
"frictionless": "https://specs.frictionlessdata.io/",
"linkml": "https://w3id.org/linkml/",
"mediatypes": "https://www.iana.org/assignments/media-types/",
"oslc": "http://example.org/UNKNOWN/oslc/",
"owl": "http://www.w3.org/2002/07/owl#",
"pav": "http://purl.org/pav/",
"prov": "http://www.w3.org/ns/prov#",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"schema": "http://schema.org/",
"sh": "https://w3id.org/shacl/",
"skos": "http://www.w3.org/2004/02/skos/core#",
"void": "http://rdfs.org/ns/void#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"@vocab": "https://w3id.org/linkml/report",
"bytes": {
"@type": "xsd:integer",
"@id": "dcat:byteSize"
},
"conforms_to": {
"@type": "@id",
"@id": "dcterms:conformsTo"
},
"conforms_to_class": {
"@type": "@id"
},
"conforms_to_schema": {
"@type": "@id"
},
"created_by": {
"@type": "@id",
"@id": "pav:createdBy"
},
"created_on": {
"@type": "xsd:dateTime",
"@id": "pav:createdOn"
},
"description": {
"@id": "dcterms:description"
},
"dialect": {
"@id": "csvw:dialect"
},
"download_url": {
"@type": "@id",
"@id": "dcat:downloadURL"
},
"format": {
"@context": {
"@vocab": "@null",
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "dcterms:format"
},
"id": "@id",
"issued": {
"@type": "xsd:dateTime",
"@id": "dcterms:issued"
},
"keywords": {
"@id": "dcat:keyword"
},
"last_updated_on": {
"@type": "xsd:dateTime",
"@id": "pav:lastUpdatedOn"
},
"license": {
"@id": "dcterms:license"
},
"media_type": {
"@id": "dcat:mediaType"
},
"modified_by": {
"@type": "@id",
"@id": "oslc:modifiedBy"
},
"page": {
"@id": "dcat:landingPage"
},
"profile": {
"@type": "@id"
},
"publisher": {
"@type": "@id",
"@id": "dcterms:publisher"
},
"resources": {
"@type": "@id",
"@id": "dcat:distribution"
},
"status": {
"@type": "@id",
"@id": "bibo:status"
},
"test_roles": {
"@context": {
"@vocab": "@null",
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
}
},
"themes": {
"@type": "@id",
"@id": "dcat:theme"
},
"title": {
"@id": "dcterms:title"
},
"version": {
"@id": "pav:version"
},
"was_derived_from": {
"@id": "prov:wasDerivedFrom"
},
"DataPackage": {
"@id": "void:Dataset"
},
"DataResource": {
"@id": "dcat:Distribution"
}
}
}

2 changes: 1 addition & 1 deletion linkml_runtime/linkml_model/jsonld/meta.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2022-12-09T13:58:21\n Schema: meta\n metamodel version: 1.7.0\n model version: 2.0.0\n \n id: https://w3id.org/linkml/meta\n description: The metamodel for schemas defined using the Linked Data Modeling Language framework.\n\nFor more information on LinkML:\n\n* [linkml.io](https://linkml.io) main website\n* [specification](https://linkml.io/linkml-model/docs/specification/)\n\nLinkML is self-describing. Every LinkML schema consists of elements\nthat instantiate classes in this metamodel.\n\nCore metaclasses:\n\n* [SchemaDefinition](https://w3id.org/linkml/SchemaDefinition)\n* [ClassDefinition](https://w3id.org/linkml/ClassDefinition)\n* [SlotDefinition](https://w3id.org/linkml/SlotDefinition)\n* [TypeDefinition](https://w3id.org/linkml/TypeDefinition)\n\nThere are many subsets of *profiles* of the metamodel, for different purposes:\n\n* [MinimalSubset](https://w3id.org/linkml/MinimalSubset)\n* [BasicSubset](https://w3id.org/linkml/BasicSubset)\n* [BasicSubset](https://w3id.org/linkml/BasicSubset)\n\nFor canonical reference documentation on any metamodel construct,\nrefer to the official URI for each construct, e.g.\n[https://w3id.org/linkml/is_a](https://w3id.org/linkml/is_a)\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ",
"_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2022-12-09T14:56:37\n Schema: meta\n metamodel version: 1.7.0\n model version: 2.0.0\n \n id: https://w3id.org/linkml/meta\n description: The metamodel for schemas defined using the Linked Data Modeling Language framework.\n\nFor more information on LinkML:\n\n* [linkml.io](https://linkml.io) main website\n* [specification](https://linkml.io/linkml-model/docs/specification/)\n\nLinkML is self-describing. Every LinkML schema consists of elements\nthat instantiate classes in this metamodel.\n\nCore metaclasses:\n\n* [SchemaDefinition](https://w3id.org/linkml/SchemaDefinition)\n* [ClassDefinition](https://w3id.org/linkml/ClassDefinition)\n* [SlotDefinition](https://w3id.org/linkml/SlotDefinition)\n* [TypeDefinition](https://w3id.org/linkml/TypeDefinition)\n\nThere are many subsets of *profiles* of the metamodel, for different purposes:\n\n* [MinimalSubset](https://w3id.org/linkml/MinimalSubset)\n* [BasicSubset](https://w3id.org/linkml/BasicSubset)\n* [BasicSubset](https://w3id.org/linkml/BasicSubset)\n\nFor canonical reference documentation on any metamodel construct,\nrefer to the official URI for each construct, e.g.\n[https://w3id.org/linkml/is_a](https://w3id.org/linkml/is_a)\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ",
"@context": {
"IAO": {
"@id": "http://purl.obolibrary.org/obo/IAO_",
Expand Down
Loading

0 comments on commit 04c298c

Please sign in to comment.