Skip to content

Commit

Permalink
1.7.0 release candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Jan 30, 2024
1 parent aab9842 commit 57224a7
Show file tree
Hide file tree
Showing 23 changed files with 7,619 additions and 7,266 deletions.
8 changes: 4 additions & 4 deletions linkml_model/annotations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from annotations.yaml by pythongen.py version: 0.9.0
# Generation date: 2023-09-01T13:21:10
# Auto generated from annotations.yaml by pythongen.py version: 0.0.1
# Generation date: 2024-01-29T16:05:46
# Schema: annotations
#
# id: https://w3id.org/linkml/annotations
Expand Down Expand Up @@ -49,7 +49,7 @@ class Annotatable(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Annotatable
class_class_uri: ClassVar[URIRef] = LINKML["Annotatable"]
class_class_curie: ClassVar[str] = "linkml:Annotatable"
class_name: ClassVar[str] = "annotatable"
class_model_uri: ClassVar[URIRef] = LINKML.Annotatable
Expand All @@ -69,7 +69,7 @@ class Annotation(Extension):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Annotation
class_class_uri: ClassVar[URIRef] = LINKML["Annotation"]
class_class_curie: ClassVar[str] = "linkml:Annotation"
class_name: ClassVar[str] = "annotation"
class_model_uri: ClassVar[URIRef] = LINKML.Annotation
Expand Down
419 changes: 0 additions & 419 deletions linkml_model/array.py

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions linkml_model/datasets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from datasets.yaml by pythongen.py version: 0.9.0
# Generation date: 2023-09-01T13:21:13
# Auto generated from datasets.yaml by pythongen.py version: 0.0.1
# Generation date: 2024-01-29T16:05:52
# Schema: datasets
#
# id: https://w3id.org/linkml/datasets
Expand Down Expand Up @@ -30,7 +30,7 @@
dataclasses._init_fn = dataclasses_init_fn_with_kwargs

# Namespaces
BIBO = CurieNamespace('bibo', 'http://example.org/UNKNOWN/bibo/')
BIBO = CurieNamespace('bibo', 'http://purl.org/ontology/bibo/')
CSVW = CurieNamespace('csvw', 'http://www.w3.org/ns/csvw#')
DATASETS = CurieNamespace('datasets', 'https://w3id.org/linkml/report')
DCAT = CurieNamespace('dcat', 'http://www.w3.org/ns/dcat#')
Expand All @@ -39,7 +39,7 @@
FRICTIONLESS = CurieNamespace('frictionless', 'https://specs.frictionlessdata.io/')
LINKML = CurieNamespace('linkml', 'https://w3id.org/linkml/')
MEDIATYPES = CurieNamespace('mediatypes', 'https://www.iana.org/assignments/media-types/')
OSLC = CurieNamespace('oslc', 'http://example.org/UNKNOWN/oslc/')
OSLC = CurieNamespace('oslc', 'http://open-services.net/ns/core#')
OWL = CurieNamespace('owl', 'http://www.w3.org/2002/07/owl#')
PAV = CurieNamespace('pav', 'http://purl.org/pav/')
PROV = CurieNamespace('prov', 'http://www.w3.org/ns/prov#')
Expand Down Expand Up @@ -75,7 +75,7 @@ class Information(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = DATASETS.Information
class_class_uri: ClassVar[URIRef] = DATASETS["Information"]
class_class_curie: ClassVar[str] = "datasets:Information"
class_name: ClassVar[str] = "Information"
class_model_uri: ClassVar[URIRef] = DATASETS.Information
Expand Down Expand Up @@ -172,7 +172,7 @@ class DataPackage(Information):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = VOID.Dataset
class_class_uri: ClassVar[URIRef] = VOID["Dataset"]
class_class_curie: ClassVar[str] = "void:Dataset"
class_name: ClassVar[str] = "DataPackage"
class_model_uri: ClassVar[URIRef] = DATASETS.DataPackage
Expand Down Expand Up @@ -200,7 +200,7 @@ class DataResource(Information):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = DCAT.Distribution
class_class_uri: ClassVar[URIRef] = DCAT["Distribution"]
class_class_curie: ClassVar[str] = "dcat:Distribution"
class_name: ClassVar[str] = "DataResource"
class_model_uri: ClassVar[URIRef] = DATASETS.DataResource
Expand Down Expand Up @@ -267,7 +267,7 @@ class FormatDialect(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = DATASETS.FormatDialect
class_class_uri: ClassVar[URIRef] = DATASETS["FormatDialect"]
class_class_curie: ClassVar[str] = "datasets:FormatDialect"
class_name: ClassVar[str] = "FormatDialect"
class_model_uri: ClassVar[URIRef] = DATASETS.FormatDialect
Expand Down Expand Up @@ -328,22 +328,22 @@ class FormatEnum(EnumDefinitionImpl):

N3 = PermissibleValue(
text="N3",
meaning=FORMATS.N3)
meaning=FORMATS["N3"])
Microdata = PermissibleValue(
text="Microdata",
meaning=FORMATS.microdata)
meaning=FORMATS["microdata"])
POWDER = PermissibleValue(
text="POWDER",
meaning=FORMATS.POWDER)
meaning=FORMATS["POWDER"])
RDFa = PermissibleValue(
text="RDFa",
meaning=FORMATS.RDFa)
meaning=FORMATS["RDFa"])
Turtle = PermissibleValue(
text="Turtle",
meaning=FORMATS.Turtle)
meaning=FORMATS["Turtle"])
TriG = PermissibleValue(
text="TriG",
meaning=FORMATS.TriG)
meaning=FORMATS["TriG"])
YAML = PermissibleValue(text="YAML")
JSON = PermissibleValue(text="JSON")

