From ae921f9c1b1a9a3026cda99913e344992c87f380 Mon Sep 17 00:00:00 2001 From: hsolbrig Date: Thu, 19 Aug 2021 13:07:45 -0500 Subject: [PATCH 1/2] Update to latest model --- linkml_runtime/linkml_model/annotations.py | 4 +- linkml_runtime/linkml_model/extensions.py | 4 +- .../linkml_model/graphql/meta.graphql | 1 + .../linkml_model/json/annotations.json | 4 +- .../linkml_model/json/extensions.json | 4 +- .../linkml_model/json/mappings.json | 4 +- linkml_runtime/linkml_model/json/meta.json | 33 +- linkml_runtime/linkml_model/json/types.json | 4 +- .../jsonld/annotations.context.jsonld | 2 +- .../jsonld/annotations.model.context.jsonld | 2 +- .../linkml_model/jsonld/context.jsonld | 5 +- .../jsonld/extensions.context.jsonld | 2 +- .../jsonld/extensions.model.context.jsonld | 2 +- .../jsonld/mappings.context.jsonld | 2 +- .../jsonld/mappings.model.context.jsonld | 2 +- .../linkml_model/jsonld/meta.context.jsonld | 5 +- .../jsonld/meta.model.context.jsonld | 5 +- .../linkml_model/jsonld/types.context.jsonld | 2 +- .../jsonld/types.model.context.jsonld | 2 +- .../jsonschema/annotations.schema.json | 1 + .../jsonschema/extensions.schema.json | 1 + .../jsonschema/mappings.schema.json | 1 + .../linkml_model/jsonschema/meta.schema.json | 11 + .../linkml_model/jsonschema/types.schema.json | 1 + linkml_runtime/linkml_model/mappings.py | 4 +- linkml_runtime/linkml_model/meta.py | 16 +- .../linkml_model/model/docs/credits.md | 3 + .../linkml_model/model/docs/home.md | 4 + .../linkml_model/model/import_map.json | 3 + .../linkml_model/model/schema/meta.yaml | 11 + linkml_runtime/linkml_model/owl/meta.owl.ttl | 539 +++++++++--------- .../linkml_model/rdf/annotations.model.ttl | 192 +++---- .../linkml_model/rdf/annotations.ttl | 226 ++++---- .../linkml_model/rdf/extensions.model.ttl | 168 +++--- .../linkml_model/rdf/extensions.ttl | 142 ++--- .../linkml_model/rdf/mappings.model.ttl | 196 +++---- linkml_runtime/linkml_model/rdf/mappings.ttl | 204 +++---- .../linkml_model/rdf/meta.model.ttl | 60 +- linkml_runtime/linkml_model/rdf/meta.ttl | 68 ++- .../linkml_model/rdf/types.model.ttl | 98 ++-- linkml_runtime/linkml_model/rdf/types.ttl | 124 ++-- linkml_runtime/linkml_model/shex/meta.shex | 1 + linkml_runtime/linkml_model/shex/meta.shexj | 7 + linkml_runtime/linkml_model/types.py | 4 +- 44 files changed, 1145 insertions(+), 1029 deletions(-) create mode 100644 linkml_runtime/linkml_model/model/docs/credits.md create mode 100644 linkml_runtime/linkml_model/model/docs/home.md create mode 100644 linkml_runtime/linkml_model/model/import_map.json diff --git a/linkml_runtime/linkml_model/annotations.py b/linkml_runtime/linkml_model/annotations.py index 985b1b08..6841e1f9 100644 --- a/linkml_runtime/linkml_model/annotations.py +++ b/linkml_runtime/linkml_model/annotations.py @@ -1,5 +1,5 @@ # Auto generated from annotations.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-06-30 17:04 +# Generation date: 2021-08-19 17:51 # Schema: annotations # # id: https://w3id.org/linkml/annotations @@ -9,7 +9,7 @@ import dataclasses import sys import re -from jsonasobj2 import JsonObj +from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass diff --git a/linkml_runtime/linkml_model/extensions.py b/linkml_runtime/linkml_model/extensions.py index 8d82aea3..1a521cf5 100644 --- a/linkml_runtime/linkml_model/extensions.py +++ b/linkml_runtime/linkml_model/extensions.py @@ -1,5 +1,5 @@ # Auto generated from extensions.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-06-30 17:04 +# Generation date: 2021-08-19 17:51 # Schema: extensions # # id: https://w3id.org/linkml/extensions @@ -9,7 +9,7 @@ import dataclasses import sys import re -from jsonasobj2 import JsonObj +from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass diff --git a/linkml_runtime/linkml_model/graphql/meta.graphql b/linkml_runtime/linkml_model/graphql/meta.graphql index 7a6dcfa4..21fa4d20 100644 --- a/linkml_runtime/linkml_model/graphql/meta.graphql +++ b/linkml_runtime/linkml_model/graphql/meta.graphql @@ -345,6 +345,7 @@ type SlotDefinition inlinedAsList: Boolean key: Boolean identifier: Boolean + designatesType: Boolean alias: String owner: Definition domainOf: [ClassDefinition] diff --git a/linkml_runtime/linkml_model/json/annotations.json b/linkml_runtime/linkml_model/json/annotations.json index b9bf3461..d4052647 100644 --- a/linkml_runtime/linkml_model/json/annotations.json +++ b/linkml_runtime/linkml_model/json/annotations.json @@ -316,9 +316,9 @@ ], "metamodel_version": "1.7.0", "source_file": "annotations.yaml", - "source_file_date": "Wed Jun 30 17:02:39 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 833, - "generation_date": "2021-06-30 17:04", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_runtime/linkml_model/json/extensions.json b/linkml_runtime/linkml_model/json/extensions.json index 224a9557..202768c7 100644 --- a/linkml_runtime/linkml_model/json/extensions.json +++ b/linkml_runtime/linkml_model/json/extensions.json @@ -260,9 +260,9 @@ ], "metamodel_version": "1.7.0", "source_file": "extensions.yaml", - "source_file_date": "Wed Jun 30 17:02:39 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 1043, - "generation_date": "2021-06-30 17:04", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_runtime/linkml_model/json/mappings.json b/linkml_runtime/linkml_model/json/mappings.json index b3aa22f9..63de6310 100644 --- a/linkml_runtime/linkml_model/json/mappings.json +++ b/linkml_runtime/linkml_model/json/mappings.json @@ -311,9 +311,9 @@ ], "metamodel_version": "1.7.0", "source_file": "mappings.yaml", - "source_file_date": "Wed Jun 30 17:02:39 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 2656, - "generation_date": "2021-06-30 17:04", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_runtime/linkml_model/json/meta.json b/linkml_runtime/linkml_model/json/meta.json index a8de9ce1..dd8e3c58 100644 --- a/linkml_runtime/linkml_model/json/meta.json +++ b/linkml_runtime/linkml_model/json/meta.json @@ -878,6 +878,9 @@ "schema:schemaVersion" ], "description": "particular version of schema", + "in_subset": [ + "owl" + ], "from_schema": "https://w3id.org/linkml/meta", "domain": "SchemaDefinition", "range": "string", @@ -1564,6 +1567,21 @@ ], "@type": "SlotDefinition" }, + { + "name": "designates_type", + "definition_uri": "https://w3id.org/linkml/designates_type", + "description": "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition", + "from_schema": "https://w3id.org/linkml/meta", + "domain": "SlotDefinition", + "range": "boolean", + "slot_uri": "https://w3id.org/linkml/designates_type", + "inherited": true, + "owner": "SlotDefinition", + "domain_of": [ + "SlotDefinition" + ], + "@type": "SlotDefinition" + }, { "name": "alias", "definition_uri": "https://w3id.org/linkml/alias", @@ -2742,11 +2760,11 @@ "column", "variable" ], - "description": "the definition of a property or a slot", - "from_schema": "https://w3id.org/linkml/meta", "close_mappings": [ "rdf:Property" ], + "description": "the definition of a property or a slot", + "from_schema": "https://w3id.org/linkml/meta", "is_a": "Definition", "slots": [ "name", @@ -2798,6 +2816,7 @@ "inlined_as_list", "key", "identifier", + "designates_type", "alias", "owner", "domain_of", @@ -2829,11 +2848,11 @@ "message", "observation" ], - "description": "the definition of a class or interface", - "from_schema": "https://w3id.org/linkml/meta", "close_mappings": [ "owl:Class" ], + "description": "the definition of a class or interface", + "from_schema": "https://w3id.org/linkml/meta", "is_a": "Definition", "slots": [ "name", @@ -3058,9 +3077,9 @@ ], "metamodel_version": "1.7.0", "source_file": "meta.yaml", - "source_file_date": "Wed Jun 30 17:02:39 2021", - "source_file_size": 34275, - "generation_date": "2021-06-30 17:04", + "source_file_date": "Thu Aug 19 17:49:00 2021", + "source_file_size": 34566, + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ "https://w3id.org/linkml/types.context.jsonld", diff --git a/linkml_runtime/linkml_model/json/types.json b/linkml_runtime/linkml_model/json/types.json index a3ea0811..095742b4 100644 --- a/linkml_runtime/linkml_model/json/types.json +++ b/linkml_runtime/linkml_model/json/types.json @@ -169,9 +169,9 @@ ], "metamodel_version": "1.7.0", "source_file": "types.yaml", - "source_file_date": "Wed Jun 30 17:02:39 2021", + "source_file_date": "Thu Aug 19 17:49:00 2021", "source_file_size": 2676, - "generation_date": "2021-06-30 17:04", + "generation_date": "2021-08-19 17:50", "@type": "SchemaDefinition", "@context": [ { diff --git a/linkml_runtime/linkml_model/jsonld/annotations.context.jsonld b/linkml_runtime/linkml_model/jsonld/annotations.context.jsonld index 6c7a7e3c..fe92b28d 100644 --- a/linkml_runtime/linkml_model/jsonld/annotations.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/annotations.model.context.jsonld b/linkml_runtime/linkml_model/jsonld/annotations.model.context.jsonld index 6c7a7e3c..fe92b28d 100644 --- a/linkml_runtime/linkml_model/jsonld/annotations.model.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/context.jsonld b/linkml_runtime/linkml_model/jsonld/context.jsonld index 05ee090c..ef24602d 100644 --- a/linkml_runtime/linkml_model/jsonld/context.jsonld +++ b/linkml_runtime/linkml_model/jsonld/context.jsonld @@ -1,5 +1,5 @@ { - "_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-06-30 17:04\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-17 19:04\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_", @@ -82,6 +82,9 @@ "description": { "@id": "skos:definition" }, + "designates_type": { + "@type": "xsd:boolean" + }, "domain": { "@type": "@id" }, diff --git a/linkml_runtime/linkml_model/jsonld/extensions.context.jsonld b/linkml_runtime/linkml_model/jsonld/extensions.context.jsonld index bcc6dac7..91c85c54 100644 --- a/linkml_runtime/linkml_model/jsonld/extensions.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/extensions.model.context.jsonld b/linkml_runtime/linkml_model/jsonld/extensions.model.context.jsonld index bcc6dac7..91c85c54 100644 --- a/linkml_runtime/linkml_model/jsonld/extensions.model.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/mappings.context.jsonld b/linkml_runtime/linkml_model/jsonld/mappings.context.jsonld index 84fa50e9..131bef79 100644 --- a/linkml_runtime/linkml_model/jsonld/mappings.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/mappings.model.context.jsonld b/linkml_runtime/linkml_model/jsonld/mappings.model.context.jsonld index 84fa50e9..131bef79 100644 --- a/linkml_runtime/linkml_model/jsonld/mappings.model.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/meta.context.jsonld b/linkml_runtime/linkml_model/jsonld/meta.context.jsonld index 05ee090c..c7a0dbfe 100644 --- a/linkml_runtime/linkml_model/jsonld/meta.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_", @@ -82,6 +82,9 @@ "description": { "@id": "skos:definition" }, + "designates_type": { + "@type": "xsd:boolean" + }, "domain": { "@type": "@id" }, diff --git a/linkml_runtime/linkml_model/jsonld/meta.model.context.jsonld b/linkml_runtime/linkml_model/jsonld/meta.model.context.jsonld index 05ee090c..c7a0dbfe 100644 --- a/linkml_runtime/linkml_model/jsonld/meta.model.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_", @@ -82,6 +82,9 @@ "description": { "@id": "skos:definition" }, + "designates_type": { + "@type": "xsd:boolean" + }, "domain": { "@type": "@id" }, diff --git a/linkml_runtime/linkml_model/jsonld/types.context.jsonld b/linkml_runtime/linkml_model/jsonld/types.context.jsonld index f7d37e6c..df3129bc 100644 --- a/linkml_runtime/linkml_model/jsonld/types.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonld/types.model.context.jsonld b/linkml_runtime/linkml_model/jsonld/types.model.context.jsonld index f7d37e6c..df3129bc 100644 --- a/linkml_runtime/linkml_model/jsonld/types.model.context.jsonld +++ b/linkml_runtime/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-06-30 17:04\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_runtime/linkml_model/jsonschema/annotations.schema.json b/linkml_runtime/linkml_model/jsonschema/annotations.schema.json index 9b7be127..7f7416e0 100644 --- a/linkml_runtime/linkml_model/jsonschema/annotations.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/annotations.schema.json @@ -1,6 +1,7 @@ { "$id": "https://w3id.org/linkml/annotations", "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "definitions": { "Annotation": { "additionalProperties": false, diff --git a/linkml_runtime/linkml_model/jsonschema/extensions.schema.json b/linkml_runtime/linkml_model/jsonschema/extensions.schema.json index 0ffab2f9..d0a46c12 100644 --- a/linkml_runtime/linkml_model/jsonschema/extensions.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/extensions.schema.json @@ -1,6 +1,7 @@ { "$id": "https://w3id.org/linkml/extensions", "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "definitions": { "Extension": { "additionalProperties": false, diff --git a/linkml_runtime/linkml_model/jsonschema/mappings.schema.json b/linkml_runtime/linkml_model/jsonschema/mappings.schema.json index e6ba32c4..e1cec8ad 100644 --- a/linkml_runtime/linkml_model/jsonschema/mappings.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/mappings.schema.json @@ -1,6 +1,7 @@ { "$id": "https://w3id.org/linkml/mappings", "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "definitions": {}, "properties": {}, "title": "mappings", diff --git a/linkml_runtime/linkml_model/jsonschema/meta.schema.json b/linkml_runtime/linkml_model/jsonschema/meta.schema.json index fb1fc81b..f4021971 100644 --- a/linkml_runtime/linkml_model/jsonschema/meta.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/meta.schema.json @@ -1,6 +1,7 @@ { "$id": "https://w3id.org/linkml/meta", "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "definitions": { "AltDescription": { "additionalProperties": false, @@ -127,6 +128,7 @@ }, "created_on": { "description": "time at which the element was created", + "format": "date-time", "type": "string" }, "defining_slots": { @@ -204,6 +206,7 @@ }, "last_updated_on": { "description": "time at which the element was last updated", + "format": "date-time", "type": "string" }, "local_names": { @@ -836,6 +839,7 @@ }, "generation_date": { "description": "date and time that the schema was loaded/generated", + "format": "date-time", "type": "string" }, "id": { @@ -939,6 +943,7 @@ }, "source_file_date": { "description": "modification date of the source of the schema", + "format": "date-time", "type": "string" }, "source_file_size": { @@ -1046,6 +1051,7 @@ }, "created_on": { "description": "time at which the element was created", + "format": "date-time", "type": "string" }, "definition_uri": { @@ -1068,6 +1074,10 @@ "description": "a description of the element's purpose and use", "type": "string" }, + "designates_type": { + "description": "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition", + "type": "boolean" + }, "domain": { "description": "defines the type of the subject of the slot. Given the following slot definition\n S1:\n domain: C1\n range: C2\nthe declaration\n X:\n S1: Y\n\nimplicitly asserts that X is an instance of C1\n", "type": "string" @@ -1163,6 +1173,7 @@ }, "last_updated_on": { "description": "time at which the element was last updated", + "format": "date-time", "type": "string" }, "local_names": { diff --git a/linkml_runtime/linkml_model/jsonschema/types.schema.json b/linkml_runtime/linkml_model/jsonschema/types.schema.json index f4b0c75a..008b74cb 100644 --- a/linkml_runtime/linkml_model/jsonschema/types.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/types.schema.json @@ -1,6 +1,7 @@ { "$id": "https://w3id.org/linkml/types", "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "definitions": {}, "properties": {}, "title": "types", diff --git a/linkml_runtime/linkml_model/mappings.py b/linkml_runtime/linkml_model/mappings.py index 261777d6..ae27457d 100644 --- a/linkml_runtime/linkml_model/mappings.py +++ b/linkml_runtime/linkml_model/mappings.py @@ -1,5 +1,5 @@ # Auto generated from mappings.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-06-30 17:04 +# Generation date: 2021-08-19 17:51 # Schema: mappings # # id: https://w3id.org/linkml/mappings @@ -9,7 +9,7 @@ import dataclasses import sys import re -from jsonasobj2 import JsonObj +from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass diff --git a/linkml_runtime/linkml_model/meta.py b/linkml_runtime/linkml_model/meta.py index 2cd257b0..95beae20 100644 --- a/linkml_runtime/linkml_model/meta.py +++ b/linkml_runtime/linkml_model/meta.py @@ -1,5 +1,5 @@ # Auto generated from meta.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-06-30 17:04 +# Generation date: 2021-08-19 17:51 # Schema: meta # # id: https://w3id.org/linkml/meta @@ -9,7 +9,7 @@ import dataclasses import sys import re -from jsonasobj2 import JsonObj +from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass @@ -147,7 +147,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if not isinstance(self.examples, list): self.examples = [self.examples] if self.examples is not None else [] - self.examples = [v if isinstance(v, Example) else Example(**v) for v in self.examples] + self.examples = [v if isinstance(v, Example) else Example(**as_dict(v)) for v in self.examples] if not isinstance(self.in_subset, list): self.in_subset = [self.in_subset] if self.in_subset is not None else [] @@ -280,7 +280,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if not isinstance(self.examples, list): self.examples = [self.examples] if self.examples is not None else [] - self.examples = [v if isinstance(v, Example) else Example(**v) for v in self.examples] + self.examples = [v if isinstance(v, Example) else Example(**as_dict(v)) for v in self.examples] if not isinstance(self.in_subset, list): self.in_subset = [self.in_subset] if self.in_subset is not None else [] @@ -587,7 +587,7 @@ class SlotDefinition(Definition): """ the definition of a property or a slot """ - _inherited_slots: ClassVar[List[str]] = ["domain", "range", "multivalued", "inherited", "readonly", "ifabsent", "required", "recommended", "inlined", "inlined_as_list", "key", "identifier", "role", "minimum_value", "maximum_value", "pattern"] + _inherited_slots: ClassVar[List[str]] = ["domain", "range", "multivalued", "inherited", "readonly", "ifabsent", "required", "recommended", "inlined", "inlined_as_list", "key", "identifier", "designates_type", "role", "minimum_value", "maximum_value", "pattern"] class_class_uri: ClassVar[URIRef] = LINKML.SlotDefinition class_class_curie: ClassVar[str] = "linkml:SlotDefinition" @@ -609,6 +609,7 @@ class SlotDefinition(Definition): inlined_as_list: Optional[Union[bool, Bool]] = None key: Optional[Union[bool, Bool]] = None identifier: Optional[Union[bool, Bool]] = None + designates_type: Optional[Union[bool, Bool]] = None alias: Optional[str] = None owner: Optional[Union[str, DefinitionName]] = None domain_of: Optional[Union[Union[str, ClassDefinitionName], List[Union[str, ClassDefinitionName]]]] = empty_list() @@ -674,6 +675,9 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if self.identifier is not None and not isinstance(self.identifier, Bool): self.identifier = Bool(self.identifier) + if self.designates_type is not None and not isinstance(self.designates_type, Bool): + self.designates_type = Bool(self.designates_type) + if self.alias is not None and not isinstance(self.alias, str): self.alias = str(self.alias) @@ -984,7 +988,7 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if not isinstance(self.examples, list): self.examples = [self.examples] if self.examples is not None else [] - self.examples = [v if isinstance(v, Example) else Example(**v) for v in self.examples] + self.examples = [v if isinstance(v, Example) else Example(**as_dict(v)) for v in self.examples] if not isinstance(self.in_subset, list): self.in_subset = [self.in_subset] if self.in_subset is not None else [] diff --git a/linkml_runtime/linkml_model/model/docs/credits.md b/linkml_runtime/linkml_model/model/docs/credits.md new file mode 100644 index 00000000..18eacdd3 --- /dev/null +++ b/linkml_runtime/linkml_model/model/docs/credits.md @@ -0,0 +1,3 @@ +# Credits + +this project was made using the [Link Model Language (LinkML) framework](https://github.com/linkml/linkml) diff --git a/linkml_runtime/linkml_model/model/docs/home.md b/linkml_runtime/linkml_model/model/docs/home.md new file mode 100644 index 00000000..d8b67640 --- /dev/null +++ b/linkml_runtime/linkml_model/model/docs/home.md @@ -0,0 +1,4 @@ +# Introduction + +about my_schema + diff --git a/linkml_runtime/linkml_model/model/import_map.json b/linkml_runtime/linkml_model/model/import_map.json new file mode 100644 index 00000000..0db3279e --- /dev/null +++ b/linkml_runtime/linkml_model/model/import_map.json @@ -0,0 +1,3 @@ +{ + +} diff --git a/linkml_runtime/linkml_model/model/schema/meta.yaml b/linkml_runtime/linkml_model/model/schema/meta.yaml index 991998d7..a25dfa22 100644 --- a/linkml_runtime/linkml_model/model/schema/meta.yaml +++ b/linkml_runtime/linkml_model/model/schema/meta.yaml @@ -340,6 +340,8 @@ slots: domain: schema_definition description: particular version of schema slot_uri: pav:version + in_subset: + - owl mappings: - schema:schemaVersion @@ -699,6 +701,14 @@ slots: - a given domain can have at most one identifier - identifiers and keys are mutually exclusive. A given domain cannot have both + designates_type: + domain: slot_definition + range: boolean + inherited: true + description: >- + True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition + + alias: domain: slot_definition range: string @@ -1079,6 +1089,7 @@ classes: - inlined_as_list - key - identifier + - designates_type - alias - owner - domain_of diff --git a/linkml_runtime/linkml_model/owl/meta.owl.ttl b/linkml_runtime/linkml_model/owl/meta.owl.ttl index a76ea860..8cd9b8f9 100644 --- a/linkml_runtime/linkml_model/owl/meta.owl.ttl +++ b/linkml_runtime/linkml_model/owl/meta.owl.ttl @@ -126,11 +126,11 @@ 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-06-30 17:04" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:metamodel_version "1.7.0" ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021" ; - linkml:source_file_size 34275 . + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_size 34566 . linkml:permissible_value_is_a a owl:ObjectProperty, linkml:SlotDefinition ; @@ -343,6 +343,13 @@ linkml:definition_uri a owl:ObjectProperty, skos:definition "the \"native\" URI of the element" ; skos:note "Formed by combining the default_prefix with the mangled element" . +linkml:designates_type a owl:ObjectProperty, + linkml:SlotDefinition ; + rdfs:label "designates_type" ; + rdfs:domain linkml:SlotDefinition ; + rdfs:range linkml:Boolean ; + skos:definition "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition" . + linkml:domain a owl:ObjectProperty, linkml:SlotDefinition ; rdfs:label "domain" ; @@ -866,16 +873,22 @@ linkml:CommonMetadata a owl:Class, linkml:ClassDefinition ; rdfs:label "common_metadata" ; rdfs:subClassOf [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_exact_replacement ], + [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:description ], + owl:onProperty linkml:deprecated ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; owl:onProperty linkml:see_also ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:from_schema ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:notes ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:todos ], [ a owl:Restriction ; owl:allValuesFrom linkml:AltDescription ; owl:onProperty linkml:alt_descriptions ], @@ -887,44 +900,38 @@ linkml:CommonMetadata a owl:Class, owl:onProperty linkml:in_subset ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:todos ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_possible_replacement ], + owl:onProperty linkml:comments ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:deprecated ], + owl:onProperty linkml:description ], [ 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:comments ], + 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_exact_replacement ], + owl:onProperty linkml:deprecated_element_has_possible_replacement ], linkml:mixin ; skos:definition "Generic metadata shared across definitions" . linkml:UniqueKey a owl:Class, linkml:ClassDefinition ; rdfs:label "unique_key" ; - rdfs:subClassOf [ a owl:Class ; + rdfs:subClassOf [ a owl:Restriction ; + owl:allValuesFrom linkml:Extension ; + owl:onProperty linkml:extensions ], + [ a owl:Class ; owl:intersectionOf ( [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:unique_key_slots ] [ a owl:Restriction ; owl:onProperty linkml:unique_key_slots ; owl:someValuesFrom linkml:SlotDefinition ] ) ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], [ a owl:Restriction ; owl:allValuesFrom linkml:Annotation ; owl:onProperty linkml:annotations ], @@ -1057,12 +1064,12 @@ linkml:LocalName a owl:Class, linkml:ClassDefinition ; rdfs:label "local_name" ; rdfs:subClassOf [ a owl:Restriction ; - owl:onClass linkml:String ; - owl:onProperty linkml:local_name_value ; - owl:qualifiedCardinality 1 ], - [ a owl:Restriction ; owl:onClass linkml:Ncname ; owl:onProperty linkml:local_name_source ; + owl:qualifiedCardinality 1 ], + [ a owl:Restriction ; + owl:onClass linkml:String ; + owl:onProperty linkml:local_name_value ; owl:qualifiedCardinality 1 ] ; skos:definition "an attributed label" . @@ -1070,12 +1077,12 @@ linkml:Prefix a owl:Class, linkml:ClassDefinition ; rdfs:label "prefix" ; rdfs:subClassOf [ a owl:Restriction ; - owl:onClass linkml:Ncname ; - owl:onProperty linkml:prefix_prefix ; - owl:qualifiedCardinality 1 ], - [ a owl:Restriction ; owl:onClass linkml:Uri ; owl:onProperty linkml:prefix_reference ; + owl:qualifiedCardinality 1 ], + [ a owl:Restriction ; + owl:onClass linkml:Ncname ; + owl:onProperty linkml:prefix_prefix ; owl:qualifiedCardinality 1 ] ; skos:definition "prefix URI tuple" . @@ -1147,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, @@ -1188,10 +1195,14 @@ linkml:EnumDefinition a owl:Class, rdfs:subClassOf [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:code_set_version ], + 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 ; @@ -1199,11 +1210,7 @@ linkml:EnumDefinition a owl:Class, [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:code_set_tag ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:code_set ], + owl:onProperty linkml:code_set_version ], linkml:Element ; skos:definition "List of values that constrain the range of a slot" . @@ -1270,71 +1277,71 @@ linkml:PermissibleValue a owl:Class, linkml:ClassDefinition ; rdfs:label "permissible_value" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_exact_replacement ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SubsetDefinition ; - owl:onProperty linkml:in_subset ], + owl:onClass linkml:String ; + owl:onProperty linkml:text ; + owl:qualifiedCardinality 1 ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:from_schema ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:todos ], + owl:onProperty linkml:notes ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Annotation ; - owl:onProperty linkml:annotations ], + owl:maxQualifiedCardinality 1 ; + 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:maxQualifiedCardinality 1 ; - owl:onClass linkml:PermissibleValue ; - owl:onProperty linkml:is_a ], + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:description ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:meaning ], + owl:onProperty linkml:deprecated ], [ a owl:Restriction ; owl:allValuesFrom linkml:PermissibleValue ; owl:onProperty linkml:mixins ], [ 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 ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_exact_replacement ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_possible_replacement ], [ 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:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:meaning ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], + 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:Annotation ; + owl:onProperty linkml:annotations ], + [ 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:onClass linkml:String ; - owl:onProperty linkml:text ; - owl:qualifiedCardinality 1 ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:comments ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:deprecated ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:todos ], linkml:Annotatable, linkml:CommonMetadata, linkml:Extensible ; @@ -1349,22 +1356,16 @@ linkml:Definition a owl:Class, rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_element_definition" ; rdfs:subClassOf [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:abstract ], + owl:onClass linkml:Datetime ; + owl:onProperty linkml:created_on ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:modified_by ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Definition ; - owl:onProperty linkml:mixins ], + 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:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:values_from ], + owl:onClass linkml:Definition ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; @@ -1372,26 +1373,32 @@ linkml:Definition a owl:Class, [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:status ], + 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:last_updated_on ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Definition ; - owl:onProperty linkml:is_a ], + 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:String ; - owl:onProperty linkml:string_serialization ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:abstract ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Definition ; - owl:onProperty linkml:apply_to ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:created_by ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Datetime ; - owl:onProperty linkml:created_on ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:status ], linkml:Element ; skos:definition "base class for definitions" . @@ -1400,80 +1407,80 @@ 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 ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:default_prefix ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:source_file_size ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Datetime ; owl:onProperty linkml:generation_date ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:source_file_size ], + owl:allValuesFrom linkml:SubsetDefinition ; + owl:onProperty linkml:subsets ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:TypeDefinition ; - owl:onProperty linkml:default_range ], + 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:ClassDefinition ; - owl:onProperty linkml:classes ], + owl:onProperty linkml:source_file ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:metamodel_version ], + owl:onProperty linkml:license ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:title ], + owl:onProperty linkml:version ], [ a owl:Restriction ; - owl:allValuesFrom linkml:TypeDefinition ; - owl:onProperty linkml:types ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:metamodel_version ], [ a owl:Restriction ; - owl:allValuesFrom linkml:SubsetDefinition ; - owl:onProperty linkml:subsets ], + owl:allValuesFrom linkml:Prefix ; + owl:onProperty linkml:prefixes ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:license ], + 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:source_file_date ], - [ a owl:Restriction ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:id ; - owl:qualifiedCardinality 1 ], + owl:onClass linkml:String ; + owl:onProperty linkml:title ], [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:slots ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:default_curi_maps ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Prefix ; - owl:onProperty linkml:prefixes ], + owl:allValuesFrom linkml:TypeDefinition ; + owl:onProperty linkml:types ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:source_file ], - [ a owl:Restriction ; - owl:onClass linkml:Ncname ; - owl:onProperty linkml:name ; - owl:qualifiedCardinality 1 ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:imports ], + owl:onProperty linkml:default_prefix ], linkml:Element ; skos:altLabel "data dictionary" ; skos:definition "a collection of subset, type, slot and class definitions" . @@ -1482,13 +1489,13 @@ linkml:TypeDefinition a owl:Class, linkml:ClassDefinition ; rdfs:label "type_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:TypeDefinition ; - owl:onProperty linkml:typeof ], - [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:uri ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:TypeDefinition ; + owl:onProperty linkml:typeof ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; @@ -1500,150 +1507,150 @@ linkml:TypeDefinition a owl:Class, linkml:Element ; skos:definition "A data type definition." . -linkml:Boolean a owl:Class, - linkml:TypeDefinition ; - rdfs:label "boolean" ; - rdfs:subClassOf [ a owl:Restriction ; - owl:onDataRange xsd:boolean ; - owl:onProperty linkml:topValue ; - owl:qualifiedCardinality 1 ] ; - skos:definition "A binary (true or false) value" . - linkml:Element a owl:Class, linkml:ClassDefinition ; rdfs:label "element" ; rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_element" ; rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:Ncname ; - owl:onProperty linkml:id_prefixes ], + 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:Uriorcurie ; - owl:onProperty linkml:mappings ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:notes ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:exact_mappings ], + owl:onProperty linkml:see_also ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:todos ], + 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:description ], + owl:onProperty linkml:imported_from ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:related_mappings ], + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:definition_uri ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:aliases ], + [ a owl:Restriction ; + 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:Uriorcurie ; owl:onProperty linkml:close_mappings ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Ncname ; + owl:onProperty linkml:id_prefixes ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_possible_replacement ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_exact_replacement ], [ a owl:Restriction ; - owl:onClass linkml:String ; - owl:onProperty linkml:name ; - owl:qualifiedCardinality 1 ], + owl:allValuesFrom linkml:Extension ; + owl:onProperty linkml:extensions ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:broad_mappings ], + owl:onProperty linkml:narrow_mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:narrow_mappings ], + owl:onProperty linkml:mappings ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], + owl:allValuesFrom linkml:SubsetDefinition ; + owl:onProperty linkml:in_subset ], [ a owl:Restriction ; owl:allValuesFrom linkml:LocalName ; owl:onProperty linkml:local_names ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:from_schema ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:imported_from ], [ 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:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], + owl:onProperty linkml:broad_mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], + owl:onProperty linkml:todos ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Annotation ; - owl:onProperty linkml:annotations ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:related_mappings ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:definition_uri ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:exact_mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:aliases ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SubsetDefinition ; - owl:onProperty linkml:in_subset ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_possible_replacement ], + owl:onProperty linkml:comments ], linkml:Annotatable, linkml:CommonMetadata, linkml:Extensible ; skos:definition "a named element in the model" . +linkml:Boolean a owl:Class, + linkml:TypeDefinition ; + rdfs:label "boolean" ; + rdfs:subClassOf [ a owl:Restriction ; + owl:onDataRange xsd:boolean ; + owl:onProperty linkml:topValue ; + owl:qualifiedCardinality 1 ] ; + skos:definition "A binary (true or false) value" . + linkml:ClassDefinition a owl:Class, linkml:ClassDefinition ; rdfs:label "class_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:subclass_of ], + 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:ClassDefinition ; - owl:onProperty linkml:apply_to ], + owl:onProperty linkml:subclass_of ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:defining_slots ], - [ 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:slots ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:union_of ], [ 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 ], + owl:onProperty linkml:apply_to ], [ a owl:Restriction ; - owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:mixins ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:ClassDefinition ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:attributes ], + owl:onProperty linkml:slot_usage ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:slot_usage ], + 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", @@ -1675,62 +1682,54 @@ linkml:SlotDefinition a owl:Class, linkml:ClassDefinition ; rdfs:label "slot_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:key ], + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:domain_of ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:apply_to ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:slot_uri ], + owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:singular_name ], + owl:onProperty linkml:pattern ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:role ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:subproperty_of ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:inherited ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:domain_of ], + owl:onProperty linkml:identifier ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Definition ; - owl:onProperty linkml:owner ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; owl:onProperty linkml:required ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:alias ], + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:apply_to ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:pattern ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:recommended ], [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:mixins ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Boolean ; + owl:onProperty linkml:multivalued ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; owl:onProperty linkml:is_usage_slot ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:maximum_value ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:inverse ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:identifier ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:maximum_value ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; @@ -1738,55 +1737,67 @@ linkml:SlotDefinition a owl:Class, [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:usage_slot_name ], + owl:onProperty linkml:alias ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:minimum_value ], + owl:onClass linkml:Element ; + owl:onProperty linkml:range ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:is_class_field ], + owl:onProperty linkml:inherited ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:multivalued ], + owl:onProperty linkml:is_class_field ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:readonly ], + owl:onClass linkml:Definition ; + owl:onProperty linkml:owner ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; owl:onProperty linkml:inlined ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:recommended ], + owl:onClass linkml:ClassDefinition ; + owl:onProperty linkml:domain ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Integer ; + owl:onProperty linkml:minimum_value ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:slot_uri ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:inlined_as_list ], + owl:onProperty linkml:designates_type ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Element ; - owl:onProperty linkml:range ], + 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:ClassDefinition ; - owl:onProperty linkml:domain ], + owl:onClass linkml:String ; + owl:onProperty linkml:role ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:SlotDefinition ; - owl:onProperty linkml:inverse ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:key ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:SlotDefinition ; - owl:onProperty linkml:is_a ], + owl:onClass linkml:String ; + owl:onProperty linkml:usage_slot_name ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Boolean ; + owl:onProperty linkml:inlined_as_list ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; diff --git a/linkml_runtime/linkml_model/rdf/annotations.model.ttl b/linkml_runtime/linkml_model/rdf/annotations.model.ttl index 819b13b3..808f8b68 100644 --- a/linkml_runtime/linkml_model/rdf/annotations.model.ttl +++ b/linkml_runtime/linkml_model/rdf/annotations.model.ttl @@ -4,26 +4,6 @@ [] a linkml:SchemaDefinition ; linkml:classes [ a linkml:ClassDefinition ; - linkml:class_uri "https://w3id.org/linkml/Annotatable" ; - linkml:definition_uri "https://w3id.org/linkml/Annotatable" ; - linkml:description "mixin for classes that support annotations" ; - linkml:from_schema "https://w3id.org/linkml/annotations" ; - linkml:mixin true ; - linkml:name "Annotatable" ; - linkml:slot_usage [ ] ; - linkml:slots "annotations" ], - [ 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" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:imported_from "linkml:extensions" ; - linkml:name "Extension" ; - linkml:slot_usage [ ] ; - linkml:slots "extension_tag", - "extension_value", - "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" ; @@ -45,12 +25,32 @@ 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/Extension" ; + linkml:definition_uri "https://w3id.org/linkml/Extension" ; + linkml:description "a tag/value pair used to add non-model information to an entry" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:imported_from "linkml:extensions" ; + linkml:name "Extension" ; + linkml:slot_usage [ ] ; + linkml:slots "extension_tag", + "extension_value", + "extensions" ], + [ a linkml:ClassDefinition ; + linkml:class_uri "https://w3id.org/linkml/Annotatable" ; + linkml:definition_uri "https://w3id.org/linkml/Annotatable" ; + linkml:description "mixin for classes that support annotations" ; + linkml:from_schema "https://w3id.org/linkml/annotations" ; + linkml:mixin true ; + linkml:name "Annotatable" ; + linkml:slot_usage [ ] ; + linkml:slots "annotations" ] ; linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Annotations mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-06-30 17:04" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/annotations" ; linkml:imports "linkml:extensions", "linkml:types" ; @@ -60,19 +60,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:imported_from "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:definition_uri "https://w3id.org/linkml/extensions" ; linkml:description "a tag/text tuple attached to an arbitrary element" ; linkml:domain "Extensible" ; @@ -86,6 +73,19 @@ 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" ; + linkml:description "a tag associated with an extension" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:imported_from "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:definition_uri "https://w3id.org/linkml/annotations" ; linkml:description "a collection of tag/text tuples with the semantics of OWL Annotation" ; @@ -114,27 +114,9 @@ linkml:required true ; linkml:slot_uri "https://w3id.org/linkml/value" ] ; linkml:source_file "annotations.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 833 ; 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 "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 ; 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" ; @@ -143,15 +125,22 @@ linkml:name "decimal" ; linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ 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 "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 "date" ; - 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#date" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "NodeIdentifier" ; linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; @@ -161,15 +150,6 @@ linkml:name "nodeidentifier" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], - [ 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 "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; @@ -180,31 +160,33 @@ 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 "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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + 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 "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; + 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 "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + 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 "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 "uri" ; + 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#anyURI" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; linkml:base "ElementIdentifier" ; linkml:comments "Used for inheritence and type checking" ; @@ -216,14 +198,13 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#iri" ], [ 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 "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 "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Float" ; @@ -233,13 +214,32 @@ 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 "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 "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 "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 "uri" ; + 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" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/annotations.ttl b/linkml_runtime/linkml_model/rdf/annotations.ttl index 610e1e54..871bce52 100644 --- a/linkml_runtime/linkml_model/rdf/annotations.ttl +++ b/linkml_runtime/linkml_model/rdf/annotations.ttl @@ -4,18 +4,14 @@ [] 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:class_uri "https://w3id.org/linkml/Annotatable" ; + linkml:definition_uri "https://w3id.org/linkml/Annotatable" ; + linkml:description "mixin for classes that support annotations" ; linkml:from_schema "https://w3id.org/linkml/annotations" ; - linkml:is_a "Extension" ; - linkml:mixins "Annotatable" ; - linkml:name "Annotation" ; + linkml:mixin true ; + linkml:name "Annotatable" ; linkml:slot_usage [ ] ; - linkml:slots "annotations", - "extension_tag", - "extension_value", - "extensions" ], + linkml:slots "annotations" ], [ a linkml:ClassDefinition ; linkml:class_uri "https://w3id.org/linkml/Extension" ; linkml:definition_uri "https://w3id.org/linkml/Extension" ; @@ -38,19 +34,23 @@ linkml:slot_usage [ ] ; linkml:slots "extensions" ], [ a linkml:ClassDefinition ; - linkml:class_uri "https://w3id.org/linkml/Annotatable" ; - linkml:definition_uri "https://w3id.org/linkml/Annotatable" ; - linkml:description "mixin for classes that support annotations" ; + 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:mixin true ; - linkml:name "Annotatable" ; + linkml:is_a "Extension" ; + linkml:mixins "Annotatable" ; + linkml:name "Annotation" ; linkml:slot_usage [ ] ; - linkml:slots "annotations" ] ; + 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-06-30 17:04" ; + linkml:generation_date "2021-08-19 17:51" ; linkml:id "https://w3id.org/linkml/annotations" ; linkml:imports "linkml:extensions", "linkml:types" ; @@ -60,32 +60,18 @@ 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: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:imported_from "linkml:extensions" ; - linkml:name "extension_value" ; + linkml:name "extension_tag" ; linkml:owner "Extension" ; - linkml:range "string" ; + linkml:range "uriorcurie" ; linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ], - [ 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" ], + linkml:slot_uri "https://w3id.org/linkml/tag" ], [ a linkml:SlotDefinition ; linkml:definition_uri "https://w3id.org/linkml/annotations" ; linkml:description "a collection of tag/text tuples with the semantics of OWL Annotation" ; @@ -101,39 +87,62 @@ linkml:range "Annotation" ; linkml:slot_uri "https://w3id.org/linkml/annotations" ], [ a linkml:SlotDefinition ; - linkml:alias "tag" ; - linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; - linkml:description "a tag associated with an 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: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_tag" ; + linkml:name "extension_value" ; linkml:owner "Extension" ; - linkml:range "uriorcurie" ; + linkml:range "string" ; linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/tag" ] ; + linkml:slot_uri "https://w3id.org/linkml/value" ] ; linkml:source_file "annotations.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 833 ; linkml:types [ 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:imported_from "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 "URI" ; - linkml:definition_uri "https://w3id.org/linkml/Uri" ; - linkml:description "a complete URI" ; + 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 "uri" ; + 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" ; + 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#anyURI" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "Decimal" ; linkml:definition_uri "https://w3id.org/linkml/Decimal" ; @@ -142,6 +151,25 @@ linkml:imported_from "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: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" ; + 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 "URIorCURIE" ; linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; @@ -152,29 +180,22 @@ 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: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 "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + 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 "string" ; - 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 "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + 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 "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "uri" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "XSDTime" ; linkml:definition_uri "https://w3id.org/linkml/Time" ; @@ -185,61 +206,40 @@ 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 "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 "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 "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 "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 "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 "objectidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + 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: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 "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + linkml:name "datetime" ; + 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 "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 "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "nodeidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ] ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/extensions.model.ttl b/linkml_runtime/linkml_model/rdf/extensions.model.ttl index 80ca6dfd..1099778a 100644 --- a/linkml_runtime/linkml_model/rdf/extensions.model.ttl +++ b/linkml_runtime/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-06-30 17:04" ; + 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,17 +35,17 @@ 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: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_value" ; + linkml:name "extension_tag" ; linkml:owner "Extension" ; - linkml:range "string" ; + linkml:range "uriorcurie" ; linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ], + linkml:slot_uri "https://w3id.org/linkml/tag" ], [ a linkml:SlotDefinition ; linkml:definition_uri "https://w3id.org/linkml/extensions" ; linkml:description "a tag/text tuple attached to an arbitrary element" ; @@ -60,21 +60,39 @@ 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" ; - linkml:description "a tag associated with an 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:name "extension_tag" ; + linkml:name "extension_value" ; linkml:owner "Extension" ; - linkml:range "uriorcurie" ; + linkml:range "string" ; linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/tag" ] ; + linkml:slot_uri "https://w3id.org/linkml/value" ] ; linkml:source_file "extensions.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 1043 ; linkml:types [ 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 "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 "float" ; linkml:definition_uri "https://w3id.org/linkml/Double" ; linkml:description "A real number that conforms to the xsd:double specification" ; @@ -83,30 +101,23 @@ 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 "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" ], - [ 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" ], + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ 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 "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -126,32 +137,13 @@ 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: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 "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 "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/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 "ncname" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + 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" ; @@ -162,6 +154,16 @@ 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 "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 "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; @@ -171,33 +173,31 @@ linkml:name "string" ; 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: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 "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ 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: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 "ncname" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; + 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 "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ] ; + linkml:name "uriorcurie" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/extensions.ttl b/linkml_runtime/linkml_model/rdf/extensions.ttl index 17bceff0..bf06399a 100644 --- a/linkml_runtime/linkml_model/rdf/extensions.ttl +++ b/linkml_runtime/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-06-30 17:04" ; + 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,51 +72,26 @@ linkml:required true ; linkml:slot_uri "https://w3id.org/linkml/tag" ] ; linkml:source_file "extensions.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021" ; + linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; linkml:source_file_size 1043 ; linkml:types [ 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 "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 "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 "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 "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 "float" ; linkml:definition_uri "https://w3id.org/linkml/Double" ; @@ -136,42 +111,48 @@ linkml:repr "str" ; 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 "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 "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ 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 "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 "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + 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 "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 "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 "objectidentifier" ; + linkml:name "nodeidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; + 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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + 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" ; + 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 "XSDDateTime" ; linkml:definition_uri "https://w3id.org/linkml/Datetime" ; @@ -182,22 +163,41 @@ 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: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 "nodeidentifier" ; + linkml:name "boolean" ; + 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:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + 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/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + 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 "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ] ; + 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" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/mappings.model.ttl b/linkml_runtime/linkml_model/rdf/mappings.model.ttl index 3c5c4d9c..942e9a88 100644 --- a/linkml_runtime/linkml_model/rdf/mappings.model.ttl +++ b/linkml_runtime/linkml_model/rdf/mappings.model.ttl @@ -16,7 +16,7 @@ "rdfs", "skos", "xsd" ; - linkml:generation_date "2021-06-30 17:04" ; + 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/" ; @@ -24,21 +24,32 @@ linkml:name "mappings" ; 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_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:prefix_prefix "OIO" ; - linkml:prefix_reference "http://www.geneontology.org/formats/oboInOwl#" ] ; + linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ] ; linkml:slots [ 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 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 "mappings" ; + linkml:name "narrow_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#narrowMatch" ], + [ 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." ; + linkml:from_schema "https://w3id.org/linkml/mappings" ; + linkml:is_a "mappings" ; + linkml:multivalued true ; + linkml:name "close_mappings" ; + linkml:range "uriorcurie" ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#closeMatch" ], [ a linkml:SlotDefinition ; skos:mappingRelation skos:relatedMatch ; linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; @@ -50,15 +61,22 @@ linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#relatedMatch" ], [ 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: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:is_a "mappings" ; linkml:multivalued true ; - linkml:name "narrow_mappings" ; + linkml:name "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#mappingRelation" ], + [ 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" ; + 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 ; linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ; @@ -67,16 +85,6 @@ linkml:name "deprecated_element_has_exact_replacement" ; linkml:range "uriorcurie" ; 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." ; - linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:is_a "mappings" ; - linkml:multivalued true ; - linkml:name "close_mappings" ; - linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#closeMatch" ], [ a linkml:SlotDefinition ; skos:mappingRelation skos:broadMatch ; linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; @@ -96,47 +104,37 @@ linkml:multivalued true ; linkml:name "exact_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#exactMatch" ], - [ 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" ; - 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" ] ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#exactMatch" ] ; linkml:source_file "mappings.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 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 "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + 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 "datetime" ; + 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 "URI" ; - linkml:definition_uri "https://w3id.org/linkml/Uri" ; - linkml:description "a complete URI" ; + 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 "uri" ; - 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 "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 "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 "time" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:name "nodeidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; linkml:base "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; @@ -146,29 +144,12 @@ 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" ; - 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 "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 "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 "uriorcurie" ; + linkml:name "uri" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; @@ -188,25 +169,6 @@ 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: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 "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 "float" ; linkml:definition_uri "https://w3id.org/linkml/Float" ; @@ -216,13 +178,15 @@ linkml:name "float" ; linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; + 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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + 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" ; @@ -232,7 +196,43 @@ linkml:imported_from "linkml:types" ; linkml:name "objectidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ] ; + 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: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 "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 "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: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:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/mappings.ttl b/linkml_runtime/linkml_model/rdf/mappings.ttl index d80ecce2..c948cd30 100644 --- a/linkml_runtime/linkml_model/rdf/mappings.ttl +++ b/linkml_runtime/linkml_model/rdf/mappings.ttl @@ -16,7 +16,7 @@ "rdfs", "skos", "xsd" ; - linkml:generation_date "2021-06-30 17:04" ; + 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/" ; @@ -24,30 +24,31 @@ linkml:name "mappings" ; linkml:prefixes [ linkml:prefix_prefix "OIO" ; linkml:prefix_reference "http://www.geneontology.org/formats/oboInOwl#" ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference "https://w3id.org/linkml/" ], [ linkml:prefix_prefix "IAO" ; linkml:prefix_reference "http://purl.obolibrary.org/obo/IAO_" ], [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ] ; + linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ], + [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ 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: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:is_a "mappings" ; linkml:multivalued true ; - linkml:name "narrow_mappings" ; + linkml:name "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#mappingRelation" ], [ 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: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:name "deprecated_element_has_exact_replacement" ; + linkml:is_a "mappings" ; + linkml:multivalued true ; + linkml:name "related_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#relatedMatch" ], [ a linkml:SlotDefinition ; skos:mappingRelation skos:exactMatch ; linkml:definition_uri "https://w3id.org/linkml/exact_mappings" ; @@ -58,14 +59,6 @@ linkml:name "exact_mappings" ; linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#exactMatch" ], - [ 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" ; - 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:closeMatch ; linkml:definition_uri "https://w3id.org/linkml/close_mappings" ; @@ -87,62 +80,53 @@ linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ], [ 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: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 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 "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" ] ; linkml:source_file "mappings.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 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 "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 "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 "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 "nodeidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + 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: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 "datetime" ; + linkml:name "objectidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], - [ 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" ], + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; @@ -152,14 +136,13 @@ linkml:name "string" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "Bool" ; - linkml:definition_uri "https://w3id.org/linkml/Boolean" ; - linkml:description "A binary (true or false) value" ; + 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 "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + 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" ; @@ -169,25 +152,14 @@ linkml:name "double" ; linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ 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 "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: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#dateTime" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -197,6 +169,41 @@ linkml:name "uri" ; 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: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 "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 "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 "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; @@ -207,32 +214,25 @@ 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 "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 "date" ; + 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#date" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a 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:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; + 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#anyURI" ], - [ 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" ] ; + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/meta.model.ttl b/linkml_runtime/linkml_model/rdf/meta.model.ttl index 23207c8e..e9fd211c 100644 --- a/linkml_runtime/linkml_model/rdf/meta.model.ttl +++ b/linkml_runtime/linkml_model/rdf/meta.model.ttl @@ -353,6 +353,7 @@ linkml:value_description a linkml:SlotDefinition ; linkml:slot_uri linkml:description . linkml:version a linkml:SlotDefinition ; + OIO:inSubset linkml:owl ; skos:definition "particular version of schema" ; skos:inScheme linkml:meta ; skos:mappingRelation pav:version, @@ -501,6 +502,17 @@ linkml:defining_slots a linkml:SlotDefinition ; linkml:range linkml:SlotDefinition ; linkml:slot_uri linkml:defining_slots . +linkml:designates_type a linkml:SlotDefinition ; + skos:definition "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition" ; + skos:inScheme linkml:meta ; + linkml:definition_uri linkml:designates_type ; + linkml:domain linkml:SlotDefinition ; + linkml:domain_of linkml:SlotDefinition ; + linkml:inherited true ; + linkml:owner linkml:SlotDefinition ; + linkml:range linkml:boolean ; + linkml:slot_uri linkml:designates_type . + linkml:domain a linkml:SlotDefinition ; skos:definition """defines the type of the subject of the slot. Given the following slot definition S1: @@ -1714,11 +1726,6 @@ linkml:imported_from a linkml:SlotDefinition ; linkml:readonly "supplied by the schema loader" ; linkml:slot_uri linkml:imported_from . -linkml:owl a linkml:SubsetDefinition ; - skos:definition "Set of slots that appear in the OWL representation of a model" ; - skos:inScheme linkml:meta ; - linkml:definition_uri linkml:Owl . - linkml:todos a linkml:SlotDefinition ; skos:definition "Outstanding issue that needs resolution" ; skos:inScheme linkml:meta ; @@ -1730,15 +1737,6 @@ linkml:todos a linkml:SlotDefinition ; linkml:range linkml:string ; linkml:slot_uri linkml:todos . -linkml:boolean a linkml:TypeDefinition ; - skos:definition "A binary (true or false) value" ; - skos:inScheme linkml:types ; - linkml:base "Bool" ; - linkml:definition_uri linkml:Boolean ; - linkml:imported_from "linkml:types" ; - linkml:repr "bool" ; - linkml:uri xsd:boolean . - linkml:description a linkml:SlotDefinition ; OIO:inSubset linkml:owl ; skos:definition "a description of the element's purpose and use" ; @@ -1752,6 +1750,20 @@ linkml:description a linkml:SlotDefinition ; linkml:range linkml:string ; linkml:slot_uri skos:definition . +linkml:owl a linkml:SubsetDefinition ; + skos:definition "Set of slots that appear in the OWL representation of a model" ; + skos:inScheme linkml:meta ; + linkml:definition_uri linkml:Owl . + +linkml:boolean a linkml:TypeDefinition ; + skos:definition "A binary (true or false) value" ; + skos:inScheme linkml:types ; + linkml:base "Bool" ; + linkml:definition_uri linkml:Boolean ; + linkml:imported_from "linkml:types" ; + linkml:repr "bool" ; + linkml:uri xsd:boolean . + linkml:EnumDefinition a linkml:ClassDefinition ; skos:definition "List of values that constrain the range of a slot" ; skos:inScheme linkml:meta ; @@ -2189,17 +2201,15 @@ linkml:meta a linkml:SchemaDefinition ; "skos", "xsd" ; linkml:enums linkml:pv_formula_options ; - linkml:generation_date "2021-06-30 17:04"^^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 "pav" ; - linkml:prefix_reference pav: ], - [ linkml:prefix_prefix "schema" ; - linkml:prefix_reference schema: ], + linkml:prefixes [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference linkml: ], [ linkml:prefix_prefix "bibo" ; linkml:prefix_reference bibo: ], [ linkml:prefix_prefix "OIO" ; @@ -2208,8 +2218,10 @@ linkml:meta a linkml:SchemaDefinition ; linkml:prefix_reference skos: ], [ linkml:prefix_prefix "oslc" ; linkml:prefix_reference oslc: ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference linkml: ] ; + [ linkml:prefix_prefix "schema" ; + linkml:prefix_reference schema: ], + [ linkml:prefix_prefix "pav" ; + linkml:prefix_reference pav: ] ; linkml:slots linkml:abstract, linkml:alias, linkml:aliases, @@ -2242,6 +2254,7 @@ linkml:meta a linkml:SchemaDefinition ; linkml:deprecated_element_has_exact_replacement, linkml:deprecated_element_has_possible_replacement, linkml:description, + linkml:designates_type, linkml:domain, linkml:domain_of, linkml:emit_prefixes, @@ -2336,8 +2349,8 @@ linkml:meta a linkml:SchemaDefinition ; linkml:values_from, linkml:version ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021"^^xsd:dateTime ; - linkml:source_file_size 34275 ; + 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, linkml:date, @@ -2383,6 +2396,7 @@ linkml:SlotDefinition a linkml:ClassDefinition ; linkml:deprecated_element_has_exact_replacement, linkml:deprecated_element_has_possible_replacement, linkml:description, + linkml:designates_type, linkml:domain, linkml:domain_of, linkml:exact_mappings, diff --git a/linkml_runtime/linkml_model/rdf/meta.ttl b/linkml_runtime/linkml_model/rdf/meta.ttl index 8e6dda60..d8c48ea3 100644 --- a/linkml_runtime/linkml_model/rdf/meta.ttl +++ b/linkml_runtime/linkml_model/rdf/meta.ttl @@ -353,6 +353,7 @@ linkml:value_description a linkml:SlotDefinition ; linkml:slot_uri linkml:description . linkml:version a linkml:SlotDefinition ; + OIO:inSubset linkml:owl ; skos:definition "particular version of schema" ; skos:inScheme linkml:meta ; skos:mappingRelation pav:version, @@ -501,6 +502,17 @@ linkml:defining_slots a linkml:SlotDefinition ; linkml:range linkml:SlotDefinition ; linkml:slot_uri linkml:defining_slots . +linkml:designates_type a linkml:SlotDefinition ; + skos:definition "True means that the key slot(s) is used to determine the instantiation (types) relation between objects and a ClassDefinition" ; + skos:inScheme linkml:meta ; + linkml:definition_uri linkml:designates_type ; + linkml:domain linkml:SlotDefinition ; + linkml:domain_of linkml:SlotDefinition ; + linkml:inherited true ; + linkml:owner linkml:SlotDefinition ; + linkml:range linkml:boolean ; + linkml:slot_uri linkml:designates_type . + linkml:domain a linkml:SlotDefinition ; skos:definition """defines the type of the subject of the slot. Given the following slot definition S1: @@ -1714,11 +1726,6 @@ linkml:imported_from a linkml:SlotDefinition ; linkml:readonly "supplied by the schema loader" ; linkml:slot_uri linkml:imported_from . -linkml:owl a linkml:SubsetDefinition ; - skos:definition "Set of slots that appear in the OWL representation of a model" ; - skos:inScheme linkml:meta ; - linkml:definition_uri linkml:Owl . - linkml:todos a linkml:SlotDefinition ; skos:definition "Outstanding issue that needs resolution" ; skos:inScheme linkml:meta ; @@ -1730,15 +1737,6 @@ linkml:todos a linkml:SlotDefinition ; linkml:range linkml:string ; linkml:slot_uri linkml:todos . -linkml:boolean a linkml:TypeDefinition ; - skos:definition "A binary (true or false) value" ; - skos:inScheme linkml:types ; - linkml:base "Bool" ; - linkml:definition_uri linkml:Boolean ; - linkml:imported_from "linkml:types" ; - linkml:repr "bool" ; - linkml:uri xsd:boolean . - linkml:description a linkml:SlotDefinition ; OIO:inSubset linkml:owl ; skos:definition "a description of the element's purpose and use" ; @@ -1752,6 +1750,20 @@ linkml:description a linkml:SlotDefinition ; linkml:range linkml:string ; linkml:slot_uri skos:definition . +linkml:owl a linkml:SubsetDefinition ; + skos:definition "Set of slots that appear in the OWL representation of a model" ; + skos:inScheme linkml:meta ; + linkml:definition_uri linkml:Owl . + +linkml:boolean a linkml:TypeDefinition ; + skos:definition "A binary (true or false) value" ; + skos:inScheme linkml:types ; + linkml:base "Bool" ; + linkml:definition_uri linkml:Boolean ; + linkml:imported_from "linkml:types" ; + linkml:repr "bool" ; + linkml:uri xsd:boolean . + linkml:EnumDefinition a linkml:ClassDefinition ; skos:definition "List of values that constrain the range of a slot" ; skos:inScheme linkml:meta ; @@ -2189,27 +2201,27 @@ linkml:meta a linkml:SchemaDefinition ; "skos", "xsd" ; linkml:enums linkml:pv_formula_options ; - linkml:generation_date "2021-06-30 17:04"^^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 "schema" ; + 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 "OIO" ; linkml:prefix_reference OIO: ], [ linkml:prefix_prefix "oslc" ; - linkml:prefix_reference oslc: ], - [ linkml:prefix_prefix "pav" ; - linkml:prefix_reference pav: ], - [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference skos: ], - [ linkml:prefix_prefix "linkml" ; - linkml:prefix_reference linkml: ], - [ linkml:prefix_prefix "bibo" ; - linkml:prefix_reference bibo: ] ; + linkml:prefix_reference oslc: ] ; linkml:slots linkml:abstract, linkml:alias, linkml:aliases, @@ -2242,6 +2254,7 @@ linkml:meta a linkml:SchemaDefinition ; linkml:deprecated_element_has_exact_replacement, linkml:deprecated_element_has_possible_replacement, linkml:description, + linkml:designates_type, linkml:domain, linkml:domain_of, linkml:emit_prefixes, @@ -2336,8 +2349,8 @@ linkml:meta a linkml:SchemaDefinition ; linkml:values_from, linkml:version ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 2021"^^xsd:dateTime ; - linkml:source_file_size 34275 ; + 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, linkml:date, @@ -2383,6 +2396,7 @@ linkml:SlotDefinition a linkml:ClassDefinition ; linkml:deprecated_element_has_exact_replacement, linkml:deprecated_element_has_possible_replacement, linkml:description, + linkml:designates_type, linkml:domain, linkml:domain_of, linkml:exact_mappings, diff --git a/linkml_runtime/linkml_model/rdf/types.model.ttl b/linkml_runtime/linkml_model/rdf/types.model.ttl index 3c2de06f..72307800 100644 --- a/linkml_runtime/linkml_model/rdf/types.model.ttl +++ b/linkml_runtime/linkml_model/rdf/types.model.ttl @@ -6,44 +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-06-30 17:04" ; + 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 "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ], - [ linkml:prefix_prefix "xsd" ; - linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ], [ linkml:prefix_prefix "shex" ; - linkml:prefix_reference "http://www.w3.org/ns/shex#" ] ; + linkml:prefix_reference "http://www.w3.org/ns/shex#" ], + [ linkml:prefix_prefix "xsd" ; + linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ] ; linkml:source_file "types.yaml" ; - linkml:source_file_date "Wed Jun 30 17:02:39 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 "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:name "nodeidentifier" ; + linkml:name "uriorcurie" ; 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/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 "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" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; linkml:base "XSDDate" ; linkml:definition_uri "https://w3id.org/linkml/Date" ; @@ -54,13 +39,14 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ 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 "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 "datetime" ; + 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/Float" ; @@ -68,6 +54,14 @@ 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" ; + linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "nodeidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -76,15 +70,6 @@ linkml:name "uri" ; 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: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" ; @@ -93,14 +78,28 @@ 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 "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 "time" ; - 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#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:from_schema "https://w3id.org/linkml/types" ; + 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" ; @@ -109,13 +108,14 @@ 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: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 "uriorcurie" ; + 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 "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; diff --git a/linkml_runtime/linkml_model/rdf/types.ttl b/linkml_runtime/linkml_model/rdf/types.ttl index 2b8b4565..050d81f1 100644 --- a/linkml_runtime/linkml_model/rdf/types.ttl +++ b/linkml_runtime/linkml_model/rdf/types.ttl @@ -6,34 +6,28 @@ linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Shared type definitions for the core LinkML mode and metamodel" ; - linkml:generation_date "2021-06-30 17:04" ; + 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 Jun 30 17:02:39 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 "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:name "string" ; + linkml:name "ncname" ; + linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "int" ; @@ -42,22 +36,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 "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:name "nodeidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], - [ 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" ], [ a linkml:TypeDefinition ; linkml:base "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -67,22 +45,19 @@ linkml:repr "bool" ; linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ 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: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 "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:name "objectidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + 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" ; @@ -93,14 +68,13 @@ 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 "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 "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" ], [ a linkml:TypeDefinition ; linkml:base "XSDDateTime" ; linkml:definition_uri "https://w3id.org/linkml/Datetime" ; @@ -110,12 +84,14 @@ 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: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 "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + 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" ; @@ -124,13 +100,37 @@ linkml:name "decimal" ; linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a 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 "uriorcurie" ; + 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:name "nodeidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ] ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + [ 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 "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" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/shex/meta.shex b/linkml_runtime/linkml_model/shex/meta.shex index 208cde25..a5971529 100644 --- a/linkml_runtime/linkml_model/shex/meta.shex +++ b/linkml_runtime/linkml_model/shex/meta.shex @@ -295,6 +295,7 @@ PREFIX oboInOwl: @ ? ; @ ? ; @ ? ; + @ ? ; @ ? ; @ ? ; @ * ; diff --git a/linkml_runtime/linkml_model/shex/meta.shexj b/linkml_runtime/linkml_model/shex/meta.shexj index 8d82bd00..15aff23b 100644 --- a/linkml_runtime/linkml_model/shex/meta.shexj +++ b/linkml_runtime/linkml_model/shex/meta.shexj @@ -1581,6 +1581,13 @@ "min": 0, "max": 1 }, + { + "type": "TripleConstraint", + "predicate": "https://w3id.org/linkml/designates_type", + "valueExpr": "https://w3id.org/linkml/Boolean", + "min": 0, + "max": 1 + }, { "type": "TripleConstraint", "predicate": "https://w3id.org/linkml/alias", diff --git a/linkml_runtime/linkml_model/types.py b/linkml_runtime/linkml_model/types.py index d191b5c9..4882fdab 100644 --- a/linkml_runtime/linkml_model/types.py +++ b/linkml_runtime/linkml_model/types.py @@ -1,5 +1,5 @@ # Auto generated from types.yaml by pythongen.py version: 0.9.0 -# Generation date: 2021-06-30 17:04 +# Generation date: 2021-08-19 17:51 # Schema: types # # id: https://w3id.org/linkml/types @@ -9,7 +9,7 @@ import dataclasses import sys import re -from jsonasobj2 import JsonObj +from jsonasobj2 import JsonObj, as_dict from typing import Optional, List, Union, Dict, ClassVar, Any from dataclasses import dataclass From 92cae4799b46b3a03657b226f9da8449cc6d2869 Mon Sep 17 00:00:00 2001 From: hsolbrig Date: Thu, 19 Aug 2021 13:11:25 -0500 Subject: [PATCH 2/2] Update metadata --- AUTHORS | 3 +++ ChangeLog | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/AUTHORS b/AUTHORS index 17bc30a2..d4b9c822 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,3 +1,6 @@ Chris Mungall +Gaurav Vaidya GitHub Action Harold Solbrig +cmungall +hsolbrig diff --git a/ChangeLog b/ChangeLog index f6ac3025..275cf8a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,27 @@ CHANGES ======= +* Update to latest model + +v1.0.12 +------- + +* Added leaf/root methods +* Added additional methods +* Adding more examples +* Adding a new library schemaview +* replace hyphen with underscore when underscoring names +* Add the actual test to the pull request action + +v1.0.11 +------- + +* Update test\_issue\_368\_enums.py +* Try relative paths on linkml\_runtime/linkml\_model/\_\_init\_\_.py +* Add publish step to update AUTHORS and ChangeLog +* Test change on AUTHORS +* Update to copy of linkml-model 1.0.1 +* Replaced \_\_str\_\_() repr of EnumDefinitionImpl * Fix syntax for pr-test version in github actions * Add a couple more unit tests * Further fixes for issue #12. Introduce \`remove\_empty\_items\` into all dumpers