diff --git a/linkml_runtime/linkml_model/annotations.py b/linkml_runtime/linkml_model/annotations.py index 6841e1f9..9fb06678 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-08-19 17:51 +# Generation date: 2021-09-24 02:32 # Schema: annotations # # id: https://w3id.org/linkml/annotations diff --git a/linkml_runtime/linkml_model/extensions.py b/linkml_runtime/linkml_model/extensions.py index 1a521cf5..d3916aa1 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-08-19 17:51 +# Generation date: 2021-09-24 02:32 # Schema: extensions # # id: https://w3id.org/linkml/extensions diff --git a/linkml_runtime/linkml_model/graphql/meta.graphql b/linkml_runtime/linkml_model/graphql/meta.graphql index 21fa4d20..c969e027 100644 --- a/linkml_runtime/linkml_model/graphql/meta.graphql +++ b/linkml_runtime/linkml_model/graphql/meta.graphql @@ -20,6 +20,7 @@ type Annotation implements Annotatable type ClassDefinition { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -87,6 +88,7 @@ interface CommonMetadata interface Definition { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -129,6 +131,7 @@ interface Definition type Element implements Extensible, Annotatable, CommonMetadata { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -159,6 +162,7 @@ type Element implements Extensible, Annotatable, CommonMetadata type EnumDefinition { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -246,6 +250,7 @@ type Prefix type SchemaDefinition { + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -272,7 +277,6 @@ type SchemaDefinition deprecatedElementHasExactReplacement: Uriorcurie deprecatedElementHasPossibleReplacement: Uriorcurie id: Uri! - title: String version: String imports: [Uriorcurie] license: String @@ -297,6 +301,7 @@ type SchemaDefinition type SlotDefinition { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -367,6 +372,7 @@ type SlotDefinition type SubsetDefinition { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -397,6 +403,7 @@ type SubsetDefinition type TypeDefinition { name: String! + title: String idPrefixes: [Ncname] definitionUri: Uriorcurie aliases: [String] @@ -426,6 +433,7 @@ type TypeDefinition base: String uri: Uriorcurie repr: String + pattern: String } type UniqueKey implements Extensible, Annotatable diff --git a/linkml_runtime/linkml_model/json/annotations.json b/linkml_runtime/linkml_model/json/annotations.json index d4052647..d4c11c15 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": "Thu Aug 19 17:49:00 2021", + "source_file_date": "Fri Sep 24 02:29:20 2021", "source_file_size": 833, - "generation_date": "2021-08-19 17:50", + "generation_date": "2021-09-24 02:30", "@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 202768c7..7da1246c 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": "Thu Aug 19 17:49:00 2021", + "source_file_date": "Fri Sep 24 02:29:20 2021", "source_file_size": 1043, - "generation_date": "2021-08-19 17:50", + "generation_date": "2021-09-24 02:31", "@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 63de6310..12cdf668 100644 --- a/linkml_runtime/linkml_model/json/mappings.json +++ b/linkml_runtime/linkml_model/json/mappings.json @@ -205,7 +205,7 @@ "name": "mappings", "definition_uri": "https://w3id.org/linkml/mappings", "mappings": [ - "skos:mappingRelation" + "http://www.w3.org/2004/02/skos/core#mappingRelation" ], "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.", "from_schema": "https://w3id.org/linkml/mappings", @@ -218,7 +218,7 @@ "name": "exact_mappings", "definition_uri": "https://w3id.org/linkml/exact_mappings", "mappings": [ - "skos:exactMatch" + "http://www.w3.org/2004/02/skos/core#exactMatch" ], "description": "A list of terms from different schemas or terminology systems that have identical meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -232,7 +232,7 @@ "name": "close_mappings", "definition_uri": "https://w3id.org/linkml/close_mappings", "mappings": [ - "skos:closeMatch" + "http://www.w3.org/2004/02/skos/core#closeMatch" ], "description": "A list of terms from different schemas or terminology systems that have close meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -246,7 +246,7 @@ "name": "related_mappings", "definition_uri": "https://w3id.org/linkml/related_mappings", "mappings": [ - "skos:relatedMatch" + "http://www.w3.org/2004/02/skos/core#relatedMatch" ], "description": "A list of terms from different schemas or terminology systems that have related meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -260,7 +260,7 @@ "name": "narrow_mappings", "definition_uri": "https://w3id.org/linkml/narrow_mappings", "mappings": [ - "skos:narrowMatch" + "http://www.w3.org/2004/02/skos/core#narrowMatch" ], "description": "A list of terms from different schemas or terminology systems that have narrower meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -274,7 +274,7 @@ "name": "broad_mappings", "definition_uri": "https://w3id.org/linkml/broad_mappings", "mappings": [ - "skos:broadMatch" + "http://www.w3.org/2004/02/skos/core#broadMatch" ], "description": "A list of terms from different schemas or terminology systems that have broader meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -288,7 +288,7 @@ "name": "deprecated_element_has_exact_replacement", "definition_uri": "https://w3id.org/linkml/deprecated_element_has_exact_replacement", "mappings": [ - "IAO:0100001" + "http://purl.obolibrary.org/obo/IAO_0100001" ], "description": "When an element is deprecated, it can be automatically replaced by this uri or curie", "from_schema": "https://w3id.org/linkml/mappings", @@ -300,7 +300,7 @@ "name": "deprecated_element_has_possible_replacement", "definition_uri": "https://w3id.org/linkml/deprecated_element_has_possible_replacement", "mappings": [ - "OIO:consider" + "http://www.geneontology.org/formats/oboInOwl#consider" ], "description": "When an element is deprecated, it can be potentially replaced by this uri or curie", "from_schema": "https://w3id.org/linkml/mappings", @@ -311,9 +311,9 @@ ], "metamodel_version": "1.7.0", "source_file": "mappings.yaml", - "source_file_date": "Thu Aug 19 17:49:00 2021", + "source_file_date": "Fri Sep 24 02:29:20 2021", "source_file_size": 2656, - "generation_date": "2021-08-19 17:50", + "generation_date": "2021-09-24 02:30", "@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 dd8e3c58..1643c79d 100644 --- a/linkml_runtime/linkml_model/json/meta.json +++ b/linkml_runtime/linkml_model/json/meta.json @@ -261,8 +261,8 @@ "name": "name", "definition_uri": "https://w3id.org/linkml/name", "mappings": [ - "rdfs:label", - "schema:name" + "http://www.w3.org/2000/01/rdf-schema#label", + "http://schema.org/name" ], "description": "the unique name of the element within the context of the schema. Name is combined with the default prefix to form the globally unique subject of the target class.", "in_subset": [ @@ -283,6 +283,26 @@ ], "@type": "SlotDefinition" }, + { + "name": "title", + "definition_uri": "https://w3id.org/linkml/title", + "mappings": [ + "http://purl.org/dc/terms/title" + ], + "description": "the official title of the element", + "in_subset": [ + "owl" + ], + "from_schema": "https://w3id.org/linkml/meta", + "domain": "Element", + "range": "string", + "slot_uri": "http://purl.org/dc/terms/title", + "owner": "Element", + "domain_of": [ + "Element" + ], + "@type": "SlotDefinition" + }, { "name": "definition_uri", "definition_uri": "https://w3id.org/linkml/definition_uri", @@ -329,7 +349,7 @@ "name": "description", "definition_uri": "https://w3id.org/linkml/description", "mappings": [ - "skos:definition" + "http://www.w3.org/2004/02/skos/core#definition" ], "description": "a description of the element's purpose and use", "in_subset": [ @@ -350,7 +370,7 @@ "name": "aliases", "definition_uri": "https://w3id.org/linkml/aliases", "mappings": [ - "skos:altLabel" + "http://www.w3.org/2004/02/skos/core#altLabel" ], "from_schema": "https://w3id.org/linkml/meta", "domain": "Element", @@ -396,7 +416,7 @@ "name": "notes", "definition_uri": "https://w3id.org/linkml/notes", "mappings": [ - "skos:editorialNote" + "http://www.w3.org/2004/02/skos/core#editorialNote" ], "description": "editorial notes about an element intended for internal consumption", "in_subset": [ @@ -417,7 +437,7 @@ "name": "comments", "definition_uri": "https://w3id.org/linkml/comments", "mappings": [ - "skos:note" + "http://www.w3.org/2004/02/skos/core#note" ], "description": "notes and comments about an element intended for external consumption", "in_subset": [ @@ -438,7 +458,7 @@ "name": "in_subset", "definition_uri": "https://w3id.org/linkml/in_subset", "mappings": [ - "OIO:inSubset" + "http://www.geneontology.org/formats/oboInOwl#inSubset" ], "description": "used to indicate membership of a term in a defined subset of terms used for a particular domain or application (e.g. the translator_minimal subset holding the minimal set of predicates used in a translator knowledge graph)", "from_schema": "https://w3id.org/linkml/meta", @@ -456,7 +476,7 @@ "name": "from_schema", "definition_uri": "https://w3id.org/linkml/from_schema", "mappings": [ - "skos:inScheme" + "http://www.w3.org/2004/02/skos/core#inScheme" ], "description": "id of the schema that defined the element", "notes": [ @@ -492,7 +512,7 @@ "name": "see_also", "definition_uri": "https://w3id.org/linkml/see_also", "mappings": [ - "rdfs:seeAlso" + "http://www.w3.org/2000/01/rdf-schema#seeAlso" ], "description": "a reference", "in_subset": [ @@ -513,7 +533,7 @@ "name": "created_by", "definition_uri": "https://w3id.org/linkml/created_by", "mappings": [ - "pav:createdBy" + "http://purl.org/pav/createdBy" ], "description": "agent that created the element", "from_schema": "https://w3id.org/linkml/meta", @@ -530,7 +550,7 @@ "name": "created_on", "definition_uri": "https://w3id.org/linkml/created_on", "mappings": [ - "pav:createdOn" + "http://purl.org/pav/createdOn" ], "description": "time at which the element was created", "from_schema": "https://w3id.org/linkml/meta", @@ -547,7 +567,7 @@ "name": "last_updated_on", "definition_uri": "https://w3id.org/linkml/last_updated_on", "mappings": [ - "pav:lastUpdatedOn" + "http://purl.org/pav/lastUpdatedOn" ], "description": "time at which the element was last updated", "from_schema": "https://w3id.org/linkml/meta", @@ -564,7 +584,7 @@ "name": "modified_by", "definition_uri": "https://w3id.org/linkml/modified_by", "mappings": [ - "oslc:modifiedBy" + "http://open-services.net/ns/core#modifiedBy" ], "description": "agent that modified the element", "from_schema": "https://w3id.org/linkml/meta", @@ -581,7 +601,7 @@ "name": "status", "definition_uri": "https://w3id.org/linkml/status", "mappings": [ - "bibo:status" + "http://purl.org/ontology/bibo/status" ], "description": "status of the element", "examples": [ @@ -850,32 +870,12 @@ ], "@type": "SlotDefinition" }, - { - "name": "title", - "definition_uri": "https://w3id.org/linkml/title", - "mappings": [ - "dcterms:title" - ], - "description": "the official title of the schema", - "in_subset": [ - "owl" - ], - "from_schema": "https://w3id.org/linkml/meta", - "domain": "SchemaDefinition", - "range": "string", - "slot_uri": "http://purl.org/dc/terms/title", - "owner": "SchemaDefinition", - "domain_of": [ - "SchemaDefinition" - ], - "@type": "SlotDefinition" - }, { "name": "version", "definition_uri": "https://w3id.org/linkml/version", "mappings": [ - "pav:version", - "schema:schemaVersion" + "http://purl.org/pav/version", + "http://schema.org/schemaVersion" ], "description": "particular version of schema", "in_subset": [ @@ -910,7 +910,7 @@ "name": "license", "definition_uri": "https://w3id.org/linkml/license", "mappings": [ - "dcterms:license" + "http://purl.org/dc/terms/license" ], "description": "license for the schema", "in_subset": [ @@ -1219,7 +1219,7 @@ "name": "subclass_of", "definition_uri": "https://w3id.org/linkml/subclass_of", "mappings": [ - "rdfs:subClassOf" + "http://www.w3.org/2000/01/rdf-schema#subClassOf" ], "description": "rdfs:subClassOf to be emitted in OWL generation", "from_schema": "https://w3id.org/linkml/meta", @@ -1284,7 +1284,7 @@ "name": "unique_keys", "definition_uri": "https://w3id.org/linkml/unique_keys", "mappings": [ - "owl:hasKey" + "http://www.w3.org/2002/07/owl#hasKey" ], "description": "Set of unique keys for this slot", "from_schema": "https://w3id.org/linkml/meta", @@ -1428,7 +1428,7 @@ "name": "singular_name", "definition_uri": "https://w3id.org/linkml/singular_name", "mappings": [ - "skos:altLabel" + "http://www.w3.org/2004/02/skos/core#altLabel" ], "description": "a name that is used in the singular form", "from_schema": "https://w3id.org/linkml/meta", @@ -1663,7 +1663,7 @@ "name": "subproperty_of", "definition_uri": "https://w3id.org/linkml/subproperty_of", "mappings": [ - "rdfs:subPropertyOf" + "http://www.w3.org/2000/01/rdf-schema#subPropertyOf" ], "description": "Ontology property which this slot is a subproperty of", "from_schema": "https://w3id.org/linkml/meta", @@ -1694,7 +1694,7 @@ "name": "inverse", "definition_uri": "https://w3id.org/linkml/inverse", "mappings": [ - "owl:inverseOf" + "http://www.w3.org/2002/07/owl#inverseOf" ], "description": "indicates that any instance of d s r implies that there is also an instance of r s' d", "from_schema": "https://w3id.org/linkml/meta", @@ -1771,12 +1771,13 @@ "definition_uri": "https://w3id.org/linkml/pattern", "description": "the string value of the slot must conform to this regular expression", "from_schema": "https://w3id.org/linkml/meta", - "domain": "SlotDefinition", + "domain": "Definition", "range": "string", "slot_uri": "https://w3id.org/linkml/pattern", "inherited": true, - "owner": "SlotDefinition", + "owner": "pattern", "domain_of": [ + "TypeDefinition", "SlotDefinition" ], "@type": "SlotDefinition" @@ -1923,7 +1924,7 @@ "name": "value", "definition_uri": "https://w3id.org/linkml/value", "mappings": [ - "skos:example" + "http://www.w3.org/2004/02/skos/core#example" ], "description": "example value", "from_schema": "https://w3id.org/linkml/meta", @@ -2037,7 +2038,7 @@ "name": "local_name_value", "definition_uri": "https://w3id.org/linkml/local_name_value", "mappings": [ - "skos:altLabel" + "http://www.w3.org/2004/02/skos/core#altLabel" ], "description": "a name assigned to an element in a given ontology", "from_schema": "https://w3id.org/linkml/meta", @@ -2070,7 +2071,7 @@ "name": "mappings", "definition_uri": "https://w3id.org/linkml/mappings", "mappings": [ - "skos:mappingRelation" + "http://www.w3.org/2004/02/skos/core#mappingRelation" ], "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.", "from_schema": "https://w3id.org/linkml/mappings", @@ -2088,7 +2089,7 @@ "name": "exact_mappings", "definition_uri": "https://w3id.org/linkml/exact_mappings", "mappings": [ - "skos:exactMatch" + "http://www.w3.org/2004/02/skos/core#exactMatch" ], "description": "A list of terms from different schemas or terminology systems that have identical meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -2107,7 +2108,7 @@ "name": "close_mappings", "definition_uri": "https://w3id.org/linkml/close_mappings", "mappings": [ - "skos:closeMatch" + "http://www.w3.org/2004/02/skos/core#closeMatch" ], "description": "A list of terms from different schemas or terminology systems that have close meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -2126,7 +2127,7 @@ "name": "related_mappings", "definition_uri": "https://w3id.org/linkml/related_mappings", "mappings": [ - "skos:relatedMatch" + "http://www.w3.org/2004/02/skos/core#relatedMatch" ], "description": "A list of terms from different schemas or terminology systems that have related meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -2145,7 +2146,7 @@ "name": "narrow_mappings", "definition_uri": "https://w3id.org/linkml/narrow_mappings", "mappings": [ - "skos:narrowMatch" + "http://www.w3.org/2004/02/skos/core#narrowMatch" ], "description": "A list of terms from different schemas or terminology systems that have narrower meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -2164,7 +2165,7 @@ "name": "broad_mappings", "definition_uri": "https://w3id.org/linkml/broad_mappings", "mappings": [ - "skos:broadMatch" + "http://www.w3.org/2004/02/skos/core#broadMatch" ], "description": "A list of terms from different schemas or terminology systems that have broader meaning.", "from_schema": "https://w3id.org/linkml/mappings", @@ -2183,7 +2184,7 @@ "name": "deprecated_element_has_exact_replacement", "definition_uri": "https://w3id.org/linkml/deprecated_element_has_exact_replacement", "mappings": [ - "IAO:0100001" + "http://purl.obolibrary.org/obo/IAO_0100001" ], "description": "When an element is deprecated, it can be automatically replaced by this uri or curie", "from_schema": "https://w3id.org/linkml/mappings", @@ -2200,7 +2201,7 @@ "name": "deprecated_element_has_possible_replacement", "definition_uri": "https://w3id.org/linkml/deprecated_element_has_possible_replacement", "mappings": [ - "OIO:consider" + "http://www.geneontology.org/formats/oboInOwl#consider" ], "description": "When an element is deprecated, it can be potentially replaced by this uri or curie", "from_schema": "https://w3id.org/linkml/mappings", @@ -2478,6 +2479,7 @@ ], "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -2521,6 +2523,7 @@ ], "is_a": "Element", "slots": [ + "title", "id_prefixes", "definition_uri", "aliases", @@ -2547,7 +2550,6 @@ "deprecated_element_has_exact_replacement", "deprecated_element_has_possible_replacement", "id", - "title", "version", "imports", "license", @@ -2580,6 +2582,7 @@ "is_a": "Element", "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -2608,7 +2611,8 @@ "typeof", "base", "type_uri", - "repr" + "repr", + "pattern" ], "slot_usage": {}, "class_uri": "https://w3id.org/linkml/TypeDefinition", @@ -2622,6 +2626,7 @@ "is_a": "Element", "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -2664,6 +2669,7 @@ "abstract": true, "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -2714,6 +2720,7 @@ "is_a": "Element", "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -2768,6 +2775,7 @@ "is_a": "Definition", "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -2856,6 +2864,7 @@ "is_a": "Definition", "slots": [ "name", + "title", "id_prefixes", "definition_uri", "aliases", @@ -3077,9 +3086,9 @@ ], "metamodel_version": "1.7.0", "source_file": "meta.yaml", - "source_file_date": "Thu Aug 19 17:49:00 2021", - "source_file_size": 34566, - "generation_date": "2021-08-19 17:50", + "source_file_date": "Fri Sep 24 02:29:20 2021", + "source_file_size": 34568, + "generation_date": "2021-09-24 02:30", "@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 095742b4..ba4b6430 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": "Thu Aug 19 17:49:00 2021", + "source_file_date": "Fri Sep 24 02:29:20 2021", "source_file_size": 2676, - "generation_date": "2021-08-19 17:50", + "generation_date": "2021-09-24 02:30", "@type": "SchemaDefinition", "@context": [ { diff --git a/linkml_runtime/linkml_model/jsonld/annotations.context.jsonld b/linkml_runtime/linkml_model/jsonld/annotations.context.jsonld index fe92b28d..a619bf21 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-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 ", + "_comments": "Auto generated from annotations.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 fe92b28d..a619bf21 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-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 ", + "_comments": "Auto generated from annotations.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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/extensions.context.jsonld b/linkml_runtime/linkml_model/jsonld/extensions.context.jsonld index 91c85c54..b9b9c531 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-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 ", + "_comments": "Auto generated from extensions.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 91c85c54..b9b9c531 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-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 ", + "_comments": "Auto generated from extensions.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 131bef79..952683ba 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-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 ", + "_comments": "Auto generated from mappings.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 131bef79..952683ba 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-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 ", + "_comments": "Auto generated from mappings.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 c7a0dbfe..30f2feb1 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-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 ", + "_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\n Schema: meta\n \n id: https://w3id.org/linkml/meta\n description: A metamodel for defining linked open data schemas\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "IAO": { "@id": "http://purl.obolibrary.org/obo/IAO_", diff --git a/linkml_runtime/linkml_model/jsonld/meta.model.context.jsonld b/linkml_runtime/linkml_model/jsonld/meta.model.context.jsonld index c7a0dbfe..30f2feb1 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-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 ", + "_comments": "Auto generated from meta.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\n Schema: meta\n \n id: https://w3id.org/linkml/meta\n description: A metamodel for defining linked open data schemas\n license: https://creativecommons.org/publicdomain/zero/1.0/\n ", "@context": { "IAO": { "@id": "http://purl.obolibrary.org/obo/IAO_", diff --git a/linkml_runtime/linkml_model/jsonld/types.context.jsonld b/linkml_runtime/linkml_model/jsonld/types.context.jsonld index df3129bc..2bee7fa3 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-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 ", + "_comments": "Auto generated from types.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 df3129bc..2bee7fa3 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-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 ", + "_comments": "Auto generated from types.yaml by jsonldcontextgen.py version: 0.1.1\n Generation date: 2021-09-24 02:31\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 7f7416e0..b33504ae 100644 --- a/linkml_runtime/linkml_model/jsonschema/annotations.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/annotations.schema.json @@ -1,8 +1,5 @@ { - "$id": "https://w3id.org/linkml/annotations", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": true, - "definitions": { + "$defs": { "Annotation": { "additionalProperties": false, "description": "a tag/value pair with the semantics of OWL Annotation", @@ -10,14 +7,14 @@ "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -44,7 +41,7 @@ "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -65,6 +62,9 @@ "type": "object" } }, + "$id": "https://w3id.org/linkml/annotations", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "properties": {}, "title": "annotations", "type": "object" diff --git a/linkml_runtime/linkml_model/jsonschema/extensions.schema.json b/linkml_runtime/linkml_model/jsonschema/extensions.schema.json index d0a46c12..9daee0b4 100644 --- a/linkml_runtime/linkml_model/jsonschema/extensions.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/extensions.schema.json @@ -1,8 +1,5 @@ { - "$id": "https://w3id.org/linkml/extensions", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": true, - "definitions": { + "$defs": { "Extension": { "additionalProperties": false, "description": "a tag/value pair used to add non-model information to an entry", @@ -10,7 +7,7 @@ "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -31,6 +28,9 @@ "type": "object" } }, + "$id": "https://w3id.org/linkml/extensions", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "properties": {}, "title": "extensions", "type": "object" diff --git a/linkml_runtime/linkml_model/jsonschema/mappings.schema.json b/linkml_runtime/linkml_model/jsonschema/mappings.schema.json index e1cec8ad..76cf34dd 100644 --- a/linkml_runtime/linkml_model/jsonschema/mappings.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/mappings.schema.json @@ -1,8 +1,8 @@ { + "$defs": {}, "$id": "https://w3id.org/linkml/mappings", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, - "definitions": {}, "properties": {}, "title": "mappings", "type": "object" diff --git a/linkml_runtime/linkml_model/jsonschema/meta.schema.json b/linkml_runtime/linkml_model/jsonschema/meta.schema.json index f4021971..4c801824 100644 --- a/linkml_runtime/linkml_model/jsonschema/meta.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/meta.schema.json @@ -1,8 +1,5 @@ { - "$id": "https://w3id.org/linkml/meta", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": true, - "definitions": { + "$defs": { "AltDescription": { "additionalProperties": false, "description": "an attributed description", @@ -30,14 +27,14 @@ "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -73,14 +70,14 @@ }, "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -93,7 +90,7 @@ "attributes": { "description": "Inline definition of slots", "items": { - "$ref": "#/definitions/SlotDefinition" + "$ref": "#/$defs/SlotDefinition" }, "type": "array" }, @@ -168,14 +165,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -211,7 +208,7 @@ }, "local_names": { "items": { - "$ref": "#/definitions/LocalName" + "$ref": "#/$defs/LocalName" }, "type": "array" }, @@ -271,7 +268,7 @@ "slot_usage": { "description": "the redefinition of a slot in the context of the containing class definition.", "items": { - "$ref": "#/definitions/SlotDefinition" + "$ref": "#/$defs/SlotDefinition" }, "type": "array" }, @@ -294,6 +291,10 @@ "description": "rdfs:subClassOf to be emitted in OWL generation", "type": "string" }, + "title": { + "description": "the official title of the element", + "type": "string" + }, "todos": { "description": "Outstanding issue that needs resolution", "items": { @@ -338,14 +339,14 @@ }, "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -412,14 +413,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -447,7 +448,7 @@ }, "local_names": { "items": { - "$ref": "#/definitions/LocalName" + "$ref": "#/$defs/LocalName" }, "type": "array" }, @@ -479,13 +480,13 @@ "permissible_values": { "description": "A list of possible values for a slot range", "items": { - "$ref": "#/definitions/PermissibleValue" + "$ref": "#/$defs/PermissibleValue" }, "type": "array" }, "pv_formula": { - "description": "Defines the specific formula to be used to generate the permissible values.", - "type": "string" + "$ref": "#/$defs/PvFormulaOptions", + "description": "Defines the specific formula to be used to generate the permissible values." }, "related_mappings": { "description": "A list of terms from different schemas or terminology systems that have related meaning.", @@ -501,6 +502,10 @@ }, "type": "array" }, + "title": { + "description": "the official title of the element", + "type": "string" + }, "todos": { "description": "Outstanding issue that needs resolution", "items": { @@ -539,7 +544,7 @@ "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -585,14 +590,14 @@ "properties": { "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -622,14 +627,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -712,6 +717,17 @@ "title": "Prefix", "type": "object" }, + "PvFormulaOptions": { + "description": "The formula used to generate the set of permissible values from the code_set values", + "enum": [ + "CODE", + "CURIE", + "URI", + "FHIR_CODING" + ], + "title": "PvFormulaOptions", + "type": "string" + }, "SchemaDefinition": { "additionalProperties": false, "description": "a collection of subset, type, slot and class definitions", @@ -724,14 +740,14 @@ }, "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -745,7 +761,7 @@ "classes": { "description": "class definitions", "items": { - "$ref": "#/definitions/ClassDefinition" + "$ref": "#/$defs/ClassDefinition" }, "type": "array" }, @@ -808,7 +824,7 @@ "enums": { "description": "enumerated ranges", "items": { - "$ref": "#/definitions/EnumDefinition" + "$ref": "#/$defs/EnumDefinition" }, "type": "array" }, @@ -822,14 +838,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -877,7 +893,7 @@ }, "local_names": { "items": { - "$ref": "#/definitions/LocalName" + "$ref": "#/$defs/LocalName" }, "type": "array" }, @@ -912,7 +928,7 @@ "prefixes": { "description": "prefix / URI definitions to be added to the context beyond those fetched from prefixcommons in id prefixes", "items": { - "$ref": "#/definitions/Prefix" + "$ref": "#/$defs/Prefix" }, "type": "array" }, @@ -933,7 +949,7 @@ "slots": { "description": "slot definitions", "items": { - "$ref": "#/definitions/SlotDefinition" + "$ref": "#/$defs/SlotDefinition" }, "type": "array" }, @@ -953,12 +969,12 @@ "subsets": { "description": "list of subsets referenced in this model", "items": { - "$ref": "#/definitions/SubsetDefinition" + "$ref": "#/$defs/SubsetDefinition" }, "type": "array" }, "title": { - "description": "the official title of the schema", + "description": "the official title of the element", "type": "string" }, "todos": { @@ -971,7 +987,7 @@ "types": { "description": "data types used in the model", "items": { - "$ref": "#/definitions/TypeDefinition" + "$ref": "#/$defs/TypeDefinition" }, "type": "array" }, @@ -1007,14 +1023,14 @@ }, "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -1099,14 +1115,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -1178,7 +1194,7 @@ }, "local_names": { "items": { - "$ref": "#/definitions/LocalName" + "$ref": "#/$defs/LocalName" }, "type": "array" }, @@ -1299,6 +1315,10 @@ "description": "True means that any instance of d s r implies that there is also an instance of r s d", "type": "boolean" }, + "title": { + "description": "the official title of the element", + "type": "string" + }, "todos": { "description": "Outstanding issue that needs resolution", "items": { @@ -1336,14 +1356,14 @@ }, "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -1398,14 +1418,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -1433,7 +1453,7 @@ }, "local_names": { "items": { - "$ref": "#/definitions/LocalName" + "$ref": "#/$defs/LocalName" }, "type": "array" }, @@ -1476,6 +1496,10 @@ }, "type": "array" }, + "title": { + "description": "the official title of the element", + "type": "string" + }, "todos": { "description": "Outstanding issue that needs resolution", "items": { @@ -1502,14 +1526,14 @@ }, "alt_descriptions": { "items": { - "$ref": "#/definitions/AltDescription" + "$ref": "#/$defs/AltDescription" }, "type": "array" }, "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, @@ -1568,14 +1592,14 @@ "examples": { "description": "example usages of an element", "items": { - "$ref": "#/definitions/Example" + "$ref": "#/$defs/Example" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -1603,7 +1627,7 @@ }, "local_names": { "items": { - "$ref": "#/definitions/LocalName" + "$ref": "#/$defs/LocalName" }, "type": "array" }, @@ -1632,6 +1656,10 @@ }, "type": "array" }, + "pattern": { + "description": "the string value of the slot must conform to this regular expression", + "type": "string" + }, "related_mappings": { "description": "A list of terms from different schemas or terminology systems that have related meaning.", "items": { @@ -1650,6 +1678,10 @@ }, "type": "array" }, + "title": { + "description": "the official title of the element", + "type": "string" + }, "todos": { "description": "Outstanding issue that needs resolution", "items": { @@ -1679,14 +1711,14 @@ "annotations": { "description": "a collection of tag/text tuples with the semantics of OWL Annotation", "items": { - "$ref": "#/definitions/Annotation" + "$ref": "#/$defs/Annotation" }, "type": "array" }, "extensions": { "description": "a tag/text tuple attached to an arbitrary element", "items": { - "$ref": "#/definitions/Extension" + "$ref": "#/$defs/Extension" }, "type": "array" }, @@ -1705,6 +1737,9 @@ "type": "object" } }, + "$id": "https://w3id.org/linkml/meta", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": true, "properties": {}, "title": "meta", "type": "object" diff --git a/linkml_runtime/linkml_model/jsonschema/types.schema.json b/linkml_runtime/linkml_model/jsonschema/types.schema.json index 008b74cb..8d48d0a9 100644 --- a/linkml_runtime/linkml_model/jsonschema/types.schema.json +++ b/linkml_runtime/linkml_model/jsonschema/types.schema.json @@ -1,8 +1,8 @@ { + "$defs": {}, "$id": "https://w3id.org/linkml/types", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, - "definitions": {}, "properties": {}, "title": "types", "type": "object" diff --git a/linkml_runtime/linkml_model/mappings.py b/linkml_runtime/linkml_model/mappings.py index ae27457d..79d2686c 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-08-19 17:51 +# Generation date: 2021-09-24 02:32 # Schema: mappings # # id: https://w3id.org/linkml/mappings diff --git a/linkml_runtime/linkml_model/meta.py b/linkml_runtime/linkml_model/meta.py index 95beae20..4d439bd6 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-08-19 17:51 +# Generation date: 2021-09-24 02:32 # Schema: meta # # id: https://w3id.org/linkml/meta @@ -185,6 +185,7 @@ class Element(YAMLRoot): class_model_uri: ClassVar[URIRef] = LINKML.Element name: Union[str, ElementName] = None + title: Optional[str] = None id_prefixes: Optional[Union[Union[str, NCName], List[Union[str, NCName]]]] = empty_list() definition_uri: Optional[Union[str, URIorCURIE]] = None aliases: Optional[Union[str, List[str]]] = empty_list() @@ -217,6 +218,9 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if not isinstance(self.name, ElementName): self.name = ElementName(self.name) + if self.title is not None and not isinstance(self.title, str): + self.title = str(self.title) + if not isinstance(self.id_prefixes, list): self.id_prefixes = [self.id_prefixes] if self.id_prefixes is not None else [] self.id_prefixes = [v if isinstance(v, NCName) else NCName(v) for v in self.id_prefixes] @@ -319,7 +323,6 @@ class SchemaDefinition(Element): name: Union[str, SchemaDefinitionName] = None id: Union[str, URI] = None - title: Optional[str] = None version: Optional[str] = None imports: Optional[Union[Union[str, URIorCURIE], List[Union[str, URIorCURIE]]]] = empty_list() license: Optional[str] = None @@ -352,9 +355,6 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if not isinstance(self.id, URI): self.id = URI(self.id) - if self.title is not None and not isinstance(self.title, str): - self.title = str(self.title) - if self.version is not None and not isinstance(self.version, str): self.version = str(self.version) @@ -414,7 +414,7 @@ class TypeDefinition(Element): """ A data type definition. """ - _inherited_slots: ClassVar[List[str]] = ["base", "uri", "repr"] + _inherited_slots: ClassVar[List[str]] = ["base", "uri", "repr", "pattern"] class_class_uri: ClassVar[URIRef] = LINKML.TypeDefinition class_class_curie: ClassVar[str] = "linkml:TypeDefinition" @@ -426,6 +426,7 @@ class TypeDefinition(Element): base: Optional[str] = None uri: Optional[Union[str, URIorCURIE]] = None repr: Optional[str] = None + pattern: Optional[str] = None def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if self._is_empty(self.name): @@ -445,6 +446,9 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): if self.repr is not None and not isinstance(self.repr, str): self.repr = str(self.repr) + if self.pattern is not None and not isinstance(self.pattern, str): + self.pattern = str(self.pattern) + super().__post_init__(**kwargs) diff --git a/linkml_runtime/linkml_model/model/schema/meta.yaml b/linkml_runtime/linkml_model/model/schema/meta.yaml index a25dfa22..f5e90d2c 100644 --- a/linkml_runtime/linkml_model/model/schema/meta.yaml +++ b/linkml_runtime/linkml_model/model/schema/meta.yaml @@ -64,6 +64,13 @@ slots: see_also: - https://en.wikipedia.org/wiki/Data_element_name + title: + domain: element + description: the official title of the element + slot_uri: dcterms:title + in_subset: + - owl + definition_uri: domain: element description: the "native" URI of the element @@ -329,13 +336,6 @@ slots: a list of Curie prefixes that are used in the representation of instances of the model. All prefixes in this list are added to the prefix sections of the target models. - title: - domain: schema_definition - description: the official title of the schema - slot_uri: dcterms:title - in_subset: - - owl - version: domain: schema_definition description: particular version of schema @@ -785,7 +785,7 @@ slots: inherited: true pattern: - domain: slot_definition + domain: definition range: string description: the string value of the slot must conform to this regular expression inherited: true @@ -971,6 +971,7 @@ classes: - common_metadata slots: - name + - title - id_prefixes - definition_uri - aliases @@ -991,7 +992,6 @@ classes: is_a: element slots: - id - - title - version - imports - license @@ -1027,6 +1027,7 @@ classes: - base - type_uri - repr + - pattern subset_definition: description: the name and description of a subset diff --git a/linkml_runtime/linkml_model/owl/meta.owl.ttl b/linkml_runtime/linkml_model/owl/meta.owl.ttl index 8cd9b8f9..256b2791 100644 --- a/linkml_runtime/linkml_model/owl/meta.owl.ttl +++ b/linkml_runtime/linkml_model/owl/meta.owl.ttl @@ -1,6 +1,7 @@ @prefix dcterms: . @prefix linkml: . @prefix owl: . +@prefix pav: . @prefix rdf: . @prefix rdfs: . @prefix skos: . @@ -125,12 +126,13 @@ linkml:meta a owl:Ontology ; rdfs:label "meta" ; dcterms:license "https://creativecommons.org/publicdomain/zero/1.0/" ; dcterms:title "LinkML Schema Metamodel" ; + pav:version "2.0.0" ; skos:definition "A metamodel for defining linked open data schemas" ; - linkml:generation_date "2021-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:metamodel_version "1.7.0" ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; - linkml:source_file_size 34566 . + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; + linkml:source_file_size 34568 . linkml:permissible_value_is_a a owl:ObjectProperty, linkml:SlotDefinition ; @@ -607,13 +609,6 @@ linkml:owner a owl:ObjectProperty, rdfs:range linkml:Definition ; skos:definition "the \"owner\" of the slot. It is the class if it appears in the slots list, otherwise the declaring slot" . -linkml:pattern a owl:ObjectProperty, - linkml:SlotDefinition ; - rdfs:label "pattern" ; - rdfs:domain linkml:SlotDefinition ; - rdfs:range linkml:String ; - skos:definition "the string value of the slot must conform to this regular expression" . - linkml:permissible_values a owl:ObjectProperty, linkml:SlotDefinition ; rdfs:label "permissible_values" ; @@ -812,9 +807,9 @@ linkml:text a owl:ObjectProperty, linkml:title a owl:ObjectProperty, linkml:SlotDefinition ; rdfs:label "title" ; - rdfs:domain linkml:SchemaDefinition ; + rdfs:domain linkml:Element ; rdfs:range linkml:String ; - skos:definition "the official title of the schema" . + skos:definition "the official title of the element" . linkml:tree_root a owl:ObjectProperty, linkml:SlotDefinition ; @@ -873,34 +868,42 @@ linkml:CommonMetadata a owl:Class, linkml:ClassDefinition ; rdfs:label "common_metadata" ; rdfs:subClassOf [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:comments ], + [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_exact_replacement ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:see_also ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:deprecated ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:see_also ], + owl:allValuesFrom linkml:AltDescription ; + owl:onProperty linkml:alt_descriptions ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:from_schema ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; owl:onProperty linkml:todos ], [ a owl:Restriction ; - owl:allValuesFrom linkml:AltDescription ; - owl:onProperty linkml:alt_descriptions ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Example ; - owl:onProperty linkml:examples ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_possible_replacement ], [ a owl:Restriction ; owl:allValuesFrom linkml:SubsetDefinition ; owl:onProperty linkml:in_subset ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], + owl:onProperty linkml:notes ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; @@ -909,29 +912,21 @@ linkml:CommonMetadata a owl:Class, owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:imported_from ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:from_schema ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:deprecated_element_has_possible_replacement ], linkml:mixin ; skos:definition "Generic metadata shared across definitions" . linkml:UniqueKey a owl:Class, linkml:ClassDefinition ; rdfs:label "unique_key" ; - rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], - [ a owl:Class ; + rdfs:subClassOf [ 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 ], @@ -939,6 +934,13 @@ linkml:UniqueKey a owl:Class, linkml:Extensible ; skos:definition "a collection of slots whose values uniquely identify an instance of a class" . +linkml:pattern a owl:ObjectProperty, + linkml:SlotDefinition ; + rdfs:label "pattern" ; + rdfs:domain linkml:Definition ; + rdfs:range linkml:String ; + skos:definition "the string value of the slot must conform to this regular expression" . + linkml:slots a owl:ObjectProperty, linkml:SlotDefinition ; rdfs:label "slots" ; @@ -1064,12 +1066,12 @@ linkml:LocalName a owl:Class, linkml:ClassDefinition ; rdfs:label "local_name" ; rdfs:subClassOf [ 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 ], + [ a owl:Restriction ; + owl:onClass linkml:Ncname ; + owl:onProperty linkml:local_name_source ; owl:qualifiedCardinality 1 ] ; skos:definition "an attributed label" . @@ -1077,12 +1079,12 @@ linkml:Prefix a owl:Class, linkml:ClassDefinition ; rdfs:label "prefix" ; rdfs:subClassOf [ 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 ], + [ a owl:Restriction ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:prefix_reference ; owl:qualifiedCardinality 1 ] ; skos:definition "prefix URI tuple" . @@ -1154,11 +1156,11 @@ linkml:Example a owl:Class, rdfs:subClassOf [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:value ], + owl:onProperty linkml:description ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:description ] ; + owl:onProperty linkml:value ] ; skos:definition "usage example and description" . linkml:Integer a owl:Class, @@ -1194,23 +1196,23 @@ linkml:EnumDefinition a owl:Class, rdfs:label "enum_definition" ; rdfs:subClassOf [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:code_set_tag ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:code_set ], [ a owl:Restriction ; - owl:allValuesFrom linkml:PermissibleValue ; - owl:onProperty linkml:permissible_values ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:code_set_version ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:code_set ], + owl:onClass linkml:String ; + owl:onProperty linkml:code_set_tag ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass ; owl:onProperty linkml:pv_formula ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:code_set_version ], + owl:allValuesFrom linkml:PermissibleValue ; + owl:onProperty linkml:permissible_values ], linkml:Element ; skos:definition "List of values that constrain the range of a slot" . @@ -1255,13 +1257,13 @@ linkml:Extension a owl:Class, owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:tag ; owl:qualifiedCardinality 1 ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Extension ; - owl:onProperty linkml:extensions ], [ a owl:Restriction ; owl:onClass linkml:String ; owl:onProperty linkml:value ; - owl:qualifiedCardinality 1 ] ; + owl:qualifiedCardinality 1 ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Extension ; + owl:onProperty linkml:extensions ] ; skos:definition "a tag/value pair used to add non-model information to an entry" . linkml:Ncname a owl:Class, @@ -1277,33 +1279,23 @@ linkml:PermissibleValue a owl:Class, linkml:ClassDefinition ; rdfs:label "permissible_value" ; rdfs:subClassOf [ a owl:Restriction ; - owl:onClass linkml:String ; - owl:onProperty linkml:text ; - owl:qualifiedCardinality 1 ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:from_schema ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:PermissibleValue ; - owl:onProperty linkml:is_a ], - [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; owl:onProperty linkml:see_also ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Example ; - owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:deprecated ], + owl:onProperty linkml:description ], [ a owl:Restriction ; owl:allValuesFrom linkml:PermissibleValue ; owl:onProperty linkml:mixins ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:deprecated ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:PermissibleValue ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; @@ -1313,32 +1305,42 @@ linkml:PermissibleValue a owl:Class, owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:deprecated_element_has_possible_replacement ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:comments ], + [ a owl:Restriction ; owl:onClass linkml:String ; - owl:onProperty linkml:description ], + owl:onProperty linkml:text ; + owl:qualifiedCardinality 1 ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:meaning ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:from_schema ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:imported_from ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:notes ], [ a owl:Restriction ; 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:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], + owl:allValuesFrom linkml:Annotation ; + owl:onProperty linkml:annotations ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; owl:onProperty linkml:todos ], @@ -1355,50 +1357,50 @@ linkml:Definition a owl:Class, rdfs:label "definition" ; rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_element_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Datetime ; - owl:onProperty linkml:created_on ], - [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:string_serialization ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Definition ; - owl:onProperty linkml:is_a ], + owl:allValuesFrom linkml:Definition ; + owl:onProperty linkml:mixins ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:mixin ], + owl:allValuesFrom linkml:Definition ; + owl:onProperty linkml:apply_to ], [ 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 ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Datetime ; owl:onProperty linkml:last_updated_on ], [ 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:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:values_from ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Definition ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; owl:onProperty linkml:abstract ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:created_by ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:mixin ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Datetime ; + owl:onProperty linkml:created_on ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:status ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:values_from ], linkml:Element ; skos:definition "base class for definitions" . @@ -1407,80 +1409,76 @@ 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 ], + owl:allValuesFrom linkml:TypeDefinition ; + owl:onProperty linkml:types ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:default_curi_maps ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:version ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:imports ], [ a owl:Restriction ; owl:allValuesFrom linkml:Ncname ; owl:onProperty linkml:emit_prefixes ], [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:slots ], + owl:allValuesFrom linkml:Prefix ; + owl:onProperty linkml:prefixes ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:source_file_size ], + owl:onClass linkml:String ; + owl:onProperty linkml:source_file ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Datetime ; - owl:onProperty linkml:generation_date ], + owl:onClass linkml:Ncname ; + owl:onProperty linkml:name ; + owl:qualifiedCardinality 1 ], [ a owl:Restriction ; - owl:allValuesFrom linkml:SubsetDefinition ; - owl:onProperty linkml:subsets ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:metamodel_version ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Datetime ; owl:onProperty linkml:source_file_date ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:imports ], - [ a owl:Restriction ; - owl:onClass linkml:Ncname ; - owl:onProperty linkml:name ; - owl:qualifiedCardinality 1 ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Datetime ; + owl:onProperty linkml:generation_date ], [ a owl:Restriction ; - owl:onClass linkml:Uri ; - owl:onProperty linkml:id ; - owl:qualifiedCardinality 1 ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:default_curi_maps ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:source_file ], + owl:allValuesFrom linkml:SubsetDefinition ; + owl:onProperty linkml:subsets ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:license ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:EnumDefinition ; + owl:onProperty linkml:enums ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:version ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:metamodel_version ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:Prefix ; - owl:onProperty linkml:prefixes ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:source_file_size ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:TypeDefinition ; owl:onProperty linkml:default_range ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:EnumDefinition ; - owl:onProperty linkml:enums ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:title ], + owl:onProperty linkml:default_prefix ], [ a owl:Restriction ; - owl:allValuesFrom linkml:TypeDefinition ; - owl:onProperty linkml:types ], + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:slots ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:default_prefix ], + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:classes ], + [ a owl:Restriction ; + owl:onClass linkml:Uri ; + owl:onProperty linkml:id ; + owl:qualifiedCardinality 1 ], linkml:Element ; skos:altLabel "data dictionary" ; skos:definition "a collection of subset, type, slot and class definitions" . @@ -1489,13 +1487,17 @@ 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 ], + owl:onClass linkml:String ; + owl:onProperty linkml:pattern ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; @@ -1512,91 +1514,95 @@ linkml:Element a owl:Class, rdfs:label "element" ; rdfs:seeAlso "https://en.wikipedia.org/wiki/Data_element" ; rdfs:subClassOf [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:description ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:see_also ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:deprecated ], + owl:onClass linkml:Uri ; + owl:onProperty linkml:from_schema ], [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:notes ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:broad_mappings ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:see_also ], + owl:onProperty linkml:narrow_mappings ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:LocalName ; + owl:onProperty linkml:local_names ], [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:name ; - owl:qualifiedCardinality 1 ], + owl:onProperty linkml:imported_from ], [ a owl:Restriction ; - owl:allValuesFrom linkml:AltDescription ; - owl:onProperty linkml:alt_descriptions ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:deprecated ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:imported_from ], + owl:onProperty linkml:title ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Example ; - owl:onProperty linkml:examples ], + owl:allValuesFrom linkml:Uriorcurie ; + owl:onProperty linkml:related_mappings ], [ 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 ], + owl:allValuesFrom linkml:SubsetDefinition ; + owl:onProperty linkml:in_subset ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:close_mappings ], + owl:onProperty linkml:exact_mappings ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:comments ], [ a owl:Restriction ; owl:allValuesFrom linkml:Ncname ; owl:onProperty linkml:id_prefixes ], + [ a owl:Restriction ; + owl:onClass linkml:String ; + owl:onProperty linkml:name ; + owl:qualifiedCardinality 1 ], [ 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 ], + owl:allValuesFrom linkml:Annotation ; + owl:onProperty linkml:annotations ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:notes ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:Example ; + owl:onProperty linkml:examples ], [ a owl:Restriction ; owl:allValuesFrom linkml:Extension ; owl:onProperty linkml:extensions ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:narrow_mappings ], + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:String ; + owl:onProperty linkml:description ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:deprecated_element_has_exact_replacement ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; owl:onProperty linkml:mappings ], [ a owl:Restriction ; - 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:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:broad_mappings ], + owl:allValuesFrom linkml:String ; + owl:onProperty linkml:aliases ], [ a owl:Restriction ; owl:allValuesFrom linkml:String ; owl:onProperty linkml:todos ], [ a owl:Restriction ; - owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:related_mappings ], + owl:allValuesFrom linkml:AltDescription ; + owl:onProperty linkml:alt_descriptions ], [ a owl:Restriction ; owl:allValuesFrom linkml:Uriorcurie ; - owl:onProperty linkml:exact_mappings ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:String ; - owl:onProperty linkml:comments ], + owl:onProperty linkml:close_mappings ], linkml:Annotatable, linkml:CommonMetadata, linkml:Extensible ; @@ -1619,38 +1625,38 @@ linkml:ClassDefinition a owl:Class, owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:subclass_of ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:defining_slots ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:slots ], + owl:onClass linkml:ClassDefinition ; + owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:union_of ], + owl:onProperty linkml:apply_to ], [ 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:apply_to ], - [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:ClassDefinition ; - owl:onProperty linkml:is_a ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:slot_usage ], + owl:onProperty linkml:defining_slots ], [ a owl:Restriction ; owl:allValuesFrom linkml:SlotDefinition ; owl:onProperty linkml:attributes ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:subclass_of ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Uriorcurie ; owl:onProperty linkml:class_uri ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:slot_usage ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:union_of ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:slots ], linkml:Definition ; skos:altLabel "message", "observation", @@ -1682,66 +1688,64 @@ linkml:SlotDefinition a owl:Class, linkml:ClassDefinition ; rdfs:label "slot_definition" ; rdfs:subClassOf [ a owl:Restriction ; - owl:allValuesFrom linkml:ClassDefinition ; - owl:onProperty linkml:domain_of ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:mixins ], - [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; - owl:onProperty linkml:pattern ], + 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:role ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:identifier ], + owl:onProperty linkml:designates_type ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:SlotDefinition ; - owl:onProperty linkml:is_a ], + owl:onClass linkml:String ; + owl:onProperty linkml:singular_name ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:required ], - [ a owl:Restriction ; - owl:allValuesFrom linkml:SlotDefinition ; - owl:onProperty linkml:apply_to ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:inverse ], [ 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:Boolean ; - owl:onProperty linkml:multivalued ], + owl:onClass linkml:Uriorcurie ; + owl:onProperty linkml:slot_uri ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:is_usage_slot ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:subproperty_of ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:SlotDefinition ; - owl:onProperty linkml:inverse ], + owl:onClass linkml:Element ; + owl:onProperty linkml:range ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:maximum_value ], + owl:onClass linkml:String ; + owl:onProperty linkml:pattern ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:ifabsent ], + [ a owl:Restriction ; + owl:maxQualifiedCardinality 1 ; + owl:onClass linkml:Boolean ; + owl:onProperty linkml:identifier ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:String ; owl:onProperty linkml:alias ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Element ; - owl:onProperty linkml:range ], + owl:onClass linkml:SlotDefinition ; + owl:onProperty linkml:is_a ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:mixins ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; @@ -1749,59 +1753,61 @@ linkml:SlotDefinition a owl:Class, [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:is_class_field ], + owl:onProperty linkml:inlined_as_list ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Definition ; - owl:onProperty linkml:owner ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:key ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:inlined ], + owl:onProperty linkml:recommended ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:ClassDefinition ; - owl:onProperty linkml:domain ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:multivalued ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Integer ; - owl:onProperty linkml:minimum_value ], + owl:onClass linkml:String ; + owl:onProperty linkml:usage_slot_name ], [ a owl:Restriction ; - owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Uriorcurie ; - owl:onProperty linkml:slot_uri ], + owl:allValuesFrom linkml:ClassDefinition ; + owl:onProperty linkml:domain_of ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:designates_type ], + owl:onProperty linkml:required ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:readonly ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:is_class_field ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:singular_name ], + owl:onClass linkml:Definition ; + owl:onProperty linkml:owner ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:role ], + owl:onClass linkml:Boolean ; + owl:onProperty linkml:symmetric ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:key ], + owl:onProperty linkml:inlined ], + [ a owl:Restriction ; + owl:allValuesFrom linkml:SlotDefinition ; + owl:onProperty linkml:apply_to ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:String ; - owl:onProperty linkml:usage_slot_name ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:maximum_value ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; - owl:onClass linkml:Boolean ; - owl:onProperty linkml:inlined_as_list ], + owl:onClass linkml:Integer ; + owl:onProperty linkml:minimum_value ], [ a owl:Restriction ; owl:maxQualifiedCardinality 1 ; owl:onClass linkml:Boolean ; - owl:onProperty linkml:symmetric ], + owl:onProperty linkml:is_usage_slot ], linkml:Definition ; skos:altLabel "attribute", "column", diff --git a/linkml_runtime/linkml_model/rdf/annotations.model.ttl b/linkml_runtime/linkml_model/rdf/annotations.model.ttl index 808f8b68..0c8f2418 100644 --- a/linkml_runtime/linkml_model/rdf/annotations.model.ttl +++ b/linkml_runtime/linkml_model/rdf/annotations.model.ttl @@ -4,6 +4,17 @@ [] a linkml:SchemaDefinition ; linkml:classes [ 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" ; @@ -16,6 +27,15 @@ "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" ], [ a linkml:ClassDefinition ; linkml:class_uri "https://w3id.org/linkml/Extensible" ; linkml:definition_uri "https://w3id.org/linkml/Extensible" ; @@ -25,32 +45,12 @@ 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" ; - 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:slots "extensions" ] ; linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Annotations mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:id "https://w3id.org/linkml/annotations" ; linkml:imports "linkml:extensions", "linkml:types" ; @@ -60,19 +60,18 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - linkml:definition_uri "https://w3id.org/linkml/extensions" ; - linkml:description "a tag/text tuple attached to an arbitrary element" ; - linkml:domain "Extensible" ; - linkml:domain_of "Extensible", - "Extension" ; + linkml:alias "value" ; + linkml:definition_uri "https://w3id.org/linkml/extension_value" ; + linkml:description "the actual annotation" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; linkml:from_schema "https://w3id.org/linkml/extensions" ; linkml:imported_from "linkml:extensions" ; - linkml:inlined true ; - linkml:multivalued true ; - linkml:name "extensions" ; - linkml:owner "Extensible" ; - linkml:range "Extension" ; - linkml:slot_uri "https://w3id.org/linkml/extensions" ], + linkml:name "extension_value" ; + linkml:owner "Extension" ; + linkml:range "string" ; + linkml:required true ; + linkml:slot_uri "https://w3id.org/linkml/value" ], [ a linkml:SlotDefinition ; linkml:alias "tag" ; linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; @@ -101,56 +100,23 @@ linkml:range "Annotation" ; linkml:slot_uri "https://w3id.org/linkml/annotations" ], [ a linkml:SlotDefinition ; - linkml:alias "value" ; - linkml:definition_uri "https://w3id.org/linkml/extension_value" ; - linkml:description "the actual annotation" ; - linkml:domain "Extension" ; - linkml:domain_of "Extension" ; + linkml:definition_uri "https://w3id.org/linkml/extensions" ; + linkml:description "a tag/text tuple attached to an arbitrary element" ; + linkml:domain "Extensible" ; + linkml:domain_of "Extensible", + "Extension" ; linkml:from_schema "https://w3id.org/linkml/extensions" ; linkml:imported_from "linkml:extensions" ; - linkml:name "extension_value" ; - linkml:owner "Extension" ; - linkml:range "string" ; - linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ] ; + linkml:inlined true ; + linkml:multivalued true ; + linkml:name "extensions" ; + linkml:owner "Extensible" ; + linkml:range "Extension" ; + linkml:slot_uri "https://w3id.org/linkml/extensions" ] ; linkml:source_file "annotations.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 833 ; 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 "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], - [ a linkml:TypeDefinition ; - linkml:base "NodeIdentifier" ; - linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; - linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "nodeidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], - [ a linkml:TypeDefinition ; linkml:base "NCName" ; linkml:definition_uri "https://w3id.org/linkml/Ncname" ; linkml:description "Prefix part of CURIE" ; @@ -170,23 +136,39 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; + linkml:base "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 "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], + 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 "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:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + [ a linkml:TypeDefinition ; + linkml:base "Bool" ; + linkml:definition_uri "https://w3id.org/linkml/Boolean" ; + linkml:description "A binary (true or false) value" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "boolean" ; + linkml:repr "bool" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + [ 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 "ElementIdentifier" ; linkml:comments "Used for inheritence and type checking" ; @@ -198,21 +180,31 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + 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 "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "uri" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + [ a linkml:TypeDefinition ; + linkml:base "NodeIdentifier" ; + linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; + linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "nodeidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:definition_uri "https://w3id.org/linkml/Double" ; + linkml:description "A real number that conforms to the xsd:double specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ a linkml:TypeDefinition ; linkml:base "URIorCURIE" ; linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; @@ -223,23 +215,31 @@ 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: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 "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/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 "boolean" ; - linkml:repr "bool" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ] ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + [ a linkml:TypeDefinition ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/annotations.ttl b/linkml_runtime/linkml_model/rdf/annotations.ttl index 871bce52..42ef2d00 100644 --- a/linkml_runtime/linkml_model/rdf/annotations.ttl +++ b/linkml_runtime/linkml_model/rdf/annotations.ttl @@ -4,23 +4,16 @@ [] 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: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: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:is_a "Extension" ; + linkml:mixins "Annotatable" ; + linkml:name "Annotation" ; linkml:slot_usage [ ] ; - linkml:slots "extension_tag", + linkml:slots "annotations", + "extension_tag", "extension_value", "extensions" ], [ a linkml:ClassDefinition ; @@ -34,23 +27,30 @@ linkml:slot_usage [ ] ; linkml:slots "extensions" ], [ a linkml:ClassDefinition ; - linkml:class_uri "https://w3id.org/linkml/Annotation" ; - linkml:definition_uri "https://w3id.org/linkml/Annotation" ; - linkml:description "a tag/value pair with the semantics of OWL Annotation" ; - linkml:from_schema "https://w3id.org/linkml/annotations" ; - linkml:is_a "Extension" ; - linkml:mixins "Annotatable" ; - linkml:name "Annotation" ; + linkml: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 "annotations", - "extension_tag", + linkml:slots "extension_tag", "extension_value", - "extensions" ] ; + "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-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:id "https://w3id.org/linkml/annotations" ; linkml:imports "linkml:extensions", "linkml:types" ; @@ -60,33 +60,6 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - linkml: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" ; - linkml:domain "Annotatable" ; - linkml:domain_of "Annotatable", - "Annotation" ; - linkml:from_schema "https://w3id.org/linkml/annotations" ; - linkml:inlined true ; - linkml:is_a "extensions" ; - linkml:multivalued true ; - linkml:name "annotations" ; - linkml:owner "Annotation" ; - linkml:range "Annotation" ; - linkml:slot_uri "https://w3id.org/linkml/annotations" ], - [ a linkml:SlotDefinition ; linkml:definition_uri "https://w3id.org/linkml/extensions" ; linkml:description "a tag/text tuple attached to an arbitrary element" ; linkml:domain "Extensible" ; @@ -112,64 +85,109 @@ linkml:owner "Extension" ; linkml:range "string" ; linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ] ; + linkml:slot_uri "https://w3id.org/linkml/value" ], + [ a linkml:SlotDefinition ; + linkml:alias "tag" ; + linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; + linkml:description "a tag associated with an extension" ; + 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" ; + linkml:domain "Annotatable" ; + linkml:domain_of "Annotatable", + "Annotation" ; + linkml:from_schema "https://w3id.org/linkml/annotations" ; + linkml:inlined true ; + linkml:is_a "extensions" ; + linkml:multivalued true ; + linkml:name "annotations" ; + linkml:owner "Annotation" ; + linkml:range "Annotation" ; + linkml:slot_uri "https://w3id.org/linkml/annotations" ] ; linkml:source_file "annotations.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 833 ; linkml:types [ 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 "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 "date" ; + linkml:name "objectidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#iri" ], + [ a linkml:TypeDefinition ; + linkml:base "float" ; + linkml:definition_uri "https://w3id.org/linkml/Float" ; + linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "time" ; linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "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 "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "boolean" ; + 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 "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 "ncname" ; + linkml:name "nodeidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; + linkml:base "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 "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; + linkml: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 "objectidentifier" ; + linkml:name "ncname" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], + 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 "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 "URIorCURIE" ; linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; @@ -179,14 +197,6 @@ linkml:name "uriorcurie" ; 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/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -197,49 +207,39 @@ 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" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + 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 "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" ], + 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" ; - linkml:description "A real number that conforms to the xsd:float specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], - [ a linkml:TypeDefinition ; - linkml:base "int" ; - linkml:definition_uri "https://w3id.org/linkml/Integer" ; - linkml:description "An integer" ; + 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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + linkml:name "double" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], [ 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 "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 "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 "nodeidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ] ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; 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 1099778a..da2237d7 100644 --- a/linkml_runtime/linkml_model/rdf/extensions.model.ttl +++ b/linkml_runtime/linkml_model/rdf/extensions.model.ttl @@ -26,7 +26,7 @@ linkml:default_range "string" ; linkml:description "Extension mixin" ; linkml:emit_prefixes "linkml" ; - linkml:generation_date "2021-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:id "https://w3id.org/linkml/extensions" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; @@ -35,18 +35,6 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; - linkml:alias "tag" ; - linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; - linkml:description "a tag associated with an extension" ; - linkml:domain "Extension" ; - linkml:domain_of "Extension" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:name "extension_tag" ; - linkml:owner "Extension" ; - linkml:range "uriorcurie" ; - linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/tag" ], - [ a linkml:SlotDefinition ; linkml:definition_uri "https://w3id.org/linkml/extensions" ; linkml:description "a tag/text tuple attached to an arbitrary element" ; linkml:domain "Extensible" ; @@ -70,19 +58,31 @@ linkml:owner "Extension" ; linkml:range "string" ; linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/value" ] ; + linkml:slot_uri "https://w3id.org/linkml/value" ], + [ a linkml:SlotDefinition ; + linkml:alias "tag" ; + linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; + linkml:description "a tag associated with an extension" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:name "extension_tag" ; + linkml:owner "Extension" ; + linkml:range "uriorcurie" ; + linkml:required true ; + linkml:slot_uri "https://w3id.org/linkml/tag" ] ; linkml:source_file "extensions.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 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: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 "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -93,49 +93,34 @@ 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" ; - 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 "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 "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 "objectidentifier" ; + 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/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" ], + 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 "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 "uri" ; + linkml:name "uriorcurie" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "NodeIdentifier" ; - linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; - linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:base "XSDTime" ; + linkml:definition_uri "https://w3id.org/linkml/Time" ; + linkml:description "A time object represents a (local) time of day, independent of any particular day" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "nodeidentifier" ; + linkml:name "time" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Float" ; @@ -145,33 +130,33 @@ linkml:name "float" ; linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "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 "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 "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" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + 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 "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "objectidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "int" ; linkml:definition_uri "https://w3id.org/linkml/Integer" ; @@ -181,23 +166,38 @@ linkml:name "integer" ; linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "URI" ; + linkml:definition_uri "https://w3id.org/linkml/Uri" ; + linkml:description "a complete URI" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "ncname" ; + linkml:name "uri" ; 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/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 "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 "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ] ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/extensions.ttl b/linkml_runtime/linkml_model/rdf/extensions.ttl index bf06399a..86597fd4 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-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:id "https://w3id.org/linkml/extensions" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; @@ -35,6 +35,18 @@ linkml:prefixes [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ] ; linkml:slots [ a linkml:SlotDefinition ; + linkml:alias "tag" ; + linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; + linkml:description "a tag associated with an extension" ; + linkml:domain "Extension" ; + linkml:domain_of "Extension" ; + linkml:from_schema "https://w3id.org/linkml/extensions" ; + linkml:name "extension_tag" ; + linkml:owner "Extension" ; + linkml:range "uriorcurie" ; + linkml:required true ; + linkml:slot_uri "https://w3id.org/linkml/tag" ], + [ a linkml:SlotDefinition ; linkml:alias "value" ; linkml:definition_uri "https://w3id.org/linkml/extension_value" ; linkml:description "the actual annotation" ; @@ -58,66 +70,63 @@ linkml:name "extensions" ; linkml:owner "Extensible" ; linkml:range "Extension" ; - linkml:slot_uri "https://w3id.org/linkml/extensions" ], - [ a linkml:SlotDefinition ; - linkml:alias "tag" ; - linkml:definition_uri "https://w3id.org/linkml/extension_tag" ; - linkml:description "a tag associated with an extension" ; - linkml:domain "Extension" ; - linkml:domain_of "Extension" ; - linkml:from_schema "https://w3id.org/linkml/extensions" ; - linkml:name "extension_tag" ; - linkml:owner "Extension" ; - linkml:range "uriorcurie" ; - linkml:required true ; - linkml:slot_uri "https://w3id.org/linkml/tag" ] ; + linkml:slot_uri "https://w3id.org/linkml/extensions" ] ; linkml:source_file "extensions.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 1043 ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "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 "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" ], + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "float" ; - linkml:definition_uri "https://w3id.org/linkml/Double" ; - linkml:description "A real number that conforms to the xsd:double specification" ; + 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 "double" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#double" ], + 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:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "date" ; + linkml:name "datetime" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + [ 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#date" ], + 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: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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + linkml:name "ncname" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -137,31 +146,39 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + 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 "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "date" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + 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 "ncname" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + 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 "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], + 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:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; linkml:base "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -171,23 +188,6 @@ 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/2001/XMLSchema#anyURI" ], - [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml: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" ; diff --git a/linkml_runtime/linkml_model/rdf/mappings.model.ttl b/linkml_runtime/linkml_model/rdf/mappings.model.ttl index 942e9a88..11fc6acf 100644 --- a/linkml_runtime/linkml_model/rdf/mappings.model.ttl +++ b/linkml_runtime/linkml_model/rdf/mappings.model.ttl @@ -16,21 +16,39 @@ "rdfs", "skos", "xsd" ; - linkml:generation_date "2021-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:id "https://w3id.org/linkml/mappings" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; linkml:metamodel_version "1.7.0" ; linkml:name "mappings" ; - linkml:prefixes [ linkml:prefix_prefix "IAO" ; - linkml:prefix_reference "http://purl.obolibrary.org/obo/IAO_" ], - [ linkml:prefix_prefix "OIO" ; - linkml:prefix_reference "http://www.geneontology.org/formats/oboInOwl#" ], + linkml:prefixes [ linkml:prefix_prefix "skos" ; + linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ], [ linkml:prefix_prefix "linkml" ; linkml:prefix_reference "https://w3id.org/linkml/" ], - [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference "http://www.w3.org/2004/02/skos/core#" ] ; + [ 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:slots [ a linkml:SlotDefinition ; + skos:mappingRelation skos:broadMatch ; + linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; + linkml:from_schema "https://w3id.org/linkml/mappings" ; + linkml:is_a "mappings" ; + linkml:multivalued true ; + linkml:name "broad_mappings" ; + linkml:range "uriorcurie" ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ], + [ a linkml:SlotDefinition ; + skos:mappingRelation ; + linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ; + 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: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: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." ; @@ -40,6 +58,16 @@ linkml:name "narrow_mappings" ; linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#narrowMatch" ], + [ a linkml:SlotDefinition ; + skos:mappingRelation skos:exactMatch ; + linkml:definition_uri "https://w3id.org/linkml/exact_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have identical meaning." ; + linkml:from_schema "https://w3id.org/linkml/mappings" ; + linkml:is_a "mappings" ; + 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 skos:closeMatch ; linkml:definition_uri "https://w3id.org/linkml/close_mappings" ; @@ -50,6 +78,14 @@ linkml:name "close_mappings" ; linkml:range "uriorcurie" ; linkml:slot_uri "http://www.w3.org/2004/02/skos/core#closeMatch" ], + [ 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:relatedMatch ; linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; @@ -68,73 +104,63 @@ linkml:multivalued true ; linkml:name "mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], - [ a linkml:SlotDefinition ; - skos:mappingRelation 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" ; - 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: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:broadMatch ; - linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; - linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:is_a "mappings" ; - linkml:multivalued true ; - linkml:name "broad_mappings" ; - linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ], - [ a linkml:SlotDefinition ; - skos:mappingRelation skos:exactMatch ; - linkml:definition_uri "https://w3id.org/linkml/exact_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have identical meaning." ; - linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:is_a "mappings" ; - linkml:multivalued true ; - linkml:name "exact_mappings" ; - linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#exactMatch" ] ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ] ; linkml:source_file "mappings.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 2656 ; linkml:title "LinkML Schema Mappings" ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + 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 "ncname" ; + linkml:name "datetime" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + 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: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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + linkml:name "boolean" ; + linkml:repr "bool" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], [ a linkml:TypeDefinition ; - linkml:base "NodeIdentifier" ; - linkml:definition_uri "https://w3id.org/linkml/Nodeidentifier" ; - linkml:description "A URI, CURIE or BNODE that represents a node in a model." ; + linkml:base "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 "nodeidentifier" ; + 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:from_schema "https://w3id.org/linkml/types" ; + linkml:imported_from "linkml:types" ; + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + [ a linkml:TypeDefinition ; + linkml:base "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 "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/ns/shex#nonLiteral" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "str" ; linkml:definition_uri "https://w3id.org/linkml/String" ; @@ -144,14 +170,15 @@ 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 "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 "uri" ; + linkml:name "objectidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "Decimal" ; linkml:definition_uri "https://w3id.org/linkml/Decimal" ; @@ -161,22 +188,15 @@ linkml:name "decimal" ; linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], [ 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/Float" ; - linkml:description "A real number that conforms to the xsd:float specification" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + 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 "XSDTime" ; linkml:definition_uri "https://w3id.org/linkml/Time" ; @@ -187,16 +207,6 @@ linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], - [ a linkml:TypeDefinition ; - linkml:base "ElementIdentifier" ; - linkml:comments "Used for inheritence and type checking" ; - linkml:definition_uri "https://w3id.org/linkml/Objectidentifier" ; - linkml:description "A URI or CURIE that represents an object in the model." ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:imported_from "linkml:types" ; - linkml:name "objectidentifier" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; linkml:base "URIorCURIE" ; linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; @@ -207,32 +217,22 @@ 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: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:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; + linkml:base "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 "datetime" ; + linkml:name "nodeidentifier" ; 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:uri "http://www.w3.org/ns/shex#nonLiteral" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/mappings.ttl b/linkml_runtime/linkml_model/rdf/mappings.ttl index c948cd30..87faa189 100644 --- a/linkml_runtime/linkml_model/rdf/mappings.ttl +++ b/linkml_runtime/linkml_model/rdf/mappings.ttl @@ -16,40 +16,21 @@ "rdfs", "skos", "xsd" ; - linkml:generation_date "2021-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; linkml:id "https://w3id.org/linkml/mappings" ; linkml:imports "linkml:types" ; linkml:license "https://creativecommons.org/publicdomain/zero/1.0/" ; linkml:metamodel_version "1.7.0" ; linkml:name "mappings" ; - linkml:prefixes [ linkml:prefix_prefix "OIO" ; - linkml:prefix_reference "http://www.geneontology.org/formats/oboInOwl#" ], - [ linkml:prefix_prefix "IAO" ; - linkml:prefix_reference "http://purl.obolibrary.org/obo/IAO_" ], - [ linkml:prefix_prefix "skos" ; + linkml:prefixes [ 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_prefix "linkml" ; - linkml:prefix_reference "https://w3id.org/linkml/" ] ; + linkml:prefix_reference "https://w3id.org/linkml/" ], + [ linkml:prefix_prefix "IAO" ; + linkml:prefix_reference "http://purl.obolibrary.org/obo/IAO_" ] ; 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." ; - linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:multivalued true ; - linkml:name "mappings" ; - linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], - [ a linkml:SlotDefinition ; - skos:mappingRelation skos:relatedMatch ; - linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; - linkml:description "A list of terms from different schemas or terminology systems that have related meaning." ; - linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:is_a "mappings" ; - linkml:multivalued true ; - linkml:name "related_mappings" ; - linkml:range "uriorcurie" ; - 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" ; linkml:description "A list of terms from different schemas or terminology systems that have identical meaning." ; @@ -70,23 +51,24 @@ 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" ; - linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; + skos:mappingRelation skos:relatedMatch ; + linkml:definition_uri "https://w3id.org/linkml/related_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have related meaning." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; linkml:is_a "mappings" ; linkml:multivalued true ; - linkml:name "broad_mappings" ; + linkml:name "related_mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#relatedMatch" ], [ a linkml:SlotDefinition ; - skos:mappingRelation ; - linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ; - linkml:description "When an element is deprecated, it can be automatically replaced by this uri or curie" ; + skos:mappingRelation skos:mappingRelation ; + linkml:definition_uri "https://w3id.org/linkml/mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective." ; linkml:from_schema "https://w3id.org/linkml/mappings" ; - linkml:name "deprecated_element_has_exact_replacement" ; + linkml:multivalued true ; + linkml:name "mappings" ; linkml:range "uriorcurie" ; - linkml:slot_uri "https://w3id.org/linkml/deprecated_element_has_exact_replacement" ], + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#mappingRelation" ], [ a linkml:SlotDefinition ; skos:mappingRelation OIO:consider ; linkml:definition_uri "https://w3id.org/linkml/deprecated_element_has_possible_replacement" ; @@ -104,19 +86,37 @@ linkml:multivalued true ; linkml:name "narrow_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#narrowMatch" ], + [ 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" ; + linkml:from_schema "https://w3id.org/linkml/mappings" ; + 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:broadMatch ; + linkml:definition_uri "https://w3id.org/linkml/broad_mappings" ; + linkml:description "A list of terms from different schemas or terminology systems that have broader meaning." ; + linkml:from_schema "https://w3id.org/linkml/mappings" ; + linkml:is_a "mappings" ; + linkml:multivalued true ; + linkml:name "broad_mappings" ; + linkml:range "uriorcurie" ; + linkml:slot_uri "http://www.w3.org/2004/02/skos/core#broadMatch" ] ; linkml:source_file "mappings.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 2656 ; linkml:title "LinkML Schema Mappings" ; linkml:types [ 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 "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 "float" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; linkml:base "ElementIdentifier" ; linkml:comments "Used for inheritence and type checking" ; @@ -128,21 +128,33 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#iri" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "string" ; + linkml:name "ncname" ; + linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; - linkml:base "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 "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" ; @@ -151,15 +163,6 @@ 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: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 "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -169,15 +172,6 @@ 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" ; @@ -187,6 +181,14 @@ linkml:name "nodeidentifier" ; linkml:repr "str" ; linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + [ a linkml:TypeDefinition ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + 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 "Bool" ; linkml:definition_uri "https://w3id.org/linkml/Boolean" ; @@ -197,42 +199,40 @@ 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: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 "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + linkml:name "float" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; linkml:from_schema "https://w3id.org/linkml/types" ; linkml:imported_from "linkml:types" ; - linkml:name "ncname" ; + linkml:name "date" ; + linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], [ a linkml:TypeDefinition ; - linkml:base "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 "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; + 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 "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ] ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ] ; 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 e9fd211c..fee4ea00 100644 --- a/linkml_runtime/linkml_model/rdf/meta.model.ttl +++ b/linkml_runtime/linkml_model/rdf/meta.model.ttl @@ -315,18 +315,6 @@ linkml:subproperty_of a linkml:SlotDefinition ; linkml:range linkml:SlotDefinition ; linkml:slot_uri rdfs:subPropertyOf . -linkml:title a linkml:SlotDefinition ; - OIO:inSubset linkml:owl ; - skos:definition "the official title of the schema" ; - skos:inScheme linkml:meta ; - skos:mappingRelation dcterms:title ; - linkml:definition_uri linkml:title ; - linkml:domain linkml:SchemaDefinition ; - linkml:domain_of linkml:SchemaDefinition ; - linkml:owner linkml:SchemaDefinition ; - linkml:range linkml:string ; - linkml:slot_uri dcterms:title . - linkml:type_uri a linkml:SlotDefinition ; skos:definition "The uri that defines the possible values for the type definition" ; skos:inScheme linkml:meta ; @@ -834,17 +822,6 @@ linkml:owner a linkml:SlotDefinition ; linkml:readonly "filled in by loader -- either class domain or slot domain" ; linkml:slot_uri linkml:owner . -linkml:pattern a linkml:SlotDefinition ; - skos:definition "the string value of the slot must conform to this regular expression" ; - skos:inScheme linkml:meta ; - linkml:definition_uri linkml:pattern ; - linkml:domain linkml:SlotDefinition ; - linkml:domain_of linkml:SlotDefinition ; - linkml:inherited true ; - linkml:owner linkml:SlotDefinition ; - linkml:range linkml:string ; - linkml:slot_uri linkml:pattern . - linkml:permissible_values a linkml:SlotDefinition ; skos:definition "A list of possible values for a slot range" ; skos:inScheme linkml:meta ; @@ -1234,6 +1211,7 @@ linkml:SubsetDefinition a linkml:ClassDefinition ; linkml:notes, linkml:related_mappings, linkml:see_also, + linkml:title, linkml:todos . linkml:abstract a linkml:SlotDefinition ; @@ -1311,6 +1289,18 @@ linkml:ncname a linkml:TypeDefinition ; linkml:repr "str" ; linkml:uri xsd:string . +linkml:pattern a linkml:SlotDefinition ; + skos:definition "the string value of the slot must conform to this regular expression" ; + skos:inScheme linkml:meta ; + linkml:definition_uri linkml:pattern ; + linkml:domain linkml:Definition ; + linkml:domain_of linkml:SlotDefinition, + linkml:TypeDefinition ; + linkml:inherited true ; + linkml:owner linkml:pattern ; + linkml:range linkml:string ; + linkml:slot_uri linkml:pattern . + linkml:status a linkml:SlotDefinition ; skos:definition "status of the element" ; skos:inScheme linkml:meta ; @@ -1520,6 +1510,18 @@ linkml:related_mappings a linkml:SlotDefinition ; linkml:range linkml:uriorcurie ; linkml:slot_uri skos:relatedMatch . +linkml:title a linkml:SlotDefinition ; + OIO:inSubset linkml:owl ; + skos:definition "the official title of the element" ; + skos:inScheme linkml:meta ; + skos:mappingRelation dcterms:title ; + linkml:definition_uri linkml:title ; + linkml:domain linkml:Element ; + linkml:domain_of linkml:Element ; + linkml:owner linkml:Element ; + linkml:range linkml:string ; + linkml:slot_uri dcterms:title . + linkml:Example a linkml:ClassDefinition ; skos:definition "usage example and description" ; skos:inScheme linkml:meta ; @@ -1801,6 +1803,7 @@ linkml:EnumDefinition a linkml:ClassDefinition ; linkml:pv_formula, linkml:related_mappings, linkml:see_also, + linkml:title, linkml:todos . linkml:PermissibleValue a linkml:ClassDefinition ; @@ -1946,9 +1949,11 @@ linkml:TypeDefinition a linkml:ClassDefinition ; linkml:name, linkml:narrow_mappings, linkml:notes, + linkml:pattern, linkml:related_mappings, linkml:repr, linkml:see_also, + linkml:title, linkml:todos, linkml:type_uri, linkml:typeof . @@ -1998,6 +2003,7 @@ linkml:Definition a linkml:ClassDefinition ; linkml:see_also, linkml:status, linkml:string_serialization, + linkml:title, linkml:todos, linkml:values_from . @@ -2045,6 +2051,7 @@ linkml:Element a linkml:ClassDefinition ; linkml:notes, linkml:related_mappings, linkml:see_also, + linkml:title, linkml:todos . linkml:ClassDefinition a linkml:ClassDefinition ; @@ -2102,6 +2109,7 @@ linkml:ClassDefinition a linkml:ClassDefinition ; linkml:status, linkml:string_serialization, linkml:subclass_of, + linkml:title, linkml:todos, linkml:tree_root, linkml:union_of, @@ -2201,27 +2209,27 @@ linkml:meta a linkml:SchemaDefinition ; "skos", "xsd" ; linkml:enums linkml:pv_formula_options ; - linkml:generation_date "2021-08-19 17:51"^^xsd:dateTime ; + linkml:generation_date "2021-09-24 02:31"^^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 "linkml" ; - linkml:prefix_reference linkml: ], - [ linkml:prefix_prefix "bibo" ; - linkml:prefix_reference bibo: ], + linkml:prefixes [ linkml:prefix_prefix "oslc" ; + linkml:prefix_reference oslc: ], [ linkml:prefix_prefix "OIO" ; linkml:prefix_reference OIO: ], [ linkml:prefix_prefix "skos" ; linkml:prefix_reference skos: ], - [ linkml:prefix_prefix "oslc" ; - linkml:prefix_reference oslc: ], - [ linkml:prefix_prefix "schema" ; - linkml:prefix_reference schema: ], [ linkml:prefix_prefix "pav" ; - linkml:prefix_reference pav: ] ; + linkml:prefix_reference pav: ], + [ linkml:prefix_prefix "bibo" ; + linkml:prefix_reference bibo: ], + [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference linkml: ], + [ linkml:prefix_prefix "schema" ; + linkml:prefix_reference schema: ] ; linkml:slots linkml:abstract, linkml:alias, linkml:aliases, @@ -2349,8 +2357,8 @@ linkml:meta a linkml:SchemaDefinition ; linkml:values_from, linkml:version ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021"^^xsd:dateTime ; - linkml:source_file_size 34566 ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021"^^xsd:dateTime ; + linkml:source_file_size 34568 ; linkml:subsets linkml:owl ; linkml:types linkml:boolean, linkml:date, @@ -2444,6 +2452,7 @@ linkml:SlotDefinition a linkml:ClassDefinition ; linkml:string_serialization, linkml:subproperty_of, linkml:symmetric, + linkml:title, linkml:todos, linkml:usage_slot_name, linkml:values_from . diff --git a/linkml_runtime/linkml_model/rdf/meta.ttl b/linkml_runtime/linkml_model/rdf/meta.ttl index d8c48ea3..2312f515 100644 --- a/linkml_runtime/linkml_model/rdf/meta.ttl +++ b/linkml_runtime/linkml_model/rdf/meta.ttl @@ -315,18 +315,6 @@ linkml:subproperty_of a linkml:SlotDefinition ; linkml:range linkml:SlotDefinition ; linkml:slot_uri rdfs:subPropertyOf . -linkml:title a linkml:SlotDefinition ; - OIO:inSubset linkml:owl ; - skos:definition "the official title of the schema" ; - skos:inScheme linkml:meta ; - skos:mappingRelation dcterms:title ; - linkml:definition_uri linkml:title ; - linkml:domain linkml:SchemaDefinition ; - linkml:domain_of linkml:SchemaDefinition ; - linkml:owner linkml:SchemaDefinition ; - linkml:range linkml:string ; - linkml:slot_uri dcterms:title . - linkml:type_uri a linkml:SlotDefinition ; skos:definition "The uri that defines the possible values for the type definition" ; skos:inScheme linkml:meta ; @@ -834,17 +822,6 @@ linkml:owner a linkml:SlotDefinition ; linkml:readonly "filled in by loader -- either class domain or slot domain" ; linkml:slot_uri linkml:owner . -linkml:pattern a linkml:SlotDefinition ; - skos:definition "the string value of the slot must conform to this regular expression" ; - skos:inScheme linkml:meta ; - linkml:definition_uri linkml:pattern ; - linkml:domain linkml:SlotDefinition ; - linkml:domain_of linkml:SlotDefinition ; - linkml:inherited true ; - linkml:owner linkml:SlotDefinition ; - linkml:range linkml:string ; - linkml:slot_uri linkml:pattern . - linkml:permissible_values a linkml:SlotDefinition ; skos:definition "A list of possible values for a slot range" ; skos:inScheme linkml:meta ; @@ -1234,6 +1211,7 @@ linkml:SubsetDefinition a linkml:ClassDefinition ; linkml:notes, linkml:related_mappings, linkml:see_also, + linkml:title, linkml:todos . linkml:abstract a linkml:SlotDefinition ; @@ -1311,6 +1289,18 @@ linkml:ncname a linkml:TypeDefinition ; linkml:repr "str" ; linkml:uri xsd:string . +linkml:pattern a linkml:SlotDefinition ; + skos:definition "the string value of the slot must conform to this regular expression" ; + skos:inScheme linkml:meta ; + linkml:definition_uri linkml:pattern ; + linkml:domain linkml:Definition ; + linkml:domain_of linkml:SlotDefinition, + linkml:TypeDefinition ; + linkml:inherited true ; + linkml:owner linkml:pattern ; + linkml:range linkml:string ; + linkml:slot_uri linkml:pattern . + linkml:status a linkml:SlotDefinition ; skos:definition "status of the element" ; skos:inScheme linkml:meta ; @@ -1520,6 +1510,18 @@ linkml:related_mappings a linkml:SlotDefinition ; linkml:range linkml:uriorcurie ; linkml:slot_uri skos:relatedMatch . +linkml:title a linkml:SlotDefinition ; + OIO:inSubset linkml:owl ; + skos:definition "the official title of the element" ; + skos:inScheme linkml:meta ; + skos:mappingRelation dcterms:title ; + linkml:definition_uri linkml:title ; + linkml:domain linkml:Element ; + linkml:domain_of linkml:Element ; + linkml:owner linkml:Element ; + linkml:range linkml:string ; + linkml:slot_uri dcterms:title . + linkml:Example a linkml:ClassDefinition ; skos:definition "usage example and description" ; skos:inScheme linkml:meta ; @@ -1801,6 +1803,7 @@ linkml:EnumDefinition a linkml:ClassDefinition ; linkml:pv_formula, linkml:related_mappings, linkml:see_also, + linkml:title, linkml:todos . linkml:PermissibleValue a linkml:ClassDefinition ; @@ -1946,9 +1949,11 @@ linkml:TypeDefinition a linkml:ClassDefinition ; linkml:name, linkml:narrow_mappings, linkml:notes, + linkml:pattern, linkml:related_mappings, linkml:repr, linkml:see_also, + linkml:title, linkml:todos, linkml:type_uri, linkml:typeof . @@ -1998,6 +2003,7 @@ linkml:Definition a linkml:ClassDefinition ; linkml:see_also, linkml:status, linkml:string_serialization, + linkml:title, linkml:todos, linkml:values_from . @@ -2045,6 +2051,7 @@ linkml:Element a linkml:ClassDefinition ; linkml:notes, linkml:related_mappings, linkml:see_also, + linkml:title, linkml:todos . linkml:ClassDefinition a linkml:ClassDefinition ; @@ -2102,6 +2109,7 @@ linkml:ClassDefinition a linkml:ClassDefinition ; linkml:status, linkml:string_serialization, linkml:subclass_of, + linkml:title, linkml:todos, linkml:tree_root, linkml:union_of, @@ -2201,27 +2209,27 @@ linkml:meta a linkml:SchemaDefinition ; "skos", "xsd" ; linkml:enums linkml:pv_formula_options ; - linkml:generation_date "2021-08-19 17:51"^^xsd:dateTime ; + linkml:generation_date "2021-09-24 02:31"^^xsd:dateTime ; linkml:id linkml:meta ; linkml:imports linkml:annotations, linkml:extensions, linkml:mappings, linkml:types ; linkml:metamodel_version "1.7.0" ; - linkml:prefixes [ linkml:prefix_prefix "skos" ; - linkml:prefix_reference skos: ], + linkml:prefixes [ linkml:prefix_prefix "pav" ; + linkml:prefix_reference pav: ], [ 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 "oslc" ; + linkml:prefix_reference oslc: ], [ linkml:prefix_prefix "OIO" ; linkml:prefix_reference OIO: ], - [ linkml:prefix_prefix "oslc" ; - linkml:prefix_reference oslc: ] ; + [ linkml:prefix_prefix "linkml" ; + linkml:prefix_reference linkml: ], + [ linkml:prefix_prefix "skos" ; + linkml:prefix_reference skos: ] ; linkml:slots linkml:abstract, linkml:alias, linkml:aliases, @@ -2349,8 +2357,8 @@ linkml:meta a linkml:SchemaDefinition ; linkml:values_from, linkml:version ; linkml:source_file "meta.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021"^^xsd:dateTime ; - linkml:source_file_size 34566 ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021"^^xsd:dateTime ; + linkml:source_file_size 34568 ; linkml:subsets linkml:owl ; linkml:types linkml:boolean, linkml:date, @@ -2444,6 +2452,7 @@ linkml:SlotDefinition a linkml:ClassDefinition ; linkml:string_serialization, linkml:subproperty_of, linkml:symmetric, + linkml:title, linkml:todos, linkml:usage_slot_name, linkml:values_from . diff --git a/linkml_runtime/linkml_model/rdf/types.model.ttl b/linkml_runtime/linkml_model/rdf/types.model.ttl index 72307800..e613a10d 100644 --- a/linkml_runtime/linkml_model/rdf/types.model.ttl +++ b/linkml_runtime/linkml_model/rdf/types.model.ttl @@ -6,38 +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-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; 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 "shex" ; - linkml:prefix_reference "http://www.w3.org/ns/shex#" ], [ linkml:prefix_prefix "xsd" ; - linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ] ; + linkml:prefix_reference "http://www.w3.org/2001/XMLSchema#" ], + [ linkml:prefix_prefix "shex" ; + linkml:prefix_reference "http://www.w3.org/ns/shex#" ] ; linkml:source_file "types.yaml" ; - linkml:source_file_date "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 2676 ; linkml:title "Core LinkML metamodel types" ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; + 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 "date" ; - linkml:notes "URI is dateTime because OWL reasoners don't work with straight date or time" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#date" ], + linkml:name "string" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "ElementIdentifier" ; linkml:comments "Used for inheritence and type checking" ; @@ -55,21 +45,14 @@ 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" ; - 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: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 "Decimal" ; linkml:definition_uri "https://w3id.org/linkml/Decimal" ; @@ -77,14 +60,6 @@ linkml:from_schema "https://w3id.org/linkml/types" ; linkml:name "decimal" ; linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], - [ a linkml:TypeDefinition ; - linkml:base "XSDDateTime" ; - linkml:definition_uri "https://w3id.org/linkml/Datetime" ; - linkml:description "The combination of a date and time" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "datetime" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; linkml:base "float" ; linkml:definition_uri "https://w3id.org/linkml/Double" ; @@ -101,12 +76,21 @@ 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" ; - linkml:description "An integer" ; + 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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + linkml:name "nodeidentifier" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], + [ a linkml:TypeDefinition ; + linkml:base "NCName" ; + linkml:definition_uri "https://w3id.org/linkml/Ncname" ; + linkml:description "Prefix part of CURIE" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "ncname" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], [ a linkml:TypeDefinition ; linkml:base "XSDTime" ; linkml:definition_uri "https://w3id.org/linkml/Time" ; @@ -117,20 +101,36 @@ linkml:repr "str" ; linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ], [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "URI" ; + linkml:definition_uri "https://w3id.org/linkml/Uri" ; + linkml:description "a complete URI" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "ncname" ; + linkml:name "uri" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "str" ; - linkml:definition_uri "https://w3id.org/linkml/String" ; - linkml:description "A character string" ; + linkml:base "URIorCURIE" ; + linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; + linkml:description "a URI or a CURIE" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "string" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ] ; + linkml:name "uriorcurie" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + [ a linkml:TypeDefinition ; + linkml:base "int" ; + linkml:definition_uri "https://w3id.org/linkml/Integer" ; + linkml:description "An integer" ; + 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 "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "datetime" ; + linkml:repr "str" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#dateTime" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/rdf/types.ttl b/linkml_runtime/linkml_model/rdf/types.ttl index 050d81f1..99335b09 100644 --- a/linkml_runtime/linkml_model/rdf/types.ttl +++ b/linkml_runtime/linkml_model/rdf/types.ttl @@ -6,36 +6,45 @@ linkml:default_prefix "linkml" ; linkml:default_range "string" ; linkml:description "Shared type definitions for the core LinkML mode and metamodel" ; - linkml:generation_date "2021-08-19 17:51" ; + linkml:generation_date "2021-09-24 02:31" ; 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 "shex" ; + linkml:prefixes [ 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 "Thu Aug 19 17:49:00 2021" ; + linkml:source_file_date "Fri Sep 24 02:29:20 2021" ; linkml:source_file_size 2676 ; linkml:title "Core LinkML metamodel types" ; linkml:types [ a linkml:TypeDefinition ; - linkml:base "NCName" ; - linkml:definition_uri "https://w3id.org/linkml/Ncname" ; - linkml:description "Prefix part of CURIE" ; + linkml:base "Decimal" ; + linkml:definition_uri "https://w3id.org/linkml/Decimal" ; + linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "ncname" ; + linkml:name "decimal" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDDateTime" ; + linkml:definition_uri "https://w3id.org/linkml/Datetime" ; + linkml:description "The combination of a date and time" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml:name "datetime" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#string" ], + 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: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 "integer" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], + 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" ; @@ -44,6 +53,15 @@ linkml:name "boolean" ; linkml:repr "bool" ; linkml:uri "http://www.w3.org/2001/XMLSchema#boolean" ], + [ a linkml:TypeDefinition ; + linkml:base "XSDDate" ; + linkml:definition_uri "https://w3id.org/linkml/Date" ; + linkml:description "a date (year, month and day) in an idealized calendar" ; + linkml:from_schema "https://w3id.org/linkml/types" ; + linkml: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/Double" ; @@ -59,46 +77,35 @@ linkml:name "float" ; linkml:uri "http://www.w3.org/2001/XMLSchema#float" ], [ a linkml:TypeDefinition ; - linkml:base "XSDTime" ; - linkml:definition_uri "https://w3id.org/linkml/Time" ; - linkml:description "A time object represents a (local) time of day, independent of any particular day" ; + linkml:base "str" ; + linkml:definition_uri "https://w3id.org/linkml/String" ; + linkml:description "A character string" ; 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: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 "URIorCURIE" ; - linkml:definition_uri "https://w3id.org/linkml/Uriorcurie" ; - linkml:description "a URI or a CURIE" ; + linkml:base "int" ; + linkml:definition_uri "https://w3id.org/linkml/Integer" ; + linkml:description "An integer" ; linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "uriorcurie" ; - linkml:repr "str" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], + linkml:name "integer" ; + linkml:uri "http://www.w3.org/2001/XMLSchema#integer" ], [ a linkml:TypeDefinition ; - linkml:base "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: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 "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:name "objectidentifier" ; + linkml:name "nodeidentifier" ; linkml:repr "str" ; - linkml:uri "http://www.w3.org/ns/shex#iri" ], - [ a linkml:TypeDefinition ; - linkml:base "Decimal" ; - linkml:definition_uri "https://w3id.org/linkml/Decimal" ; - linkml:description "A real number with arbitrary precision that conforms to the xsd:decimal specification" ; - linkml:from_schema "https://w3id.org/linkml/types" ; - linkml:name "decimal" ; - linkml:uri "http://www.w3.org/2001/XMLSchema#decimal" ], + linkml:uri "http://www.w3.org/ns/shex#nonLiteral" ], [ a linkml:TypeDefinition ; linkml:base "URI" ; linkml:definition_uri "https://w3id.org/linkml/Uri" ; @@ -108,29 +115,22 @@ 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: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" ], + linkml:uri "http://www.w3.org/2001/XMLSchema#anyURI" ], [ a linkml:TypeDefinition ; - linkml:base "XSDDate" ; - linkml:definition_uri "https://w3id.org/linkml/Date" ; - linkml:description "a date (year, month and day) in an idealized calendar" ; + linkml:base "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 "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" ], - [ 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:uri "http://www.w3.org/2001/XMLSchema#dateTime" ] ; linkml:version "2.0.0" . diff --git a/linkml_runtime/linkml_model/shex/meta.shex b/linkml_runtime/linkml_model/shex/meta.shex index a5971529..83506a88 100644 --- a/linkml_runtime/linkml_model/shex/meta.shex +++ b/linkml_runtime/linkml_model/shex/meta.shex @@ -136,6 +136,7 @@ PREFIX oboInOwl: rdf:type [ ] ? ; & ; rdf:type [ ] ? ; + dcterms:title @ ? ; @ * ; @ ? ; skos:altLabel @ * ; @@ -254,7 +255,6 @@ PREFIX oboInOwl: ( $ ( & ; rdf:type [ ] ? ; @ ; - dcterms:title @ ? ; pav:version @ ? ; @ * ; dcterms:license @ ? ; @@ -331,7 +331,8 @@ PREFIX oboInOwl: @ ? ; @ ? ; @ ? ; - @ ? + @ ? ; + @ ? ) ; rdf:type [ ] ) diff --git a/linkml_runtime/linkml_model/shex/meta.shexj b/linkml_runtime/linkml_model/shex/meta.shexj index 15aff23b..3b6db070 100644 --- a/linkml_runtime/linkml_model/shex/meta.shexj +++ b/linkml_runtime/linkml_model/shex/meta.shexj @@ -621,6 +621,13 @@ }, "min": 0 }, + { + "type": "TripleConstraint", + "predicate": "http://purl.org/dc/terms/title", + "valueExpr": "https://w3id.org/linkml/String", + "min": 0, + "max": 1 + }, { "type": "TripleConstraint", "predicate": "https://w3id.org/linkml/id_prefixes", @@ -1311,13 +1318,6 @@ "min": 1, "max": 1 }, - { - "type": "TripleConstraint", - "predicate": "http://purl.org/dc/terms/title", - "valueExpr": "https://w3id.org/linkml/String", - "min": 0, - "max": 1 - }, { "type": "TripleConstraint", "predicate": "http://purl.org/pav/version", @@ -1805,6 +1805,13 @@ "valueExpr": "https://w3id.org/linkml/String", "min": 0, "max": 1 + }, + { + "type": "TripleConstraint", + "predicate": "https://w3id.org/linkml/pattern", + "valueExpr": "https://w3id.org/linkml/String", + "min": 0, + "max": 1 } ] }, diff --git a/linkml_runtime/linkml_model/types.py b/linkml_runtime/linkml_model/types.py index 4882fdab..472e5476 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-08-19 17:51 +# Generation date: 2021-09-24 02:32 # Schema: types # # id: https://w3id.org/linkml/types