Expand All @@ -368,19 +368,19 @@ def _addvals(cls):
setattr(cls, "LD Patch",
PermissibleValue(
text="LD Patch",
meaning=FORMATS.LD_Patch))
meaning=FORMATS["LD_Patch"]))
setattr(cls, "OWL XML Serialization",
PermissibleValue(
text="OWL XML Serialization",
meaning=FORMATS.OWL_XML))
meaning=FORMATS["OWL_XML"]))
setattr(cls, "OWL Functional Syntax",
PermissibleValue(
text="OWL Functional Syntax",
meaning=FORMATS.OWL_Functional))
meaning=FORMATS["OWL_Functional"]))
setattr(cls, "OWL Manchester Syntax",
PermissibleValue(
text="OWL Manchester Syntax",
meaning=FORMATS.OWL_Manchester))
meaning=FORMATS["OWL_Manchester"]))
setattr(cls, "POWDER-S",
PermissibleValue(
text="POWDER-S",
Expand All @@ -396,31 +396,31 @@ def _addvals(cls):
setattr(cls, "RDF/JSON",
PermissibleValue(
text="RDF/JSON",
meaning=FORMATS.RDF_JSON))
meaning=FORMATS["RDF_JSON"]))
setattr(cls, "RDF/XML",
PermissibleValue(
text="RDF/XML",
meaning=FORMATS.RDF_XML))
meaning=FORMATS["RDF_XML"]))
setattr(cls, "RIF XML Syntax",
PermissibleValue(
text="RIF XML Syntax",
meaning=FORMATS.RIF_XML))
meaning=FORMATS["RIF_XML"]))
setattr(cls, "SPARQL Results in XML",
PermissibleValue(
text="SPARQL Results in XML",
meaning=FORMATS.SPARQL_Results_XML))
meaning=FORMATS["SPARQL_Results_XML"]))
setattr(cls, "SPARQL Results in JSON",
PermissibleValue(
text="SPARQL Results in JSON",
meaning=FORMATS.SPARQL_Results_JSON))
meaning=FORMATS["SPARQL_Results_JSON"]))
setattr(cls, "SPARQL Results in CSV",
PermissibleValue(
text="SPARQL Results in CSV",
meaning=FORMATS.SPARQL_Results_CSV))
meaning=FORMATS["SPARQL_Results_CSV"]))
setattr(cls, "SPARQL Results in TSV",
PermissibleValue(
text="SPARQL Results in TSV",
meaning=FORMATS.SPARQL_Results_TSV))
meaning=FORMATS["SPARQL_Results_TSV"]))

