diff --git a/docs/index.html b/docs/index.html index 9ec053f0..ef362a91 100644 --- a/docs/index.html +++ b/docs/index.html @@ -385,5 +385,5 @@

Defined

diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 47fbc31f..7747b416 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -2,822 +2,822 @@ None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily None - 2021-08-18 + 2021-08-19 daily \ No newline at end of file diff --git a/docs/sitemap.xml.gz b/docs/sitemap.xml.gz index 4b2c229d..c18db1c3 100644 Binary files a/docs/sitemap.xml.gz and b/docs/sitemap.xml.gz differ diff --git a/linkml_model/annotations.py b/linkml_model/annotations.py index 781d02cf..6841e1f9 100644 --- a/linkml_model/annotations.py +++ b/linkml_model/annotations.py @@ -1,5 +1,5 @@ # Auto generated from annotations.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-08-18 16:51 +# Generation date: 2021-08-19 17:51 # Schema: annotations # # id: https://w3id.org/linkml/annotations @@ -12,7 +12,6 @@ from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass -from linkml_runtime.linkml_model.meta import EnumDefinition, PermissibleValue, PvFormulaOptions from linkml_runtime.utils.slot import Slot from linkml_runtime.utils.metamodelcore import empty_list, empty_dict, bnode @@ -22,8 +21,8 @@ from linkml_runtime.utils.enumerations import EnumDefinitionImpl from rdflib import Namespace, URIRef from linkml_runtime.utils.curienamespace import CurieNamespace -from linkml_runtime.linkml_model.extensions import Extension -from linkml_runtime.linkml_model.types import String, Uriorcurie +from .extensions import Extension +from .types import String, Uriorcurie from linkml_runtime.utils.metamodelcore import URIorCURIE metamodel_version = "1.7.0" diff --git a/linkml_model/extensions.py b/linkml_model/extensions.py index e0871930..1a521cf5 100644 --- a/linkml_model/extensions.py +++ b/linkml_model/extensions.py @@ -1,5 +1,5 @@ # Auto generated from extensions.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-08-18 16:51 +# Generation date: 2021-08-19 17:51 # Schema: extensions # # id: https://w3id.org/linkml/extensions @@ -12,7 +12,6 @@ from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass -from linkml_runtime.linkml_model.meta import EnumDefinition, PermissibleValue, PvFormulaOptions from linkml_runtime.utils.slot import Slot from linkml_runtime.utils.metamodelcore import empty_list, empty_dict, bnode @@ -22,7 +21,7 @@ from linkml_runtime.utils.enumerations import EnumDefinitionImpl from rdflib import Namespace, URIRef from linkml_runtime.utils.curienamespace import CurieNamespace -from linkml_runtime.linkml_model.types import String, Uriorcurie +from .types import String, Uriorcurie from linkml_runtime.utils.metamodelcore import URIorCURIE metamodel_version = "1.7.0" diff --git a/linkml_model/json/annotations.json b/linkml_model/json/annotations.json index 842ed8e5..d4052647 100644 --- a/linkml_model/json/annotations.json +++ b/linkml_model/json/annotations.json @@ -316,9 +316,9 @@ ], "metamodel_version": "1.7.0", "source_file": "annotations.yaml", - "source_file_date": "Wed Aug 18 16:49:07 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 833, - "generation_date": "2021-08-18 16:50", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_model/json/extensions.json b/linkml_model/json/extensions.json index 838c5ed6..202768c7 100644 --- a/linkml_model/json/extensions.json +++ b/linkml_model/json/extensions.json @@ -260,9 +260,9 @@ ], "metamodel_version": "1.7.0", "source_file": "extensions.yaml", - "source_file_date": "Wed Aug 18 16:49:07 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 1043, - "generation_date": "2021-08-18 16:50", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_model/json/mappings.json b/linkml_model/json/mappings.json index 89173fbf..63de6310 100644 --- a/linkml_model/json/mappings.json +++ b/linkml_model/json/mappings.json @@ -311,9 +311,9 @@ ], "metamodel_version": "1.7.0", "source_file": "mappings.yaml", - "source_file_date": "Wed Aug 18 16:49:07 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 2656, - "generation_date": "2021-08-18 16:50", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_model/json/meta.json b/linkml_model/json/meta.json index 01dec730..dd8e3c58 100644 --- a/linkml_model/json/meta.json +++ b/linkml_model/json/meta.json @@ -3077,9 +3077,9 @@ ], "metamodel_version": "1.7.0", "source_file": "meta.yaml", - "source_file_date": "Wed Aug 18 16:49:07 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 34566, - "generation_date": "2021-08-18 16:50", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_model/json/types.json b/linkml_model/json/types.json index ba08ad88..095742b4 100644 --- a/linkml_model/json/types.json +++ b/linkml_model/json/types.json @@ -169,9 +169,9 @@ ], "metamodel_version": "1.7.0", "source_file": "types.yaml", - "source_file_date": "Wed Aug 18 16:49:07 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 2676, - "generation_date": "2021-08-18 16:50", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ { diff --git a/linkml_model/jsonld/annotations.context.jsonld b/linkml_model/jsonld/annotations.context.jsonld index 10dfd79c..fe92b28d 100644 --- a/linkml_model/jsonld/annotations.context.jsonld +++ b/linkml_model/jsonld/annotations.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from annotations.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: annotations\n \n id: https://w3id.org/linkml/annotations\n description: Annotations mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from annotations.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: annotations\n \n id: https://w3id.org/linkml/annotations\n description: Annotations mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "linkml": "https://w3id.org/linkml/", "@vocab": "https://w3id.org/linkml/", diff --git a/linkml_model/jsonld/annotations.model.context.jsonld b/linkml_model/jsonld/annotations.model.context.jsonld index 10dfd79c..fe92b28d 100644 --- a/linkml_model/jsonld/annotations.model.context.jsonld +++ b/linkml_model/jsonld/annotations.model.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from annotations.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: annotations\n \n id: https://w3id.org/linkml/annotations\n description: Annotations mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from annotations.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: annotations\n \n id: https://w3id.org/linkml/annotations\n description: Annotations mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "linkml": "https://w3id.org/linkml/", "@vocab": "https://w3id.org/linkml/", diff --git a/linkml_model/jsonld/extensions.context.jsonld b/linkml_model/jsonld/extensions.context.jsonld index 791afeca..91c85c54 100644 --- a/linkml_model/jsonld/extensions.context.jsonld +++ b/linkml_model/jsonld/extensions.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from extensions.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: extensions\n \n id: https://w3id.org/linkml/extensions\n description: Extension mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from extensions.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: extensions\n \n id: https://w3id.org/linkml/extensions\n description: Extension mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "linkml": "https://w3id.org/linkml/", "@vocab": "https://w3id.org/linkml/", diff --git a/linkml_model/jsonld/extensions.model.context.jsonld b/linkml_model/jsonld/extensions.model.context.jsonld index 791afeca..91c85c54 100644 --- a/linkml_model/jsonld/extensions.model.context.jsonld +++ b/linkml_model/jsonld/extensions.model.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from extensions.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: extensions\n \n id: https://w3id.org/linkml/extensions\n description: Extension mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from extensions.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: extensions\n \n id: https://w3id.org/linkml/extensions\n description: Extension mixin\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "linkml": "https://w3id.org/linkml/", "@vocab": "https://w3id.org/linkml/", diff --git a/linkml_model/jsonld/mappings.context.jsonld b/linkml_model/jsonld/mappings.context.jsonld index 1dbcde41..131bef79 100644 --- a/linkml_model/jsonld/mappings.context.jsonld +++ b/linkml_model/jsonld/mappings.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from mappings.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: mappings\n \n id: https://w3id.org/linkml/mappings\n description: LinkML model for mappings\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from mappings.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: mappings\n \n id: https://w3id.org/linkml/mappings\n description: LinkML model for mappings\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "IAO": { "@id": "http://purl.obolibrary.org/obo/IAO_", diff --git a/linkml_model/jsonld/mappings.model.context.jsonld b/linkml_model/jsonld/mappings.model.context.jsonld index 1dbcde41..131bef79 100644 --- a/linkml_model/jsonld/mappings.model.context.jsonld +++ b/linkml_model/jsonld/mappings.model.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from mappings.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: mappings\n \n id: https://w3id.org/linkml/mappings\n description: LinkML model for mappings\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from mappings.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: mappings\n \n id: https://w3id.org/linkml/mappings\n description: LinkML model for mappings\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "IAO": { "@id": "http://purl.obolibrary.org/obo/IAO_", diff --git a/linkml_model/jsonld/meta.context.jsonld b/linkml_model/jsonld/meta.context.jsonld index f40a6598..c7a0dbfe 100644 --- a/linkml_model/jsonld/meta.context.jsonld +++ b/linkml_model/jsonld/meta.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: meta\n \n id: https://w3id.org/linkml/meta\n description: A metamodel for defining linked open data schemas\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: 2021-08-19 17:50\n Schema: meta\n \n id: https://w3id.org/linkml/meta\n description: A metamodel for defining linked open data schemas\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "IAO": { "@id": "http://purl.obolibrary.org/obo/IAO_", diff --git a/linkml_model/jsonld/meta.model.context.jsonld b/linkml_model/jsonld/meta.model.context.jsonld index f40a6598..c7a0dbfe 100644 --- a/linkml_model/jsonld/meta.model.context.jsonld +++ b/linkml_model/jsonld/meta.model.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: meta\n \n id: https://w3id.org/linkml/meta\n description: A metamodel for defining linked open data schemas\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: 2021-08-19 17:50\n Schema: meta\n \n id: https://w3id.org/linkml/meta\n description: A metamodel for defining linked open data schemas\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "IAO": { "@id": "http://purl.obolibrary.org/obo/IAO_", diff --git a/linkml_model/jsonld/types.context.jsonld b/linkml_model/jsonld/types.context.jsonld index 8d07f601..df3129bc 100644 --- a/linkml_model/jsonld/types.context.jsonld +++ b/linkml_model/jsonld/types.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from types.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: types\n \n id: https://w3id.org/linkml/types\n description: Shared type definitions for the core LinkML mode and metamodel\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from types.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: types\n \n id: https://w3id.org/linkml/types\n description: Shared type definitions for the core LinkML mode and metamodel\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "linkml": "https://w3id.org/linkml/", "shex": "http://www.w3.org/ns/shex#", diff --git a/linkml_model/jsonld/types.model.context.jsonld b/linkml_model/jsonld/types.model.context.jsonld index 8d07f601..df3129bc 100644 --- a/linkml_model/jsonld/types.model.context.jsonld +++ b/linkml_model/jsonld/types.model.context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from types.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-18 16:50\n Schema: types\n \n id: https://w3id.org/linkml/types\n description: Shared type definitions for the core LinkML mode and metamodel\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", + "_comments": "Auto generated from types.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-08-19 17:50\n Schema: types\n \n id: https://w3id.org/linkml/types\n description: Shared type definitions for the core LinkML mode and metamodel\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "linkml": "https://w3id.org/linkml/", "shex": "http://www.w3.org/ns/shex#", diff --git a/linkml_model/mappings.py b/linkml_model/mappings.py index a52b61db..ae27457d 100644 --- a/linkml_model/mappings.py +++ b/linkml_model/mappings.py @@ -1,5 +1,5 @@ # Auto generated from mappings.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-08-18 16:51 +# Generation date: 2021-08-19 17:51 # Schema: mappings # # id: https://w3id.org/linkml/mappings @@ -12,7 +12,6 @@ from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass -from linkml_runtime.linkml_model.meta import EnumDefinition, PermissibleValue, PvFormulaOptions from linkml_runtime.utils.slot import Slot from linkml_runtime.utils.metamodelcore import empty_list, empty_dict, bnode @@ -22,7 +21,7 @@ from linkml_runtime.utils.enumerations import EnumDefinitionImpl from rdflib import Namespace, URIRef from linkml_runtime.utils.curienamespace import CurieNamespace -from linkml_runtime.linkml_model.types import Uriorcurie +from .types import Uriorcurie from linkml_runtime.utils.metamodelcore import URIorCURIE metamodel_version = "1.7.0" diff --git a/linkml_model/meta.py b/linkml_model/meta.py index 94d58b90..95beae20 100644 --- a/linkml_model/meta.py +++ b/linkml_model/meta.py @@ -1,5 +1,5 @@ # Auto generated from meta.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-08-18 16:51 +# Generation date: 2021-08-19 17:51 # Schema: meta # # id: https://w3id.org/linkml/meta @@ -12,7 +12,6 @@ from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass -from linkml_runtime.linkml_model.meta import EnumDefinition, PermissibleValue, PvFormulaOptions from linkml_runtime.utils.slot import Slot from linkml_runtime.utils.metamodelcore import empty_list, empty_dict, bnode @@ -22,9 +21,9 @@ from linkml_runtime.utils.enumerations import EnumDefinitionImpl from rdflib import Namespace, URIRef from linkml_runtime.utils.curienamespace import CurieNamespace -from linkml_runtime.linkml_model.annotations import Annotation -from linkml_runtime.linkml_model.extensions import Extension -from linkml_runtime.linkml_model.types import Boolean, Datetime, Integer, Ncname, String, Uri, Uriorcurie +from .annotations import Annotation +from .extensions import Extension +from .types import Boolean, Datetime, Integer, Ncname, String, Uri, Uriorcurie from linkml_runtime.utils.metamodelcore import Bool, NCName, URI, URIorCURIE, XSDDateTime metamodel_version = "1.7.0" diff --git a/linkml_model/owl/meta.owl.ttl b/linkml_model/owl/meta.owl.ttl index 57a96673..8cd9b8f9 100644 --- a/linkml_model/owl/meta.owl.ttl +++ b/linkml_model/owl/meta.owl.ttl @@ -126,10 +126,10 @@ linkml:meta a owl:Ontology ; dcterms:license "https://creativecommons.org/publicdomain/zero/1.0/" ; dcterms:title "LinkML Schema Metamodel" ; skos:definition "A metamodel for defining linked open data schemas" ; - linkml:generation_date "2021-08-18 16:50" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:metamodel_version "1.7.0" ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 34566 . linkml:permissible_value_is_a a owl:ObjectProperty, @@ -873,50 +873,50 @@ linkml:CommonMetadata a owl:Class, linkml:ClassDefinition ; rdfs:label "common_metadata" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:from_schema ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Example ; - owl:onProperty linkml:examples ], - [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_exact_replacement ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:deprecated ], [ a owl:Restriction ; - owl:allValuesFrom linkml:AltDescription ; - owl:onProperty linkml:alt_descriptions ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:see_also ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], + owl:onProperty linkml:notes ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:imported_from ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:todos ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:AltDescription ; + owl:onProperty linkml:alt_descriptions ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:allValuesFrom linkml:SubsetDefinition ; owl:onProperty linkml:in_subset ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:todos ], + owl:onProperty linkml:comments ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:description ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:imported_from ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:from_schema ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_possible_replacement ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:see_also ], linkml:mixin ; skos:definition "Generic metadata shared across definitions" . @@ -1154,11 +1154,11 @@ linkml:Example a owl:Class, rdfs:subClassOf [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:description ], + owl:onProperty linkml:value ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:value ] ; + owl:onProperty linkml:description ] ; skos:definition "usage example and description" . linkml:Integer a owl:Class, @@ -1196,21 +1196,21 @@ linkml:EnumDefinition a owl:Class, owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:code_set_tag ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:PermissibleValue ; + owl:onProperty linkml:permissible_values ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:code_set ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:code_set_version ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:PermissibleValue ; - owl:onProperty linkml:permissible_values ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass ; owl:onProperty linkml:pv_formula ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:code_set_version ], linkml:Element ; skos:definition "List of values that constrain the range of a slot" . @@ -1252,12 +1252,12 @@ linkml:Extension a owl:Class, linkml:ClassDefinition ; rdfs:label "extension" ; rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], - [ a owl:Restriction ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:tag ; owl:qualifiedCardinality 1 ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Extension ; + owl:onProperty linkml:extensions ], [ a owl:Restriction ; owl:onClass linkml:String ; owl:onProperty linkml:value ; @@ -1277,71 +1277,71 @@ linkml:PermissibleValue a owl:Class, linkml:ClassDefinition ; rdfs:label "permissible_value" ; rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:todos ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:PermissibleValue ; - owl:onProperty linkml:mixins ], + owl:onClass linkml:String ; + owl:onProperty linkml:text ; + owl:qualifiedCardinality 1 ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uri ; owl:onProperty linkml:from_schema ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:notes ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:meaning ], + owl:onClass linkml:PermissibleValue ; + owl:onProperty linkml:is_a ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:see_also ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:deprecated ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Annotation ; - owl:onProperty linkml:annotations ], + owl:allValuesFrom linkml:PermissibleValue ; + owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_exact_replacement ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_possible_replacement ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:imported_from ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], + owl:onProperty linkml:description ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_possible_replacement ], + owl:onProperty linkml:meaning ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:PermissibleValue ; - owl:onProperty linkml:is_a ], + owl:allValuesFrom linkml:Extension ; + owl:onProperty linkml:extensions ], [ a owl:Restriction ; owl:allValuesFrom linkml:SubsetDefinition ; owl:onProperty linkml:in_subset ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Example ; - owl:onProperty linkml:examples ], - [ a owl:Restriction ; - owl:onClass linkml:String ; - owl:onProperty linkml:text ; - owl:qualifiedCardinality 1 ], + owl:allValuesFrom linkml:Annotation ; + owl:onProperty linkml:annotations ], [ a owl:Restriction ; owl:allValuesFrom linkml:AltDescription ; owl:onProperty linkml:alt_descriptions ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:see_also ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:description ], + owl:onProperty linkml:imported_from ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:comments ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:todos ], linkml:Annotatable, linkml:CommonMetadata, linkml:Extensible ; @@ -1355,50 +1355,50 @@ linkml:Definition a owl:Class, rdfs:label "definition" ; rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_element_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:values_from ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Datetime ; + owl:onProperty linkml:created_on ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:status ], + owl:onClass linkml:String ; + owl:onProperty linkml:string_serialization ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Definition ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; owl:onProperty linkml:mixin ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Datetime ; - owl:onProperty linkml:last_updated_on ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:modified_by ], [ a owl:Restriction ; owl:allValuesFrom linkml:Definition ; owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Datetime ; - owl:onProperty linkml:created_on ], + owl:onProperty linkml:last_updated_on ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:modified_by ], + owl:allValuesFrom linkml:Definition ; + owl:onProperty linkml:apply_to ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:values_from ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; owl:onProperty linkml:abstract ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:string_serialization ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:created_by ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Definition ; - owl:onProperty linkml:is_a ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Definition ; - owl:onProperty linkml:apply_to ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:status ], linkml:Element ; skos:definition "base class for definitions" . @@ -1407,6 +1407,15 @@ linkml:SchemaDefinition a owl:Class, rdfs:label "schema_definition" ; rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_dictionary" ; rdfs:subClassOf [ a owl:Restriction ; + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:classes ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:default_curi_maps ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Ncname ; + owl:onProperty linkml:emit_prefixes ], + [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:slots ], [ a owl:Restriction ; @@ -1414,73 +1423,64 @@ linkml:SchemaDefinition a owl:Class, owl:onClass linkml:Integer ; owl:onProperty linkml:source_file_size ], [ a owl:Restriction ; - owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:classes ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Datetime ; + owl:onProperty linkml:generation_date ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SubsetDefinition ; + owl:onProperty linkml:subsets ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Datetime ; + owl:onProperty linkml:source_file_date ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:imports ], [ a owl:Restriction ; owl:onClass linkml:Ncname ; owl:onProperty linkml:name ; owl:qualifiedCardinality 1 ], + [ a owl:Restriction ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:id ; + owl:qualifiedCardinality 1 ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:version ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Prefix ; - owl:onProperty linkml:prefixes ], + owl:onProperty linkml:source_file ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:license ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:TypeDefinition ; - owl:onProperty linkml:types ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SubsetDefinition ; - owl:onProperty linkml:subsets ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:source_file ], + owl:onProperty linkml:version ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:title ], + owl:onProperty linkml:metamodel_version ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Datetime ; - owl:onProperty linkml:source_file_date ], + owl:allValuesFrom linkml:Prefix ; + owl:onProperty linkml:prefixes ], [ a owl:Restriction ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:id ; - owl:qualifiedCardinality 1 ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:TypeDefinition ; + owl:onProperty linkml:default_range ], [ a owl:Restriction ; owl:allValuesFrom linkml:EnumDefinition ; owl:onProperty linkml:enums ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Ncname ; - owl:onProperty linkml:emit_prefixes ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Datetime ; - owl:onProperty linkml:generation_date ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:default_prefix ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:default_curi_maps ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:imports ], + owl:onProperty linkml:title ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:TypeDefinition ; - owl:onProperty linkml:default_range ], + owl:allValuesFrom linkml:TypeDefinition ; + owl:onProperty linkml:types ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:metamodel_version ], + owl:onProperty linkml:default_prefix ], linkml:Element ; skos:altLabel "data dictionary" ; skos:definition "a collection of subset, type, slot and class definitions" . @@ -1492,10 +1492,6 @@ linkml:TypeDefinition a owl:Class, owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:uri ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:base ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:TypeDefinition ; @@ -1504,6 +1500,10 @@ linkml:TypeDefinition a owl:Class, owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:repr ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:base ], linkml:Element ; skos:definition "A data type definition." . @@ -1512,70 +1512,70 @@ linkml:Element a owl:Class, rdfs:label "element" ; rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_element" ; rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:AltDescription ; - owl:onProperty linkml:alt_descriptions ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:description ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:deprecated ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; owl:onProperty linkml:notes ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:aliases ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:see_also ], + [ a owl:Restriction ; + owl:onClass linkml:String ; + owl:onProperty linkml:name ; + owl:qualifiedCardinality 1 ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:AltDescription ; + owl:onProperty linkml:alt_descriptions ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:imported_from ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:todos ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:see_also ], + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_exact_replacement ], + owl:onProperty linkml:definition_uri ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:exact_mappings ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:aliases ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Example ; - owl:onProperty linkml:examples ], + owl:allValuesFrom linkml:Annotation ; + owl:onProperty linkml:annotations ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uri ; owl:onProperty linkml:from_schema ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:related_mappings ], + owl:onProperty linkml:close_mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:Ncname ; owl:onProperty linkml:id_prefixes ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:mappings ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:broad_mappings ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Annotation ; - owl:onProperty linkml:annotations ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:definition_uri ], + owl:onProperty linkml:deprecated_element_has_possible_replacement ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:description ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_exact_replacement ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Extension ; + owl:onProperty linkml:extensions ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; owl:onProperty linkml:narrow_mappings ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:SubsetDefinition ; owl:onProperty linkml:in_subset ], @@ -1583,20 +1583,20 @@ linkml:Element a owl:Class, owl:allValuesFrom linkml:LocalName ; owl:onProperty linkml:local_names ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:deprecated ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:broad_mappings ], [ a owl:Restriction ; - owl:onClass linkml:String ; - owl:onProperty linkml:name ; - owl:qualifiedCardinality 1 ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:todos ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_possible_replacement ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:related_mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:close_mappings ], + owl:onProperty linkml:exact_mappings ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:comments ], linkml:Annotatable, linkml:CommonMetadata, linkml:Extensible ; @@ -1615,42 +1615,42 @@ linkml:ClassDefinition a owl:Class, linkml:ClassDefinition ; rdfs:label "class_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:tree_root ], - [ a owl:Restriction ; owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:union_of ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:slot_usage ], + owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:ClassDefinition ; - owl:onProperty linkml:is_a ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:subclass_of ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:defining_slots ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:mixins ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:class_uri ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:slots ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:union_of ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:subclass_of ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:tree_root ], [ a owl:Restriction ; owl:allValuesFrom linkml:ClassDefinition ; owl:onProperty linkml:apply_to ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:ClassDefinition ; + owl:onProperty linkml:is_a ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:slot_usage ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:attributes ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:class_uri ], linkml:Definition ; skos:altLabel "message", "observation", @@ -1682,126 +1682,126 @@ linkml:SlotDefinition a owl:Class, linkml:ClassDefinition ; rdfs:label "slot_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:ClassDefinition ; - owl:onProperty linkml:domain ], + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:domain_of ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:ifabsent ], + owl:onProperty linkml:pattern ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:subproperty_of ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:symmetric ], + owl:onProperty linkml:identifier ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:SlotDefinition ; owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:role ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:required ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:pattern ], + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:apply_to ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:readonly ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:recommended ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:alias ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:multivalued ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:is_class_field ], + owl:onProperty linkml:is_usage_slot ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:slot_uri ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:inverse ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:key ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:maximum_value ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:minimum_value ], + owl:onClass linkml:String ; + owl:onProperty linkml:ifabsent ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Definition ; - owl:onProperty linkml:owner ], + owl:onClass linkml:String ; + owl:onProperty linkml:alias ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:required ], + owl:onClass linkml:Element ; + owl:onProperty linkml:range ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:inlined_as_list ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:mixins ], + owl:onProperty linkml:inherited ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:usage_slot_name ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:is_class_field ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:is_usage_slot ], + owl:onClass linkml:Definition ; + owl:onProperty linkml:owner ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:multivalued ], + owl:onProperty linkml:inlined ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:SlotDefinition ; - owl:onProperty linkml:inverse ], + owl:onClass linkml:ClassDefinition ; + owl:onProperty linkml:domain ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:inherited ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:minimum_value ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:singular_name ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:slot_uri ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:recommended ], + owl:onProperty linkml:designates_type ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:identifier ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:apply_to ], + owl:onClass linkml:String ; + owl:onProperty linkml:readonly ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:SlotDefinition ; - owl:onProperty linkml:subproperty_of ], + owl:onClass linkml:String ; + owl:onProperty linkml:singular_name ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Element ; - owl:onProperty linkml:range ], + owl:onClass linkml:String ; + owl:onProperty linkml:role ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:inlined ], + owl:onProperty linkml:key ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:designates_type ], + owl:onClass linkml:String ; + owl:onProperty linkml:usage_slot_name ], [ a owl:Restriction ; - owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:domain_of ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Boolean ; + owl:onProperty linkml:inlined_as_list ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:maximum_value ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:symmetric ], linkml:Definition ; skos:altLabel "attribute", "column", diff --git a/linkml_model/rdf/annotations.model.ttl b/linkml_model/rdf/annotations.model.ttl index b8afdc90..808f8b68 100644 --- a/linkml_model/rdf/annotations.model.ttl +++ b/linkml_model/rdf/annotations.model.ttl @@ -4,6 +4,19 @@ [] a linkml:SchemaDefinition ; linkml:classes [ a linkml:ClassDefinition ; + linkml:class_uri "https://w3id.org/linkml/Annotation" ; + linkml:definition_uri "https://w3id.org/linkml/Annotation" ; + linkml:description "a tag/value pair with the semantics of OWL Annotation" ; + linkml:from_schema "https://w3id.org/linkml/annotations" ; + linkml:is_a "Extension" ; + linkml:mixins "Annotatable" ; + linkml:name "Annotation" ; + linkml:slot_usage [ ] ; + linkml:slots "annotations", + "extension_tag", + "extension_value", + "extensions" ], + [ a linkml:ClassDefinition ; linkml:class_uri "https://w3id.org/linkml/Extensible" ; linkml:definition_uri "https://w3id.org/linkml/Extensible" ; linkml:description "mixin for classes that support extension" ; @@ -32,25 +45,12 @@ linkml:mixin true ; linkml:name "Annotatable" ; linkml:slot_usage [ ] ; - linkml:slots "annotations" ], - [ a linkml:ClassDefinition ; - linkml:class_uri "https://w3id.org/linkml/Annotation" ; - linkml:definition_uri "https://w3id.org/linkml/Annotation" ; - linkml:description "a tag/value pair with the semantics of OWL Annotation" ; - linkml:from_schema "https://w3id.org/linkml/annotations" ; - linkml:is_a "Extension" ; - linkml:mixins "Annotatable" ; - linkml:name "Annotation" ; - linkml:slot_usage [ ] ; - linkml:slots "annotations", - "extension_tag", - "extension_value", - "extensions" ] ; + linkml:slots "annotations" ] ; linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Annotations mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/annotations" ; linkml:imports "linkml:extensions", "linkml:types" ; @@ -60,18 +60,19 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - linkml:alias "value" ; - linkml:definition_uri "https://w3id.org/linkml/extension_value" ; - linkml:description "the actual annotation" ; - linkml:domain "Extension" ; - linkml:domain_of "Extension" ; + linkml:definition_uri "https://w3id.org/linkml/extensions" ; + linkml:description "a tag/text tuple attached to an arbitrary element" ; + linkml:domain "Extensible" ; + linkml:domain_of "Extensible", + "Extension" ; linkml:from_schema "https://w3id.org/linkml/extensions" ; linkml:imported_from "linkml:extensions" ; - linkml:name "extension_value" ; - linkml:owner "Extension" ; - linkml:range "string" ; - linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ], + linkml:inlined true ; + linkml:multivalued true ; + linkml:name "extensions" ; + linkml:owner "Extensible" ; + linkml:range "Extension" ; + linkml:slot_uri "https://w3id.org/linkml/extensions" ], [ a linkml:SlotDefinition ; linkml:alias "tag" ; linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; @@ -100,41 +101,55 @@ linkml:range "Annotation" ; linkml:slot_uri "https://w3id.org/linkml/annotations" ], [ a linkml:SlotDefinition ; - linkml:definition_uri "https://w3id.org/linkml/extensions" ; - linkml:description "a tag/text tuple attached to an arbitrary element" ; - linkml:domain "Extensible" ; - linkml:domain_of "Extensible", - "Extension" ; + linkml:alias "value" ; + linkml:definition_uri "https://w3id.org/linkml/extension_value" ; + linkml:description "the actual annotation" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; linkml:from_schema "https://w3id.org/linkml/extensions" ; linkml:imported_from "linkml:extensions" ; - linkml:inlined true ; - linkml:multivalued true ; - linkml:name "extensions" ; - linkml:owner "Extensible" ; - linkml:range "Extension" ; - linkml:slot_uri "https://w3id.org/linkml/extensions" ] ; + linkml:name "extension_value" ; + linkml:owner "Extension" ; + linkml:range "string" ; + linkml:required true ; + linkml:slot_uri "https://w3id.org/linkml/value" ] ; linkml:source_file "annotations.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 833 ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "URI" ; - linkml:definition_uri "https://w3id.org/linkml/Uri" ; - linkml:description "a complete URI" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uri" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "int" ; + linkml:definition_uri "https://w3id.org/linkml/Integer" ; + linkml:description "An integer" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "datetime" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + [ a linkml:TypeDefinition ; + linkml:base "NodeIdentifier" ; + linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; + linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "nodeidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; linkml:base "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; @@ -145,30 +160,23 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ a linkml:TypeDefinition ; linkml:base "XSDDate" ; linkml:definition_uri "https://w3id.org/linkml/Date" ; @@ -180,14 +188,15 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; + linkml:name "objectidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; @@ -196,41 +205,32 @@ linkml:imported_from "linkml:types" ; linkml:name "string" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], - [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; + linkml:definition_uri "https://w3id.org/linkml/Float" ; + linkml:description "A real number that conforms to the xsd:float specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "NodeIdentifier" ; - linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; - linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "nodeidentifier" ; + linkml:name "uriorcurie" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:base "URI" ; + linkml:definition_uri "https://w3id.org/linkml/Uri" ; + linkml:description "a complete URI" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "objectidentifier" ; + linkml:name "uri" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; diff --git a/linkml_model/rdf/annotations.ttl b/linkml_model/rdf/annotations.ttl index ca365a3a..871bce52 100644 --- a/linkml_model/rdf/annotations.ttl +++ b/linkml_model/rdf/annotations.ttl @@ -12,19 +12,6 @@ linkml:name "Annotatable" ; linkml:slot_usage [ ] ; linkml:slots "annotations" ], - [ a linkml:ClassDefinition ; - linkml:class_uri "https://w3id.org/linkml/Annotation" ; - linkml:definition_uri "https://w3id.org/linkml/Annotation" ; - linkml:description "a tag/value pair with the semantics of OWL Annotation" ; - linkml:from_schema "https://w3id.org/linkml/annotations" ; - linkml:is_a "Extension" ; - linkml:mixins "Annotatable" ; - linkml:name "Annotation" ; - linkml:slot_usage [ ] ; - linkml:slots "annotations", - "extension_tag", - "extension_value", - "extensions" ], [ a linkml:ClassDefinition ; linkml:class_uri "https://w3id.org/linkml/Extension" ; linkml:definition_uri "https://w3id.org/linkml/Extension" ; @@ -45,12 +32,25 @@ linkml:mixin true ; linkml:name "Extensible" ; linkml:slot_usage [ ] ; - linkml:slots "extensions" ] ; + linkml:slots "extensions" ], + [ a linkml:ClassDefinition ; + linkml:class_uri "https://w3id.org/linkml/Annotation" ; + linkml:definition_uri "https://w3id.org/linkml/Annotation" ; + linkml:description "a tag/value pair with the semantics of OWL Annotation" ; + linkml:from_schema "https://w3id.org/linkml/annotations" ; + linkml:is_a "Extension" ; + linkml:mixins "Annotatable" ; + linkml:name "Annotation" ; + linkml:slot_usage [ ] ; + linkml:slots "annotations", + "extension_tag", + "extension_value", + "extensions" ] ; linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Annotations mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/annotations" ; linkml:imports "linkml:extensions", "linkml:types" ; @@ -60,33 +60,6 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - linkml:definition_uri "https://w3id.org/linkml/extensions" ; - linkml:description "a tag/text tuple attached to an arbitrary element" ; - linkml:domain "Extensible" ; - linkml:domain_of "Extensible", - "Extension" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:imported_from "linkml:extensions" ; - linkml:inlined true ; - linkml:multivalued true ; - linkml:name "extensions" ; - linkml:owner "Extensible" ; - linkml:range "Extension" ; - linkml:slot_uri "https://w3id.org/linkml/extensions" ], - [ a linkml:SlotDefinition ; - linkml:alias "value" ; - linkml:definition_uri "https://w3id.org/linkml/extension_value" ; - linkml:description "the actual annotation" ; - linkml:domain "Extension" ; - linkml:domain_of "Extension" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:imported_from "linkml:extensions" ; - linkml:name "extension_value" ; - linkml:owner "Extension" ; - linkml:range "string" ; - linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ], - [ a linkml:SlotDefinition ; linkml:alias "tag" ; linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; linkml:description "a tag associated with an extension" ; @@ -112,20 +85,55 @@ linkml:name "annotations" ; linkml:owner "Annotation" ; linkml:range "Annotation" ; - linkml:slot_uri "https://w3id.org/linkml/annotations" ] ; + linkml:slot_uri "https://w3id.org/linkml/annotations" ], + [ a linkml:SlotDefinition ; + linkml:definition_uri "https://w3id.org/linkml/extensions" ; + linkml:description "a tag/text tuple attached to an arbitrary element" ; + linkml:domain "Extensible" ; + linkml:domain_of "Extensible", + "Extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:imported_from "linkml:extensions" ; + linkml:inlined true ; + linkml:multivalued true ; + linkml:name "extensions" ; + linkml:owner "Extensible" ; + linkml:range "Extension" ; + linkml:slot_uri "https://w3id.org/linkml/extensions" ], + [ a linkml:SlotDefinition ; + linkml:alias "value" ; + linkml:definition_uri "https://w3id.org/linkml/extension_value" ; + linkml:description "the actual annotation" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:imported_from "linkml:extensions" ; + linkml:name "extension_value" ; + linkml:owner "Extension" ; + linkml:range "string" ; + linkml:required true ; + linkml:slot_uri "https://w3id.org/linkml/value" ] ; linkml:source_file "annotations.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 833 ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "time" ; + linkml:name "date" ; linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + [ a linkml:TypeDefinition ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; @@ -136,13 +144,23 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + [ a linkml:TypeDefinition ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "objectidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -153,14 +171,14 @@ linkml:repr "bool" ; linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; - linkml:base "NodeIdentifier" ; - linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; - linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "nodeidentifier" ; + linkml:name "uriorcurie" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Double" ; @@ -169,16 +187,6 @@ linkml:imported_from "linkml:types" ; linkml:name "double" ; linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -189,57 +197,49 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "objectidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], - [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Float" ; + linkml:description "A real number that conforms to the xsd:float specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "int" ; + linkml:definition_uri "https://w3id.org/linkml/Integer" ; + linkml:description "An integer" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "datetime" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:base "NodeIdentifier" ; + linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; + linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; + linkml:name "nodeidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/rdf/extensions.model.ttl b/linkml_model/rdf/extensions.model.ttl index f902f828..1099778a 100644 --- a/linkml_model/rdf/extensions.model.ttl +++ b/linkml_model/rdf/extensions.model.ttl @@ -4,15 +4,6 @@ [] a linkml:SchemaDefinition ; linkml:classes [ a linkml:ClassDefinition ; - linkml:class_uri "https://w3id.org/linkml/Extensible" ; - linkml:definition_uri "https://w3id.org/linkml/Extensible" ; - linkml:description "mixin for classes that support extension" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:mixin true ; - linkml:name "Extensible" ; - linkml:slot_usage [ ] ; - linkml:slots "extensions" ], - [ a linkml:ClassDefinition ; linkml:class_uri "https://w3id.org/linkml/Extension" ; linkml:definition_uri "https://w3id.org/linkml/Extension" ; linkml:description "a tag/value pair used to add non-model information to an entry" ; @@ -21,12 +12,21 @@ linkml:slot_usage [ ] ; linkml:slots "extension_tag", "extension_value", - "extensions" ] ; + "extensions" ], + [ a linkml:ClassDefinition ; + linkml:class_uri "https://w3id.org/linkml/Extensible" ; + linkml:definition_uri "https://w3id.org/linkml/Extensible" ; + linkml:description "mixin for classes that support extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:mixin true ; + linkml:name "Extensible" ; + linkml:slot_usage [ ] ; + linkml:slots "extensions" ] ; linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Extension mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/extensions" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; @@ -72,25 +72,17 @@ linkml:required true ; linkml:slot_uri "https://w3id.org/linkml/value" ] ; linkml:source_file "extensions.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 1043 ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], - [ a linkml:TypeDefinition ; - linkml:base "URI" ; - linkml:definition_uri "https://w3id.org/linkml/Uri" ; - linkml:description "a complete URI" ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uri" ; + linkml:name "datetime" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -101,50 +93,40 @@ linkml:repr "bool" ; linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "objectidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], - [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "ncname" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "URI" ; + linkml:definition_uri "https://w3id.org/linkml/Uri" ; + linkml:description "a complete URI" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; + linkml:name "uri" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "NodeIdentifier" ; linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; @@ -155,23 +137,41 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Float" ; + linkml:description "A real number that conforms to the xsd:float specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "objectidentifier" ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + linkml:name "date" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + [ a linkml:TypeDefinition ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "int" ; linkml:definition_uri "https://w3id.org/linkml/Integer" ; @@ -181,23 +181,23 @@ linkml:name "integer" ; linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "ncname" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "uriorcurie" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ] ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/rdf/extensions.ttl b/linkml_model/rdf/extensions.ttl index aee671cb..bf06399a 100644 --- a/linkml_model/rdf/extensions.ttl +++ b/linkml_model/rdf/extensions.ttl @@ -26,7 +26,7 @@ linkml:default_range "string" ; linkml:description "Extension mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/extensions" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; @@ -35,18 +35,6 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - linkml:alias "tag" ; - linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; - linkml:description "a tag associated with an extension" ; - linkml:domain "Extension" ; - linkml:domain_of "Extension" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:name "extension_tag" ; - linkml:owner "Extension" ; - linkml:range "uriorcurie" ; - linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/tag" ], - [ a linkml:SlotDefinition ; linkml:alias "value" ; linkml:definition_uri "https://w3id.org/linkml/extension_value" ; linkml:description "the actual annotation" ; @@ -70,46 +58,32 @@ linkml:name "extensions" ; linkml:owner "Extensible" ; linkml:range "Extension" ; - linkml:slot_uri "https://w3id.org/linkml/extensions" ] ; + linkml:slot_uri "https://w3id.org/linkml/extensions" ], + [ a linkml:SlotDefinition ; + linkml:alias "tag" ; + linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; + linkml:description "a tag associated with an extension" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:name "extension_tag" ; + linkml:owner "Extension" ; + linkml:range "uriorcurie" ; + linkml:required true ; + linkml:slot_uri "https://w3id.org/linkml/tag" ] ; linkml:source_file "extensions.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 1043 ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], - [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], - [ a linkml:TypeDefinition ; - linkml:base "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], - [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "objectidentifier" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Float" ; @@ -119,23 +93,13 @@ linkml:name "float" ; linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], - [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "ncname" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ a linkml:TypeDefinition ; linkml:base "XSDDate" ; linkml:definition_uri "https://w3id.org/linkml/Date" ; @@ -146,6 +110,14 @@ linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + [ a linkml:TypeDefinition ; + linkml:base "int" ; + linkml:definition_uri "https://w3id.org/linkml/Integer" ; + linkml:description "An integer" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -155,6 +127,15 @@ linkml:name "uri" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + [ a linkml:TypeDefinition ; + linkml:base "NodeIdentifier" ; + linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; + linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "nodeidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; linkml:base "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; @@ -164,32 +145,41 @@ linkml:name "string" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "ncname" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "datetime" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; + linkml:base "Bool" ; + linkml:definition_uri "https://w3id.org/linkml/Boolean" ; + linkml:description "A binary (true or false) value" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], + linkml:name "boolean" ; + linkml:repr "bool" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; - linkml:base "NodeIdentifier" ; - linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; - linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "nodeidentifier" ; + linkml:name "uriorcurie" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "Decimal" ; linkml:definition_uri "https://w3id.org/linkml/Decimal" ; @@ -197,7 +187,17 @@ linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + [ a linkml:TypeDefinition ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "objectidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#iri" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/rdf/mappings.model.ttl b/linkml_model/rdf/mappings.model.ttl index b0976e17..942e9a88 100644 --- a/linkml_model/rdf/mappings.model.ttl +++ b/linkml_model/rdf/mappings.model.ttl @@ -16,58 +16,59 @@ "rdfs", "skos", "xsd" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/mappings" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; linkml:metamodel_version "1.7.0" ; linkml:name "mappings" ; - linkml:prefixes [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference "https://w3id.org/linkml/" ], - [ linkml:prefix_prefix "IAO" ; + linkml:prefixes [ linkml:prefix_prefix "IAO" ; linkml:prefix_reference "http://purl.obolibrary.org/obo/IAO_" ], [ linkml:prefix_prefix "OIO" ; - linkml:prefix_reference "http://www.geneontology.org/formats/oboInOwl#" ] ; + linkml:prefix_reference "http://www.geneontology.org/formats/oboInOwl#" ], + [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference "https://w3id.org/linkml/" ], + [ linkml:prefix_prefix "skos" ; + linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ] ; linkml:slots [ a linkml:SlotDefinition ; - skos:mappingRelation skos:relatedMatch ; - linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have related meaning." ; + skos:mappingRelation skos:narrowMatch ; + linkml:definition_uri "https://w3id.org/linkml/narrow_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have narrower meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "related_mappings" ; + linkml:name "narrow_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#relatedMatch" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#narrowMatch" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:exactMatch ; - linkml:definition_uri "https://w3id.org/linkml/exact_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have identical meaning." ; + skos:mappingRelation skos:closeMatch ; + linkml:definition_uri "https://w3id.org/linkml/close_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have close meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "exact_mappings" ; + linkml:name "close_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#exactMatch" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#closeMatch" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:narrowMatch ; - linkml:definition_uri "https://w3id.org/linkml/narrow_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have narrower meaning." ; + skos:mappingRelation skos:relatedMatch ; + linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have related meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "narrow_mappings" ; + linkml:name "related_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#narrowMatch" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#relatedMatch" ], [ a linkml:SlotDefinition ; - skos:mappingRelation ; - linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ; - linkml:description "When an element is deprecated, it can be automatically replaced by this uri or curie" ; + skos:mappingRelation skos:mappingRelation ; + linkml:definition_uri "https://w3id.org/linkml/mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:name "deprecated_element_has_exact_replacement" ; + linkml:multivalued true ; + linkml:name "mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], [ a linkml:SlotDefinition ; skos:mappingRelation OIO:consider ; linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ; @@ -77,58 +78,38 @@ linkml:range "uriorcurie" ; linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:mappingRelation ; - linkml:definition_uri "https://w3id.org/linkml/mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective." ; + skos:mappingRelation ; + linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ; + linkml:description "When an element is deprecated, it can be automatically replaced by this uri or curie" ; linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:multivalued true ; - linkml:name "mappings" ; + linkml:name "deprecated_element_has_exact_replacement" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], + linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:closeMatch ; - linkml:definition_uri "https://w3id.org/linkml/close_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have close meaning." ; + skos:mappingRelation skos:broadMatch ; + linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "close_mappings" ; + linkml:name "broad_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#closeMatch" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:broadMatch ; - linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; + skos:mappingRelation skos:exactMatch ; + linkml:definition_uri "https://w3id.org/linkml/exact_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have identical meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "broad_mappings" ; + linkml:name "exact_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ] ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#exactMatch" ] ; linkml:source_file "mappings.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 2656 ; linkml:title "LinkML Schema Mappings" ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], - [ a linkml:TypeDefinition ; linkml:base "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; linkml:description "Prefix part of CURIE" ; @@ -138,22 +119,13 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], - [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; + linkml:base "int" ; + linkml:definition_uri "https://w3id.org/linkml/Integer" ; + linkml:description "An integer" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; linkml:base "NodeIdentifier" ; linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; @@ -164,13 +136,13 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -181,20 +153,38 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "Bool" ; + linkml:definition_uri "https://w3id.org/linkml/Boolean" ; + linkml:description "A binary (true or false) value" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; + linkml:name "boolean" ; + linkml:repr "bool" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + [ a linkml:TypeDefinition ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Float" ; + linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; @@ -208,31 +198,41 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "time" ; + linkml:name "uriorcurie" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "date" ; linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "datetime" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/rdf/mappings.ttl b/linkml_model/rdf/mappings.ttl index 32deb81e..c948cd30 100644 --- a/linkml_model/rdf/mappings.ttl +++ b/linkml_model/rdf/mappings.ttl @@ -16,7 +16,7 @@ "rdfs", "skos", "xsd" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/mappings" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; @@ -31,13 +31,14 @@ [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - skos:mappingRelation OIO:consider ; - linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ; - linkml:description "When an element is deprecated, it can be potentially replaced by this uri or curie" ; + skos:mappingRelation skos:mappingRelation ; + linkml:definition_uri "https://w3id.org/linkml/mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:name "deprecated_element_has_possible_replacement" ; + linkml:multivalued true ; + linkml:name "mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], [ a linkml:SlotDefinition ; skos:mappingRelation skos:relatedMatch ; linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; @@ -48,15 +49,6 @@ linkml:name "related_mappings" ; linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#relatedMatch" ], - [ a linkml:SlotDefinition ; - skos:mappingRelation skos:mappingRelation ; - linkml:definition_uri "https://w3id.org/linkml/mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective." ; - linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:multivalued true ; - linkml:name "mappings" ; - linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], [ a linkml:SlotDefinition ; skos:mappingRelation skos:exactMatch ; linkml:definition_uri "https://w3id.org/linkml/exact_mappings" ; @@ -78,15 +70,15 @@ linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#closeMatch" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:narrowMatch ; - linkml:definition_uri "https://w3id.org/linkml/narrow_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have narrower meaning." ; + skos:mappingRelation skos:broadMatch ; + linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "narrow_mappings" ; + linkml:name "broad_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#narrowMatch" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ], [ a linkml:SlotDefinition ; skos:mappingRelation ; linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ; @@ -96,17 +88,25 @@ linkml:range "uriorcurie" ; linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ], [ a linkml:SlotDefinition ; - skos:mappingRelation skos:broadMatch ; - linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; + skos:mappingRelation OIO:consider ; + linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ; + linkml:description "When an element is deprecated, it can be potentially replaced by this uri or curie" ; + linkml:from_schema "https://w3id.org/linkml/mappings" ; + linkml:name "deprecated_element_has_possible_replacement" ; + linkml:range "uriorcurie" ; + linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ], + [ a linkml:SlotDefinition ; + skos:mappingRelation skos:narrowMatch ; + linkml:definition_uri "https://w3id.org/linkml/narrow_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have narrower meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "broad_mappings" ; + linkml:name "narrow_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ] ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#narrowMatch" ] ; linkml:source_file "mappings.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 2656 ; linkml:title "LinkML Schema Mappings" ; linkml:types [ a linkml:TypeDefinition ; @@ -118,23 +118,23 @@ linkml:name "float" ; linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "objectidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "int" ; linkml:definition_uri "https://w3id.org/linkml/Integer" ; @@ -143,6 +143,14 @@ linkml:imported_from "linkml:types" ; linkml:name "integer" ; linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + [ a linkml:TypeDefinition ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ a linkml:TypeDefinition ; linkml:base "URIorCURIE" ; linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; @@ -153,25 +161,23 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:base "URI" ; + linkml:definition_uri "https://w3id.org/linkml/Uri" ; + linkml:description "a complete URI" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "objectidentifier" ; + linkml:name "uri" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "datetime" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "NodeIdentifier" ; linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; @@ -181,15 +187,6 @@ linkml:name "nodeidentifier" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], - [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "ncname" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -200,39 +197,42 @@ linkml:repr "bool" ; linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "string" ; + linkml:name "ncname" ; + linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "URI" ; - linkml:definition_uri "https://w3id.org/linkml/Uri" ; - linkml:description "a complete URI" ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uri" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; + linkml:name "date" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/rdf/meta.model.ttl b/linkml_model/rdf/meta.model.ttl index 3cf11070..e9fd211c 100644 --- a/linkml_model/rdf/meta.model.ttl +++ b/linkml_model/rdf/meta.model.ttl @@ -2201,27 +2201,27 @@ linkml:meta a linkml:SchemaDefinition ; "skos", "xsd" ; linkml:enums linkml:pv_formula_options ; - linkml:generation_date "2021-08-18 16:51"^^xsd:dateTime ; + linkml:generation_date "2021-08-19 17:51"^^xsd:dateTime ; linkml:id linkml:meta ; linkml:imports linkml:annotations, linkml:extensions, linkml:mappings, linkml:types ; linkml:metamodel_version "1.7.0" ; - linkml:prefixes [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference skos: ], - [ linkml:prefix_prefix "pav" ; - linkml:prefix_reference pav: ], - [ linkml:prefix_prefix "schema" ; - linkml:prefix_reference schema: ], - [ linkml:prefix_prefix "oslc" ; - linkml:prefix_reference oslc: ], + linkml:prefixes [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference linkml: ], [ linkml:prefix_prefix "bibo" ; linkml:prefix_reference bibo: ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference linkml: ], [ linkml:prefix_prefix "OIO" ; - linkml:prefix_reference OIO: ] ; + linkml:prefix_reference OIO: ], + [ linkml:prefix_prefix "skos" ; + linkml:prefix_reference skos: ], + [ linkml:prefix_prefix "oslc" ; + linkml:prefix_reference oslc: ], + [ linkml:prefix_prefix "schema" ; + linkml:prefix_reference schema: ], + [ linkml:prefix_prefix "pav" ; + linkml:prefix_reference pav: ] ; linkml:slots linkml:abstract, linkml:alias, linkml:aliases, @@ -2349,7 +2349,7 @@ linkml:meta a linkml:SchemaDefinition ; linkml:values_from, linkml:version ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021"^^xsd:dateTime ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021"^^xsd:dateTime ; linkml:source_file_size 34566 ; linkml:subsets linkml:owl ; linkml:types linkml:boolean, diff --git a/linkml_model/rdf/meta.ttl b/linkml_model/rdf/meta.ttl index db8f28a9..d8c48ea3 100644 --- a/linkml_model/rdf/meta.ttl +++ b/linkml_model/rdf/meta.ttl @@ -2201,27 +2201,27 @@ linkml:meta a linkml:SchemaDefinition ; "skos", "xsd" ; linkml:enums linkml:pv_formula_options ; - linkml:generation_date "2021-08-18 16:51"^^xsd:dateTime ; + linkml:generation_date "2021-08-19 17:51"^^xsd:dateTime ; linkml:id linkml:meta ; linkml:imports linkml:annotations, linkml:extensions, linkml:mappings, linkml:types ; linkml:metamodel_version "1.7.0" ; - linkml:prefixes [ linkml:prefix_prefix "oslc" ; - linkml:prefix_reference oslc: ], - [ linkml:prefix_prefix "pav" ; - linkml:prefix_reference pav: ], - [ linkml:prefix_prefix "OIO" ; - linkml:prefix_reference OIO: ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference linkml: ], + linkml:prefixes [ linkml:prefix_prefix "skos" ; + linkml:prefix_reference skos: ], [ linkml:prefix_prefix "bibo" ; linkml:prefix_reference bibo: ], + [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference linkml: ], + [ linkml:prefix_prefix "pav" ; + linkml:prefix_reference pav: ], [ linkml:prefix_prefix "schema" ; linkml:prefix_reference schema: ], - [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference skos: ] ; + [ linkml:prefix_prefix "OIO" ; + linkml:prefix_reference OIO: ], + [ linkml:prefix_prefix "oslc" ; + linkml:prefix_reference oslc: ] ; linkml:slots linkml:abstract, linkml:alias, linkml:aliases, @@ -2349,7 +2349,7 @@ linkml:meta a linkml:SchemaDefinition ; linkml:values_from, linkml:version ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021"^^xsd:dateTime ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021"^^xsd:dateTime ; linkml:source_file_size 34566 ; linkml:subsets linkml:owl ; linkml:types linkml:boolean, diff --git a/linkml_model/rdf/types.model.ttl b/linkml_model/rdf/types.model.ttl index 0755e97f..72307800 100644 --- a/linkml_model/rdf/types.model.ttl +++ b/linkml_model/rdf/types.model.ttl @@ -6,7 +6,7 @@ linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Shared type definitions for the core LinkML mode and metamodel" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; linkml:metamodel_version "1.7.0" ; @@ -18,17 +18,10 @@ [ linkml:prefix_prefix "xsd" ; linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ] ; linkml:source_file "types.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 2676 ; linkml:title "Core LinkML metamodel types" ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], - [ a linkml:TypeDefinition ; linkml:base "URIorCURIE" ; linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; linkml:description "a URI or a CURIE" ; @@ -37,21 +30,30 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "datetime" ; + linkml:name "date" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; - linkml:base "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + linkml:name "objectidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#iri" ], + [ a linkml:TypeDefinition ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Float" ; + linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; linkml:base "NodeIdentifier" ; linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; @@ -61,20 +63,43 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "URI" ; + linkml:definition_uri "https://w3id.org/linkml/Uri" ; + linkml:description "a complete URI" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "ncname" ; + linkml:name "uri" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + [ a linkml:TypeDefinition ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "datetime" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], + [ a linkml:TypeDefinition ; + linkml:base "Bool" ; + linkml:definition_uri "https://w3id.org/linkml/Boolean" ; + linkml:description "A binary (true or false) value" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "boolean" ; + linkml:repr "bool" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; linkml:base "int" ; linkml:definition_uri "https://w3id.org/linkml/Integer" ; @@ -82,15 +107,6 @@ linkml:from_schema "https://w3id.org/linkml/types" ; linkml:name "integer" ; linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], - [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "objectidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "XSDTime" ; linkml:definition_uri "https://w3id.org/linkml/Time" ; @@ -101,36 +117,20 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "ncname" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], - [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; linkml:description "A character string" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:name "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], - [ a linkml:TypeDefinition ; - linkml:base "URI" ; - linkml:definition_uri "https://w3id.org/linkml/Uri" ; - linkml:description "a complete URI" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "uri" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ] ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/rdf/types.ttl b/linkml_model/rdf/types.ttl index 6202b3f2..050d81f1 100644 --- a/linkml_model/rdf/types.ttl +++ b/linkml_model/rdf/types.ttl @@ -6,30 +6,29 @@ linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Shared type definitions for the core LinkML mode and metamodel" ; - linkml:generation_date "2021-08-18 16:51" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; linkml:metamodel_version "1.7.0" ; linkml:name "types" ; - linkml:prefixes [ linkml:prefix_prefix "xsd" ; - linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ], + linkml:prefixes [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference "https://w3id.org/linkml/" ], [ linkml:prefix_prefix "shex" ; linkml:prefix_reference "http://www.w3.org/ns/shex#" ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference "https://w3id.org/linkml/" ] ; + [ linkml:prefix_prefix "xsd" ; + linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ] ; linkml:source_file "types.yaml" ; - linkml:source_file_date "Wed Aug 18 16:49:07 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 2676 ; linkml:title "Core LinkML metamodel types" ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "ncname" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "int" ; linkml:definition_uri "https://w3id.org/linkml/Integer" ; @@ -37,6 +36,14 @@ linkml:from_schema "https://w3id.org/linkml/types" ; linkml:name "integer" ; linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + [ a linkml:TypeDefinition ; + linkml:base "Bool" ; + linkml:definition_uri "https://w3id.org/linkml/Boolean" ; + linkml:description "A binary (true or false) value" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "boolean" ; + linkml:repr "bool" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Double" ; @@ -44,15 +51,6 @@ linkml:from_schema "https://w3id.org/linkml/types" ; linkml:name "double" ; linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Float" ; @@ -61,28 +59,22 @@ linkml:name "float" ; linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], - [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "objectidentifier" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "uriorcurie" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "XSDDateTime" ; linkml:definition_uri "https://w3id.org/linkml/Datetime" ; @@ -91,6 +83,22 @@ linkml:name "datetime" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + [ a linkml:TypeDefinition ; + linkml:base "ElementIdentifier" ; + linkml:comments "Used for inheritence and type checking" ; + linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; + linkml:description "A URI or CURIE that represents an object in the model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "objectidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#iri" ], + [ a linkml:TypeDefinition ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -99,14 +107,6 @@ linkml:name "uri" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], - [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "NodeIdentifier" ; linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; @@ -116,21 +116,21 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "ncname" ; + linkml:name "date" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; - linkml:base "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ] ; + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ] ; linkml:version "2.0.0" . diff --git a/linkml_model/types.py b/linkml_model/types.py index f3b1e5cb..4882fdab 100644 --- a/linkml_model/types.py +++ b/linkml_model/types.py @@ -1,5 +1,5 @@ # Auto generated from types.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-08-18 16:51 +# Generation date: 2021-08-19 17:51 # Schema: types # # id: https://w3id.org/linkml/types @@ -12,7 +12,6 @@ from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass -from linkml_runtime.linkml_model.meta import EnumDefinition, PermissibleValue, PvFormulaOptions from linkml_runtime.utils.slot import Slot from linkml_runtime.utils.metamodelcore import empty_list, empty_dict, bnode