# Slots
class slots:
Expand Down
Binary file modified linkml_model/excel/meta.xlsx
Binary file not shown.
8 changes: 4 additions & 4 deletions linkml_model/extensions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from extensions.yaml by pythongen.py version: 0.9.0
# Generation date: 2023-09-01T13:21:14
# Auto generated from extensions.yaml by pythongen.py version: 0.0.1
# Generation date: 2024-01-29T16:05:53
# Schema: extensions
#
# id: https://w3id.org/linkml/extensions
Expand Down Expand Up @@ -50,7 +50,7 @@ class Extension(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Extension
class_class_uri: ClassVar[URIRef] = LINKML["Extension"]
class_class_curie: ClassVar[str] = "linkml:Extension"
class_name: ClassVar[str] = "extension"
class_model_uri: ClassVar[URIRef] = LINKML.Extension
Expand All @@ -77,7 +77,7 @@ class Extensible(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Extensible
class_class_uri: ClassVar[URIRef] = LINKML["Extensible"]
class_class_curie: ClassVar[str] = "linkml:Extensible"
class_name: ClassVar[str] = "extensible"
class_model_uri: ClassVar[URIRef] = LINKML.Extensible
Expand Down
32 changes: 20 additions & 12 deletions linkml_model/graphql/meta.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ type AnonymousSlotExpression implements SlotExpression
recommended: Boolean
inlined: Boolean
inlinedAsList: Boolean
minimumValue: Integer
maximumValue: Integer
minimumValue: Anything
maximumValue: Anything
pattern: String
structuredPattern: PatternExpression
unit: UnitOfMeasure
Expand Down Expand Up @@ -190,8 +190,8 @@ type AnonymousTypeExpression implements TypeExpression
equalsString: String
equalsStringIn: [String]
equalsNumber: Integer
minimumValue: Integer
maximumValue: Integer
minimumValue: Anything
maximumValue: Anything
noneOf: [AnonymousTypeExpression]
exactlyOneOf: [AnonymousTypeExpression]
anyOf: [AnonymousTypeExpression]
Expand All @@ -210,6 +210,7 @@ type ClassDefinition implements ClassExpression
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -378,6 +379,7 @@ interface Definition
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -431,6 +433,7 @@ type Element implements Extensible, Annotatable, CommonMetadata
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -477,6 +480,7 @@ type EnumDefinition implements EnumExpression
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -782,6 +786,7 @@ type ReachabilityQuery
type SchemaDefinition
{
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -856,6 +861,7 @@ type SlotDefinition implements SlotExpression
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -947,8 +953,8 @@ type SlotDefinition implements SlotExpression
recommended: Boolean
inlined: Boolean
inlinedAsList: Boolean
minimumValue: Integer
maximumValue: Integer
minimumValue: Anything
maximumValue: Anything
pattern: String
structuredPattern: PatternExpression
unit: UnitOfMeasure
Expand Down Expand Up @@ -977,8 +983,8 @@ interface SlotExpression
recommended: Boolean
inlined: Boolean
inlinedAsList: Boolean
minimumValue: Integer
maximumValue: Integer
minimumValue: Anything
maximumValue: Anything
pattern: String
structuredPattern: PatternExpression
unit: UnitOfMeasure
Expand Down Expand Up @@ -1043,6 +1049,7 @@ type SubsetDefinition
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -1089,6 +1096,7 @@ type TypeDefinition implements TypeExpression
{
name: String!
idPrefixes: [Ncname]
idPrefixesAreClosed: Boolean
definitionUri: Uriorcurie
localNames: [LocalName]
conformsTo: String
Expand Down Expand Up @@ -1141,8 +1149,8 @@ type TypeDefinition implements TypeExpression
equalsString: String
equalsStringIn: [String]
equalsNumber: Integer
minimumValue: Integer
maximumValue: Integer
minimumValue: Anything
maximumValue: Anything
noneOf: [AnonymousTypeExpression]
exactlyOneOf: [AnonymousTypeExpression]
anyOf: [AnonymousTypeExpression]
Expand All @@ -1158,8 +1166,8 @@ interface TypeExpression
equalsString: String
equalsStringIn: [String]
equalsNumber: Integer
minimumValue: Integer
maximumValue: Integer
minimumValue: Anything
maximumValue: Anything
noneOf: [AnonymousTypeExpression]
exactlyOneOf: [AnonymousTypeExpression]
anyOf: [AnonymousTypeExpression]
Expand Down
13 changes: 10 additions & 3 deletions linkml_model/jsonld/meta.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2023-09-01T13:19:55",
"generation_date": "2024-01-29T16:06:12",
"source": "meta.yaml"
},
"@context": {
Expand All @@ -11,6 +11,10 @@
},
"NCIT": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#",
"OIO": "http://www.geneontology.org/formats/oboInOwl#",
"SIO": {
"@id": "http://semanticscience.org/resource/SIO_",
"@prefix": true
},
"bibo": "http://purl.org/ontology/bibo/",
"cdisc": "http://rdf.cdisc.org/mms#",
"dcterms": "http://purl.org/dc/terms/",
Expand Down Expand Up @@ -227,6 +231,9 @@
"id": {
"@type": "@id"
},
"id_prefixes_are_closed": {
"@type": "xsd:boolean"
},
"identifier": {
"@type": "xsd:boolean"
},
Expand Down Expand Up @@ -346,7 +353,7 @@
"@type": "xsd:integer"
},
"maximum_value": {
"@type": "xsd:integer"
"@type": "@id"
},
"meaning": {
"@type": "@id"
Expand All @@ -355,7 +362,7 @@
"@type": "xsd:integer"
},
"minimum_value": {
"@type": "xsd:integer"
"@type": "@id"
},
"minus": {
"@type": "@id"
Expand Down
Loading

0 comments on commit 57224a7

Please sign in to comment.